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
HTTP/2 Upgraded wrongly uses a transparent uninhabited type #3966
A-http2Area: HTTP/2 specific.C-bugCategory: bug. Something is wrong. This is bad!E-hardEffort: hard. Likely requires a deeper understanding of how hyper's internals work.
As noted in rust-lang/rust#147588, the H2Upgraded type in hyper wrongly uses a repr(transparent) value on a stuct containing enum Neutered {}. It seems that this was making use of behavior of the current compiler that isn't specified, and would like to be changed.
That code should be refactored to no longer need such a repr(transparent) transmute.
A-http2Area: HTTP/2 specific.C-bugCategory: bug. Something is wrong. This is bad!E-hardEffort: hard. Likely requires a deeper understanding of how hyper's internals work.
Activity
fix(http2): fix internals of HTTP/2 CONNECT upgrades (hyperium#3967)