1
XDomain socket.io 앱과의 안전한 플래시 소켓 연결이 가능합니까? socket.io 클라이언트에 나는 다음 주석을 참조하십시오Socket.io xdomain https flashsockets
* 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 용 플래시 소켓을 사용하고 있습니다 ... 다른 전송보다 안정적으로 보입니다. 내 응용 프로그램에
는js
서버
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)
감사에 대한 당신의 도움!
안녕하세요, Hdrerms, 당신이 자세히 설명해 주시겠습니까? SSL을 사용하여 XDomain에 플래시를 적용 할 수 있습니까? 아니면 그것은 가능하지 않습니다. 그래서 socket.io가 Xdomain을 감지하면 자동으로 "Incesure"버전을 사용합니까? – scanales