vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
163 stars 44 forks source link

decode connection upgrade header with regex #12

Closed andrewray closed 10 years ago

andrewray commented 10 years ago

firefox sends header with "keep-alive, Upgrade" which fails the assert_lwt test. This relaxes the parsing a bit by using a simple regex.

avsm commented 10 years ago

Confirming that this fixes the Firefox assertion failure for me as well.

vbmithr commented 10 years ago

Thanks.