gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.73k stars 489 forks source link

make wss + proxy work #127

Closed yamt closed 11 years ago

gimite commented 11 years ago

Thanks for the patch. Did you confirm that it works with a proxy? Do you use the library from JavaScript, Flash or Adobe Air? My guess is that proxy support doesn't work on environments other than Adobe Air unless the proxy server provides Flash socket policy file, which is not likely.

takaha commented 11 years ago

I did. I used the patch with Flash and it worked fine. And as you said, I needed to set up Flash socket policy server running on the same machine the proxy server ran.

gimite commented 11 years ago

I see. It should be rare that proxy server provides Flash socket policy file, so the proxy support itself should be rarely useful. So I will not accept your patch because I don't want to extend the proxy support further, and especially your patch requires patching third-party library (RFC2817Socket.as).