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

2.x: Adds ability to close idle HTTP connections after a certain time #9203

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

spericas
Copy link
Member

@spericas spericas commented Aug 26, 2024

Description

Adds ability to close idle HTTP connections after a certain time using connection-idle-timeout (in seconds). New test. See issue #9163.

Configuration

 webServer = WebServer.builder()
                      .host("localhost")
                      .port(port)
                      .connectionIdleTimeout(300)      // 5 minutes
                      ...
server:
  host: localhost
  port: 0
  connection-idle-timeout: 300

…neciton-idle-timeout.

Signed-off-by: Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com>
@spericas spericas added enhancement New feature or request webserver 2.x Issues for 2.x version branch labels Aug 26, 2024
@spericas spericas added this to the 2.x milestone Aug 26, 2024
@spericas spericas self-assigned this Aug 26, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 26, 2024
@spericas spericas changed the title 2.x: Adds ability to close idle connections after a certain time 2.x: Adds ability to close idle HTTP connections after a certain time Aug 26, 2024
@spericas spericas merged commit 1cf9e33 into helidon-io:helidon-2.x Aug 27, 2024
12 checks passed
@barchetta barchetta modified the milestones: 2.x, 2.6.10, 2.6.9 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch enhancement New feature or request OCA Verified All contributors have signed the Oracle Contributor Agreement. webserver
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants