Skip to content

Add missing code for SERVER_ERROR handling under HAVE_SSL#1835

Merged
bmah888 merged 1 commit intoesnet:masterfrom
davidBar-On:Add-missing-code-for-HAVE_SSL-handling-of-SERVER_ERRROR
May 2, 2025
Merged

Add missing code for SERVER_ERROR handling under HAVE_SSL#1835
bmah888 merged 1 commit intoesnet:masterfrom
davidBar-On:Add-missing-code-for-HAVE_SSL-handling-of-SERVER_ERRROR

Conversation

@davidBar-On
Copy link
Copy Markdown
Contributor

  • Version of iperf3 (or development branch, such as master or
    3.1-STABLE) to which this pull request applies:
    master

  • Issues fixed (if any): none

  • Brief description of code changes (suitable for use as a commit message):

When test_is_authorized(test) fails (under HAVE_SSL) and SERVER_ERROR state is set, the code for sending errno to the client is missing.

@bmah888 bmah888 changed the title Add missing code for SERVER_ERRROR handling under HAVE_SSL Add missing code for SERVER_ERROR handling under HAVE_SSL Apr 25, 2025
Copy link
Copy Markdown
Contributor

@bmah888 bmah888 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, this is definitely an error/omission. I'm not sure why the bug didn't result in the client blowing up somehow, but maybe the client was going to error-exit in this situation anyway.

@bmah888 bmah888 merged commit 9a4a108 into esnet:master May 2, 2025
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.

2 participants