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 — SslHandler: bound TLS wrapping by outbound backpressure by copley · Pull Request #17391 · netty/netty Conversation
|
|
@yawkat I have some deja-vu... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Honestly this seems a lot more complicated then it should be... So just to clarify what we try to archive here. We basically try to only "wrap" as much as there is writable bytes left and only resume once the channel becomes writable again, correct ? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, bounded wrapping is the goal. The qualification is the resume condition: SslHandler’s queued plaintext contributes to channel unwritability, so downstream TLS output can drain while the channel remains unwritable. Waiting solely for a writable transition would then stall. That explains the separate downstream-capacity calculation, but doesn’t establish that the current queue and resume machinery is necessary. I’m revisiting that complexity and strengthening the regression coverage around this distinction before proposing a smaller implementation. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think I have a different idea... let me open a PR later today |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry got side-tracked.... still working on it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm keen to help out, I have a huge AI harness set up on my system, plus access to infrastructure. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@copley honestly I am hesitant to accept a PR which is generated by AI without someone really debugging it carefully. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Let me close this.. I think I have a better solution |
Sorry, something went wrong.
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.