Repository navigation
Conversation
|
hm as far as can tell the client does neither use WebSocketImpl.this.channel nor WebSocketImpl.this.key. I would like to know:
|
|
Yes, the problem is reproducible. I use only unencrypted connections and Sorry, my "fix" was complete bullshit and worked only because it throwed an |
|
Its a pity that no one noticed this bug before. @stiletto Thank you very much for reporting this bug! Those commits fix the problem. Just pull the latest version of my repo. I am going to merge those commits within the next few days to tootallnate. |
I tried to use Java-WebSocket in my Android application, but its background thread hangs with high CPU usage when I call WebSocketClient.close().
After some investigation i found that it hangs because close() sends thread interrupt, but that doesn't lead to closing of channel so IO loop continues to run forever.
I don't know if this is a proper fix, but worked for me.