allinurl / gwsocket

fast, standalone, language-agnostic WebSocket server RFC6455 compliant
http://gwsocket.io
MIT License
745 stars 67 forks source link

maybe a bug for http response field #23

Closed lrobot closed 1 year ago

lrobot commented 5 years ago

https://github.com/allinurl/gwsocket/blob/acfb38cc480591a172237fc922c93b0809e02b27/src/websocket.c#L1542

-headers->upgrade = xstrdup ("Upgrade"); +headers->connection = xstrdup ("Upgrade");

allinurl commented 5 years ago

Thank you reporting this. It's definitely a bug. Would you be able to submit a PR for this?

allinurl commented 1 year ago

v0.4 is out. This should be fixed. Thank you!