Skip to content

Auto-port 4.1: Epoll: Cleanup code to always return negative value on failure#16601

Merged
chrisvest merged 2 commits into
4.1from
auto-port-pr-16591-to-4.1
Apr 8, 2026
Merged

Auto-port 4.1: Epoll: Cleanup code to always return negative value on failure#16601
chrisvest merged 2 commits into
4.1from
auto-port-pr-16591-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16591 to 4.1
Cherry-picked commit: ec36e8c


Motivation:

We usually use a negative value in case of an error but did not in one case. While this does not really matters in practise as weput an exception on the call stack we should be consistent.

Modifications:

Return negative value on fcntl failure

Result:

More consistent code base

Motivation:

We usually use a negative value in case of an error but did not in one
case. While this does not really matters in practise as weput an
exception on the call stack we should be consistent.

Modifications:

Return negative value on fcntl failure

Result:

More consistent code base

(cherry picked from commit ec36e8c)
@chrisvest chrisvest merged commit 9afacfe into 4.1 Apr 8, 2026
18 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16591-to-4.1 branch April 8, 2026 04:05
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.

3 participants