1

XDomain socket.io アプリで安全な flashsocket 接続を確立することは可能ですか? socket.io-client に次のコメントが表示されます。

* The FlashSocket transport. This is a API wrapper for the HTML5 WebSocket
* specification. It uses a .swf file to communicate with the server. If you want
* to serve the .swf file from a other server than where the Socket.IO script is
* coming from you need to use the insecure version of the .swf. More information
* about this can be found on the github page.

しかし、socket.ioでhttps、xdomain flashsocketsを使用できない理由について話しているgithubページのスポットを見つけることができません。古い IE 用に flashsockets を使用しています... 他のトランスポートよりも信頼性が高いようです。

私のアプリでは、jsは server 上の私のドメインのサブドメインから提供され、は同じドメインの別のサブドメインにある別のサーバーからのサーバーになりますX.swf

script is served from sub1.mydomain.com on server X

flash is served and connects to sub2.mydomain.com on server Y (holds socket.io server)

ご協力いただきありがとうございます!

4

1 に答える 1

1

セキュアな構成とフラッシュ トランスポートを混在させる場合は、フラッシュ ポリシーの設定に注意してください。フラッシュを使用すると、socket.io の展開がより複雑になるさまざまな方法があります。

于 2013-08-22T22:31:49.183 に答える