Overview
| Artifact ID: | 2a5a3a82757b444097fed991edb2dfcecf4bbec65de98c6f1cfc81679fd19f35 |
|---|---|
| Ticket: | 55bf73b52bd77304481150b5e94d2c50d2c18b39
http reuses connections after 101 Switching Protocols |
| User & Date: | adrianmedranocalvo on 2022-04-29 15:36:29 |
Changes
- icomment:
I've had quick look at the code. It's pretty involved. On a high level a fix would consist of: 1. Avoid pipelining further requests once a request includes the "Connection: upgrade" and "Upgrade" headers. 2. If the server answers to that request with a "101 Switching Protocols", the socket should no longer be considered HTTP.
- login: "adrianmedranocalvo"
- mimetype: "text/plain"
- username: "[email protected]"