Skip to content

Update debug output on active POP sessions - #35

Open
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/live-debug-output
Open

OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/live-debug-output

Conversation

@OskarEichler

Copy link
Copy Markdown

set_debug_output only changes the value used when a future socket is constructed. Net::BufferedIO snapshots debug_output, so enabling, redirecting or disabling diagnostics during an active session has no effect. Forward setter changes to the active buffered socket as well. A real localhost model verifies post-connect activation, redirection and disabling on Ruby 4.0.6 and 3.2.11; current suites pass 10 tests / 17 assertions. No repository tests were changed.

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.

1 participant