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

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

Received on Saturday, 5 December 2009 23:43:50 UTC