xiaomingchen / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
1 stars 0 forks source link

bad request from bots could crash jwebsocket to infinite loop #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

(sorry for my bad english)

I use the jwebsocket library in my project and it works well.
But when i use ports like 8080 for ws or 8081 (i do that because these are 
ports whose are not blocked by proxy), the program always will crash after a 
few days of use.
The CPU get to 99% of use. It seems there is a infinite loop somewhere.

I think this is because of bots who spams the public http ports. And a bad 
request or handshake could crash jwebsocket.

But i don't manage to find how for the moment.

Any idea from where this issue could be ?

Original issue reported on code.google.com by contact....@gmail.com on 2 Jan 2015 at 4:01