GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — Port 4.2: LocalChannel: Deliver data written by the peer before it closed (#17814) by normanmaurer · Pull Request #17816 · netty/netty Conversation
Member
Motivation: OpenSslPrivateKeyMethodTest.testPrivateKeyMethod failed once on CI When the peer writes while this channel has writeInProgress set, Modification: Call finishPeerRead0(this) in tryClose() before closing an active Result: Data written by a LocalChannel peer before it closes is no longer lost.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…osed (#17814) Motivation: OpenSslPrivateKeyMethodTest.testPrivateKeyMethod failed once on CI because the client channel became inactive without ever receiving the PONG the server wrote right before it closed. When the peer writes while this channel has writeInProgress set, runFinishTask0() submits the finishReadTask and stores its future in finishReadFuture. When that task runs, finishPeerRead0() sees its own future as not done and re-queues the task, which places it behind the tryClose task the peer already scheduled. tryClose() then closes the channel and releaseInboundBuffers() drops the data the peer wrote before closing. This differs from TCP, where data received before the FIN is still readable. Modification: Call finishPeerRead0(this) in tryClose() before closing an active channel, so already queued inbound data is delivered first. Add a regression test that keeps the client inside doWrite(...) while the peer writes and closes. Result: Data written by a LocalChannel peer before it closes is no longer lost.
|
There was an error while loading. Please reload this page.
🚨 TestLens detected 1 failed test 🚨Test SummaryTip Inspect all details with the TestLens CLI: Build PR / macos-x86_64-java11-boringssl build > Netty/Transport/Native/KQueue
🏷️ Commit: 9291d80 Test FailuresKQueueETSocketHalfClosedTest > testAllDataReadClosure(TestInfo) (Netty/Transport/Native/KQueue in Build PR / macos-x86_64-java11-boringssl build)Rerun ControlsNote Checks are currently running using the configuration below. Select tests to mute in this pull request: 🔲 KQueueETSocketHalfClosedTest > testAllDataReadClosure(TestInfo) Reuse successful test results: 🔲 ♻️ Only rerun the tests that failed or were muted before Click the checkbox to trigger a rerun: 🔲 Rerun jobs Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.