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.
[netty#2769] Fix regression when writing different message types
Motivation: Due a regression NioSocketChannel.doWrite(...) will throw a ClassCastException if you do something like: channel.write(bytebuf); channel.write(fileregion); channel.flush(); Modifications: Correctly handle writing of different message types by using the correct message count while loop over them. Result: No more ClassCastException
- Loading branch information
Norman Maurer
committed
Aug 15, 2014
1 parent
a241648
commit 050e7ed
Showing
2 changed files
with
17 additions
and
10 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