Commits
![Seven Du](https://secure.gravatar.com/avatar/6dac7c4a7d65a09b81f0d19175f774a4.jpg?s=96&d=mm)
Seven Du committed b87d42c41e6
fix read of 0 bytes problem and make buffer null terminated before using strstr on debian 7, ws_raw_read returns 0 when client side disconnect the socket, no HUP is detected and it resulted in an infinite loop.
fix read of 0 bytes problem and make buffer null terminated before using strstr on debian 7, ws_raw_read returns 0 when client side disconnect the socket, no HUP is detected and it resulted in an infinite loop.