Mantis - Resin
Viewing Issue Advanced Details
4771 major always 09-20-11 01:38 09-20-11 17:51
RLM  
ferg  
normal  
closed 4.0.19  
fixed  
none    
none 4.0.23  
0004771: Wrong test for tokens in Connection header using websockets
When testing websockets using Resin 4.0.19 and Firefox as client I get an error:

HTTP Connection header 'keep-alive, Upgrade' must be 'Upgrade', because the WebSocket protocol requires a Connection: Upgrade header.

It seems that the websocket check is not accepting any header-tokens other than the "Upgrade" token in the Connection header. This is wrong as the spec says:

Section 5.1 page 28:

   6. The request MUST contain a "Connection" header whose value MUST
        include the "Upgrade" token.

Notes
(0005520)
ferg   
09-20-11 17:51   
server/1o7b