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

Optionally reset the idle timeout when sending a chunk #1503

Closed
wants to merge 1 commit into from

Conversation

rjmac
Copy link
Contributor

@rjmac rjmac commented Feb 10, 2021

  • The default behavior (sending data is considered being idle) is
    maintained.
  • There is a new protocol option for http and http2 which makes
    the idle timeout be reset when data is sent to the client.

This implements #1502.

@essen essen added this to the 2.11 milestone Nov 23, 2023
@essen
Copy link
Member

essen commented Dec 5, 2023

Please rebase onto current master so that CI runs properly. I am planning to do a release with this and other things soon.

* The default behavior (sending data is considered being idle) is
  maintained.
* There is a new protocol option for http and http2 which makes
  the idle timeout be reset when data is sent to the client.
@rjmac rjmac force-pushed the idle-timeout-sends branch from e1211c6 to 37dd628 Compare December 5, 2023 23:34
@essen
Copy link
Member

essen commented Dec 19, 2023

I will keep the tests and do a different implementation that updates the idle timeout on all cases of sending on the socket, not just when data is sent.

@essen
Copy link
Member

essen commented Dec 21, 2023

Merged, thanks! Note that the option was renamed to reset_idle_timeout_on_send.

@essen essen closed this Dec 21, 2023
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.

2 participants