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

Merge master to 2.0.x #851

Merged
merged 6 commits into from
Oct 20, 2023
Merged

Merge master to 2.0.x #851

merged 6 commits into from
Oct 20, 2023

Conversation

jansupol
Copy link
Contributor

No description provided.

dependabot bot and others added 6 commits June 14, 2023 15:26
Bumps [jetty-server](https://github.com/eclipse/jetty.project) from 9.4.41.v20210516 to 9.4.51.v20230217.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-9.4.41.v20210516...jetty-9.4.51.v20230217)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
This issue may appear when 'send[data]' methods are triggered from different threads. As a result
threads race appears between cancelIdleTimeoutExecutor and scheduling new idle task.
Example of race:
1. Thread 1 cancels task
2. Thread 2 waits until thread 1 will finish
3. Thread 1 finishes
4. Thread 2 tries to cancel already cancelled task and leaves synchronized block
5. Thread 1 schedules new idle task
6. Thread 2 schedules another idle task, the first is overwritten and never cancelled.
As a result disconnection is triggered precisely after set idle timeout passes.

Signed-off-by: Mykyta Leonov <[email protected]>
@jansupol jansupol merged commit b2b8ed3 into eclipse-ee4j:2.0.x Oct 20, 2023
3 checks passed
@jansupol jansupol deleted the 2.0.5.b branch October 20, 2023 07:03
@jansupol jansupol added this to the 2.0.5 milestone Nov 1, 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.

3 participants