Ignore 'origins' settings on disconnect #988

gendalf opened this Issue Aug 11, 2012 · 2 comments


None yet
3 participants

gendalf commented Aug 11, 2012

I have socket.io server on different port, in settings use "origins: myhost:*", all init and work fine;

But on page close|reload I see that:
XMLHttpRequest cannon load http://myhost:443/socket.io/1//m8XLK9TRgHzuwkkdW6Y6?disconnect=1. Origin http://myhost is now allowed by Access-Control-Allow-Origin.

So Access-Control-Allow-Origin is generated when init (http://myhost:443/socket.io/1/?t=1344665803567) answer have header (Access-Control-Allow-Origin: myhost:*), but not have this header on disconnect


rauchg commented Aug 11, 2012

Good point.

@ghost ghost assigned rauchg Aug 11, 2012

farnoux commented Apr 25, 2013

Seems to be a duplicate of #1214.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment