You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactoring: the event loop should not know about front VS back sockets #257
Right now, the event loop assumes a protocol implementation has a single front socket and a single back socket (except when sending back a default answer). In the case of HTTP/2 (#99), we could have a single front socket and multiple back sockets.
The event loop should not have to store info about which token is a back token, and correspondance between back tokens and front tokens (which are used to index clients). The event loop should only know "this token belongs to this session" and pass it down with the events to the protocol implementation, that will act accordingly. This will make the ProxyClient structure much simpler, and the event loop smaller as well.
With this idea, the HTTP/2 support would be like other implementations, seen from the event loop.
Activity
Geal commentedon Mar 16, 2018
This was fixed in 5d50b5e, PR #340