dev@grizzly.java.net

Re: Problem with WebSockets using Grizzly in latest Glassfish 3.1 and Chromium

From: Ido Ran <ido.ran_at_gmail.com>
Date: Mon, 28 Jun 2010 12:11:02 +0300

Hi,
I'm back on getting WebSocket application up and running.

First, the response from the server handshake has change
HTTP/1.1 101 Web Socket Protocol Handshake into
HTTP/1.1 101 Switching Protocols

It's not that different but just to make sure it is right because in the
trunk of grizzly it still saying the first one in prepare(Response) method.

There is still problem with detection of closed sockets, they keep pile up
in the server and no data can be broadcast because the application get stuck
on the first send() method call. I have try/catch around it and there is no
exception get thrown, just hanging as far as I can tell.

I'll keep on trying but I'll be happy to get some help about how to use it.

Thank you,
Ido