Skip to content

Comments

Fixes #1837 - Handshake fails in CometD 8 on Tomcat 10.#1838

Merged
sbordet merged 3 commits into8.0.xfrom
fix/8.0.x/1837/ise-writing-tomcat
Aug 13, 2024
Merged

Fixes #1837 - Handshake fails in CometD 8 on Tomcat 10.#1838
sbordet merged 3 commits into8.0.xfrom
fix/8.0.x/1837/ise-writing-tomcat

Conversation

@sbordet
Copy link
Member

@sbordet sbordet commented Aug 6, 2024

Now all writes are delayed so that they happen from onWritePossible().

The first write is now writing null to signal to the implementation to skip the write, store the callback and wait for onWritePossible() to be invoked (due to the fact that setWriteListener() has been called).

Now all writes are delayed so that they happen from onWritePossible().

The first write is now writing `null` to signal to the implementation to skip the write, store the callback and wait for onWritePossible() to be invoked (due to the fact that setWriteListener() has been called).

Signed-off-by: Simone Bordet <[email protected]>
Copy link
Collaborator

@lorban lorban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, up to you to modify the comment or not.

@sbordet sbordet linked an issue Aug 12, 2024 that may be closed by this pull request
Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet requested a review from lorban August 12, 2024 12:09
@sbordet sbordet merged commit 0530231 into 8.0.x Aug 13, 2024
@sbordet sbordet deleted the fix/8.0.x/1837/ise-writing-tomcat branch August 13, 2024 10:35
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.

Handshake fails in CometD 8 on Tomcat 10

2 participants