Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2a5a3a82757b444097fed991edb2dfcecf4bbec65de98c6f1cfc81679fd19f35
Ticket: 55bf73b52bd77304481150b5e94d2c50d2c18b39
http reuses connections after 101 Switching Protocols
User & Date: adrianmedranocalvo on 2022-04-29 15:36:29
Changes

  1. 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.
    
  2. login: "adrianmedranocalvo"
  3. mimetype: "text/plain"
  4. username: "[email protected]"