Server Response, Sec-WebSocket-Accept

Sep 19, 2011 at 4:23 AM

Hello, Chrome has already implemented draft-ietf-hybi-thewebsocketprotocol-10 on their beta track. This requires a header named "Sec-WebSocket-Accept" in the handshake response or it closes the socket.

Were you planning on implementing this anytime soon?

Thanks, and great work on this project so far; it works very well.

 

Coordinator
Sep 19, 2011 at 4:36 AM

Yes, I am working on it.

Probably, a new drop will be released to support it in this week.

Sep 19, 2011 at 2:06 PM

I was wondering what was going on. Thank you for posting this, good info.

Coordinator
Sep 21, 2011 at 8:39 AM

The latest code revision: 70006 already support hybi-10, could you help to test it?

After a brief test, I'll roll out a drop.

Sep 21, 2011 at 2:08 PM
kerryjiang wrote:

The latest code revision: 70006 already support hybi-10, could you help to test it?

After a brief test, I'll roll out a drop.

Ok! I 'll try it

P/S/ You do a great project. Thanks again for it

Coordinator
Sep 21, 2011 at 2:26 PM

Please get the current latest source to try.

I fixed some bugs just now!

Sep 22, 2011 at 1:20 PM

Tests done, error has not been found


Sep 25, 2011 at 11:59 PM

First of all, thank you very much for your great work.

I downloaded 70006 and used it against my java script web socket code running in Chrome 14. I had two problems:

1. The DraftHybi10Processor was not hooked up. I had to add a line of code to in WebSocketServer.Setup() method to avoid the "Sec-WebSocket-Accept" error

            m_WebSocketProtocolProcessor.NextProcessor = new DraftHybi10Processor();

2. After I made the change, the handshake was successful, but the subsequent message in the WebSocketCommandInfo.data is garbage. 

I am stuck. I need to demo the code soon and would really appreciative if you can take a look. Thank you.

By the way, I am using the code under the work4hybi-00, the code under mainline does not compile.

 

Sep 26, 2011 at 12:18 AM

I looked at the mainline code again. There were two compiling error. Once I comment out those two line of code, my code worked. Great.

Do plan put a drop soon?

Coordinator
Sep 26, 2011 at 1:13 AM

What's your building error?

I think the code in mainline should can work!

Coordinator
Sep 26, 2011 at 1:15 AM

Please download the code form revision: 70091

Sep 27, 2011 at 3:21 PM

I downloaded drop 8, it works great. Thank you very much.