forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DefaultChannelPipeline will not invoke handler if events are fired fr…
…om handlerAdded Motiviation: DefaultChannelPipeline and AbstractChannelHandlerContext maintain state which indicates if a ChannelHandler should be invoked or not. However the state is updated to allow the handler to be invoked only after the handlerAdded method completes. If the handlerAdded method generates events which may result in other methods being invoked on that handler they will be missed. Modifications: - DefaultChannelPipeline should set the state before calling handlerAdded Result: DefaultChannelPipeline will allow events to be processed during the handlerAdded process.
- Loading branch information
1 parent
27ff153
commit 2d815fa
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters