Allenxuxu / gev

🚀Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.
MIT License
1.73k stars 194 forks source link

compatible with websocket lower case of upgrade in header #82

Closed rfyiamcool closed 3 years ago

rfyiamcool commented 3 years ago

gev引用的websocket协议包默认只对 Upgrade 兼容, 如果有些客户端发送 connection: upgrade 小写则协议升级失败. 看了其他websocket服务端的实现,他们有做大小写兼容。