On Mon, Oct 15, 2012 at 11:36:06AM +0200, Milan Babuskov wrote: > On Mon, Oct 15, 2012 at 11:20 AM, Willy Tarreau <[email protected]> wrote: > > Which "old spec" is it using ? There have been something like 76 different > > versions. Even many old versions were already HTTP-compatible. I think it > > was draft-75 which was totally broken. > > As wikipedia page says, hixie-76 is used in Safari 5.0.1 and hixie-75 > in Safari 5.0.0: > > http://en.wikipedia.org/wiki/WebSocket
It's amazing to see that some browsers are still not fixed right now to support standards ! > All I could get out from users is that they are using Safari, they are > not very responsive, but rather angry and only communication I have is > via forum so replies are rare and delayed. Most of them just dropped > the bomb on me and said they won't be using the site anymore if it > does not work in Safari. Some of them who responded just switched to a > different browser and simply do not care to test. I could tell them to > upgrade to Safari 6, although I'm not sure if that is easy and > wouldn't not break something else for them. And I'm not 100% sure it > would solve the problem. > > Maybe this issue is not something HAProxy should be solving. I'll try > the suggested workaround and see if complaints stop. IIRC, draft-75 was the non-working one (the one with data emitted in the payload without being advertised). I'll have to recheck. I believe that -76 was the first http-compliant one. You should try to add "option http-pretend-keep-alive", it will not touch the Connection header. Also, could you please send me a tcpdump capture of the connection from the client to haproxy and one from haproxy to the server ? Please capture full packets using tcpdump -s0! If you can do that for both working and non-working versions, that would be great ! Willy

