Skip to content

Flush bad request and disconnect responses#201

Open
diyan wants to merge 6 commits into
abourget:masterfrom
diyan:master
Open

Flush bad request and disconnect responses#201
diyan wants to merge 6 commits into
abourget:masterfrom
diyan:master

Conversation

@diyan

@diyan diyan commented Sep 8, 2014

Copy link
Copy Markdown

Without flushing we will have empty response.

For example Nginx will return HTTP 502 Bad Gateway instead of correct response in such cases.

@diyan

diyan commented Sep 8, 2014

Copy link
Copy Markdown
Author

Also I did a bugfix for JSONPolling transport.

Please let me know if you would like me create separate pull request.

Commits with "JSONPolling" prefix fixes a following warning that appears in browsers:

Resource interpreted as Script but transferred with MIME type text/plain: "https://example.com/socket.io/1/jsonp-polling/580139618792?t=1410183159408&i=0".

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant