[whatwg] [hybi] Web sockets and existing HTTP stacks

Alexey Proskuryakov ap at webkit.org
Sat Dec 5 23:43:50 PST 2009


03.12.2009, в 15:57, Ian Hickson написал(а):

> Yeah, it's likely that the code reuse theoretically made possible by 
> reusing the HTTP proxy and cookie infrastructure is more theoretical than 
> practical in many cases. I had hoped that it would be easier.
> 
> I guess it might still be possible if the relevant code can be abstracted 
> out somehow, but that might result in code that feels a little twisted.


FWIW, we got a quite reasonable amount of code reuse with HTTP cookie and proxy support. This is mostly because our networking layer already had support for establishing streaming connections over proxies, but the point stands, as the actual implementation is shared.

- WBR, Alexey Proskuryakov



More information about the whatwg mailing list