Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CloseNotify issue #41

Merged
merged 1 commit into from
Mar 9, 2016
Merged

Fix CloseNotify issue #41

merged 1 commit into from
Mar 9, 2016

Conversation

tegioz
Copy link
Contributor

@tegioz tegioz commented Mar 9, 2016

When built using Go 1.6, sockjs server panics when a client using xhr-polling connects.

panic: net/http: CloseNotify called after ServeHTTP finished

It looks like the implementation of CloseNotifier has changed a bit in Go 1.6, and now a call to CloseNotify shouldn't be done after ServeHTTP finishes.

igm added a commit that referenced this pull request Mar 9, 2016
@igm igm merged commit 4d70ce9 into igm:master Mar 9, 2016
@igm
Copy link
Owner

igm commented Mar 9, 2016

thanks @tegioz

@FZambia
Copy link
Collaborator

FZambia commented Mar 9, 2016

@igm are you planning to backport this fix into v2 branch?

@igm
Copy link
Owner

igm commented Mar 9, 2016

yes, merged into v2, too.

@FZambia
Copy link
Collaborator

FZambia commented Mar 9, 2016

@igm @tegioz thanks!

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.

None yet

3 participants