Skip to content

SSLConnection ignores _notify.received value - #21

Merged
SeanTAllen merged 1 commit into
mainfrom
fix-ssl-connection-received-return
Feb 12, 2026
Merged

SSLConnection ignores _notify.received value#21
SeanTAllen merged 1 commit into
mainfrom
fix-ssl-connection-received-return

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

SSLConnection.received() always returned true to TCPConnection, discarding the wrapped notify's return value. This meant a notify returning false to request yielding had no effect through SSL connections.

_poll() now tracks the inner notify's return value and propagates it back through received(). The SSL send loop still executes after an early break from the read loop to ensure protocol data is flushed.

Closes #4

SSLConnection.received() always returned true to TCPConnection,
discarding the wrapped notify's return value. This meant a notify
returning false to request yielding had no effect through SSL
connections.

_poll() now tracks the inner notify's return value and propagates
it back through received(). The SSL send loop still executes after
an early break from the read loop to ensure protocol data is flushed.

Closes #4
@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Feb 12, 2026
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Feb 12, 2026
@SeanTAllen
SeanTAllen merged commit b902c44 into main Feb 12, 2026
14 checks passed
@SeanTAllen
SeanTAllen deleted the fix-ssl-connection-received-return branch February 12, 2026 04:42
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Feb 12, 2026
github-actions Bot pushed a commit that referenced this pull request Feb 12, 2026
github-actions Bot pushed a commit that referenced this pull request Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSLConnection ignores _notify.received value

2 participants