by AlphaWeaver · 7y ago · 0 comments
The real question is why don't more rpc style protocols just use http?
https://justi.cz/security/2019/01/22/apt-rce.html
> Unfortunately, the HTTP fetcher process URL-decodes the HTTP Location header and blindly appends it to the 103 Redirect response:
Apple’s use of the HTTP/2 protocol is also irregular for two other reasons. First, the HTTP/2 specification mandates that stream IDs must be created in a monotonically increasing order. However, Apple’s application endpoints appear to hardcode a handful of particular stream IDs for certain communications, which when opened do not conform to this monotonic ordering requirement. Second, client-server communication patterns often use multiple streams in unusual ways. For instance, heartbeat messages send requests over stream 1 and responses on stream 3."
why is that silly? It's be easy to migrate the services away from shared memory architecture when required, and http is well known and easy to use and debug.