Skip to content

Conversation

@jpeach
Copy link
Contributor

@jpeach jpeach commented Jun 30, 2023

Remove the SOCKOPT_ON and SOCKOPT_OFF globals. These weren't used consistently and cand easily be replaced by a helper function. Apply the new helper function everywhere that toggles socket options on.

@jpeach jpeach force-pushed the remove-sockopt-globals branch 2 times, most recently from ee6436d to c4c687e Compare June 30, 2023 03:15
@jpeach jpeach added the Cleanup label Jun 30, 2023
Remove the SOCKOPT_ON and SOCKOPT_OFF globals. These weren't used
consistently and can easily be replaced by a helper function. Apply
the new helper function everywhere that toggles socket options on.

Signed-off-by: James Peach <jpeach@apache.org>
@jpeach jpeach force-pushed the remove-sockopt-globals branch from c4c687e to 109b132 Compare June 30, 2023 03:43
Copy link
Contributor

@brbzull0 brbzull0 left a comment

Choose a reason for hiding this comment

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

Much cleaner. Thanks.

@randall randall added this to the 10.0.0 milestone Jun 30, 2023
@jpeach jpeach merged commit 23e2540 into apache:master Jul 1, 2023
@jpeach jpeach deleted the remove-sockopt-globals branch July 1, 2023 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants