gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.74k stars 490 forks source link

fix the empty cookie bug #169

Closed lightsocks closed 8 years ago

lightsocks commented 8 years ago

If the cookie is empty, i think it's not necessary to use the cookie header. This can cause a bug when the websocket Server are using the QT API,the connenction can not be established. I didn't check the rfc about the cookie , maybe some websocket server are compatible of empty cookie.

gimite commented 8 years ago

Thanks for the pull request and sorry for late. Pulled.