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

HTTP Longpolling times out after 1 hour #1232

Open
relu91 opened this issue Feb 9, 2024 · 1 comment
Open

HTTP Longpolling times out after 1 hour #1232

relu91 opened this issue Feb 9, 2024 · 1 comment
Labels
binding-http Issues related to http protocol binding enhancement New feature or request

Comments

@relu91
Copy link
Member

relu91 commented Feb 9, 2024

Current implementation of HTTP long polling mechanism times out after 1 hour if no data is set after 1 hour. During the weekly call, we draft a few options:

  • Automatic reconnect if it gets a timeout. @relu91 it might be hard to understand when it is a timeout due to inactivity or for other network failers
  • Make the timeout configurable: it is hard to properly set the timeout when the use case is not clear
  • Leave it as it is and let Applications handle it.
@relu91 relu91 added binding-http Issues related to http protocol binding enhancement New feature or request labels Feb 9, 2024
@hidetak
Copy link
Contributor

hidetak commented Feb 10, 2024

Automatic reconnect if it gets a timeout. @relu91 it might be hard to understand when it is a timeout due to inactivity or for other network failers

In the case of an expected timeout, I believe that the server can prompt the client side to reconnect by returning a specific status code or message.
My apologies if my thoughts are not sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding-http Issues related to http protocol binding enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants