haga-rak / fluxzy.core

Fast and fully streamed Man-On-The-Middle engine and a CLI app to intercept, record and alter HTTP/1.1, H2, websocket traffic over plain or secure channels.
https://docs.fluxzy.io
Other
115 stars 7 forks source link

Fix outstanding bug when initiating ws channel with an existing H11/H2 connection #266

Closed haga-rak closed 3 months ago

haga-rak commented 3 months ago

Previously, PoolBuilder tries to pick up an existing connection when receiving a websocket upgrade from the client. This leads to a protocol violation mostly when the existing connection is an H2. This update fix this issue. raised by #265