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
Renegotiation is an abomination and, if you enable it, you, strictly speaking, cannot correctly implement HTTP/2. Because HTTP/2 is a multiplexing protocol, the renego + client auth hack cannot be enabled if ALPN is negotiated. It also introduces a mess of I/O patterns and will likely break existing engine consumers, since engine is much more sensitive to I/O patterns.
What might make more sense is to make it off by default but sneak in a package-private way for the engine-backed socket implementation to turn it back on. This way it doesn't get leaked out of the public API.
Activity
nmittler commentedon Aug 18, 2017
FYI @davidben
davidben commentedon Aug 18, 2017
Renegotiation is an abomination and, if you enable it, you, strictly speaking, cannot correctly implement HTTP/2. Because HTTP/2 is a multiplexing protocol, the renego + client auth hack cannot be enabled if ALPN is negotiated. It also introduces a mess of I/O patterns and will likely break existing engine consumers, since engine is much more sensitive to I/O patterns.
What might make more sense is to make it off by default but sneak in a package-private way for the engine-backed socket implementation to turn it back on. This way it doesn't get leaked out of the public API.
nmittler commentedon Aug 18, 2017
sgtm
Support renegotiation with sockets
Support renegotiation with sockets (#321)
Support renegotiation with sockets (#321)