[Webkit-unassigned] [Bug 45215] WebSocket Handshake problem

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 00:06:21 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45215





--- Comment #1 from Fumitoshi Ukai <ukai at chromium.org>  2010-09-07 00:06:21 PST ---
As I said in http://crbug.com/54321,
it seems sec-websocket-key2 has wrong number of space, because 3089511222/4 = 772377805.5. I'm afraid it should have 6 spaces, and your capture normalize LWSP as one space in http header.


(In reply to comment #0)
> I'm developing an HTTP server, with funds from websocket.
> I'm having some problems with websocket Handshake and think it's a problem with websocket, as it happens with Chrome 7.0.513.0 Canary build and Safari 5.0.1 (7533.17.8), and everything works correctly in Firefox4.0b4
> 
> What happens is that the 10 connection attempt, only two or three can be successful.
> see this connection in case of failure:
> 
> -------------------- Canary build Chrome 7.0.513.0 or Safari 5.0.1 -> server
> 
> GET / HTTP/1.1
> Upgrade: WebSocket
> Connection: Upgrade
> Host: 192.168.3.3:19009
> Origin: http://server01.alameda.cco:19009
> Sec-WebSocket-Key1: 8 1 530 in 2365, R
> Sec-WebSocket-Key2: 308 9 5 112 Z22
> 
> #194 #223 #162 #101 #23 #25 #86 #216 <- translated to ascii decimals codes
> 
> 
> -------------------- Server -> canary build Chrome 7.0.513.0 or Safari 5.0.1 
> 
> HTTP/1.1 101 WebSocket Handshake Protocol
> Connection: Upgrade
> Upgrade: WebSocket
> Sec-Websocket-Origin: http://server01.alameda.cco:19009
> Sec-Websocket-Location: ws://192.168.3.3:19009/
> 
> #230 #171 #238 #85 #73 #252 #52 #120 #110 #142 #248 #64 #235 #48 #115 #180 <- translated to ascii decimals codes

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list