faye / websocket-driver-ruby

WebSocket protocol handler with pluggable I/O
Other
223 stars 43 forks source link

Make header values cases-insensitive #1

Closed jcoglan closed 11 years ago

jcoglan commented 11 years ago

Amongst other things, nginx passes values for Connection and Upgrade that are cased incorrectly with respect to the spec. Make code that checks these values both fail gracefully if they are absent, and treat them insensitively if they are present.

jcoglan commented 11 years ago

Fixed in https://github.com/faye/faye-websocket-parser-ruby/commit/653cf4f5c7a905b9277cd3313380c4ac83f1d81b.