Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OioSctpChannel iterating over selected keys #4142

Closed
wants to merge 1 commit into from

Conversation

Scottmitch
Copy link
Member

Motivation:
OioSctpChannel.doReadMessages is iterating over the selected keys, and ignoring each selected key. It is not known why this is needed and no other channel implementation does this.

Modifications:

  • Stop iterating over selected keys, and just read like other channels

Result:
No unnecessary iteration in OioSctpChannel.doReadMessages.
Fixes #3884

Motivation:
OioSctpChannel.doReadMessages is iterating over the selected keys, and ignoring each selected key. It is not known why this is needed and no other channel implementation does this.

Modifications:
- Stop iterating over selected keys, and just read like other channels

Result:
No unnecessary iteration in OioSctpChannel.doReadMessages.
Fixes netty#3884
@Scottmitch Scottmitch self-assigned this Aug 26, 2015
@Scottmitch Scottmitch added this to the 4.0.31.Final milestone Aug 26, 2015
@Scottmitch
Copy link
Member Author

@trustin @normanmaurer - FYI

@trustin
Copy link
Member

trustin commented Aug 27, 2015

LGTM. Thanks for taking care of this.

@normanmaurer
Copy link
Member

@Scottmitch go for it

@Scottmitch
Copy link
Member Author

Cherry-picked 4.0 (1525edf) 4.1 (56cc0bb) master (fae5d88)

@Scottmitch Scottmitch closed this Aug 27, 2015
@Scottmitch Scottmitch deleted the oio_sctp_read branch August 27, 2015 17:23
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.

None yet

4 participants