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

long polling returns a success with an empty body after 5 min without updates #2053

Closed
julien-truffaut opened this issue Jan 7, 2015 · 3 comments

Comments

@julien-truffaut
Copy link

I haven't been able to find a documentation on this behavior and I don't know if it is configurable.

Side points:
server returns a 200 with empty body and no content length header, a 204 and / or content length will be very helpful to identify this situation without parsing the body of the response.

@xiang90
Copy link
Contributor

xiang90 commented Jan 7, 2015

We have fixed this issue. Please try with current master. Thanks.

@xiang90 xiang90 closed this as completed Jan 7, 2015
@julien-truffaut
Copy link
Author

@xiang90 would you have a link to the fix? Could you also tell me if it has been released?
Thank you

@xiang90
Copy link
Contributor

xiang90 commented Jan 7, 2015

@julien-truffaut #2049
we cannot set the timeout due to a golang upstream issue: golang/go#9524.

We now use tcp keep alive to detect client disconnection. We will include this change in the next release, probably late this month.

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

No branches or pull requests

2 participants