Commit Graph

31 Commits

Author SHA1 Message Date
norman
1a6f8369ea Revert changes of pull request #45 2011-11-11 08:51:00 +01:00
Norman Maurer
193acdb36c Merge pull request #25 from aaronriekenberg/master
Add failImmediatelyOnTooLongFrame option to DelimiterBasedFrameDecoder and LengthFieldBasedFrameDecoder
2011-11-09 23:30:39 -08:00
Sunng
9aa81cd083 fix typo 2011-11-07 13:35:37 +08:00
Sun Ning
942b746d73 add an option in LengthFieldBasedFrameDecoder for whether to count the length field into frame length. 2011-11-05 22:09:27 +08:00
Aaron Riekenberg
c2417c253c Cleanup failIfNecessary, fix comment. 2011-08-20 20:11:28 -05:00
Aaron Riekenberg
f474fc609a Add failImmediatelyOnTooLongFrameOption. 2011-08-20 19:58:23 -05:00
Trustin Lee
f4ebcf7aed NETTY-435 LengthFieldBasedFrameDecoder fails to recover from TooLongFrameException
* Fixed a bug where TooLongFrameException is not raised immediately when the large frame was fully decoded at the first attempt
* Fixed a bug where LengthFieldBasedFrameDecoder does not reset its state completely after raising TooLongFrameException
2011-08-19 11:06:29 +09:00
Trustin Lee
ab0facdee5 * Discard too long frame in a more robust manner (i.e. should continue decoding after raising TooLongFrameException) 2010-06-24 01:53:51 +00:00
Trustin Lee
93f9c4a2d6 * Added LengthFieldBasedFrameDecoder.extractFrame()
* ObjectDecoder overrides extractFrame() to avoid memory copy
2010-05-13 14:13:07 +00:00
Trustin Lee
3362114248 * Replaced e-mail addresses into homepage/blog URL anywhere possible
* Added Amit to COPYRIGHT.txt
2010-01-26 09:04:19 +00:00
Trustin Lee
2c3ab480a2 Related issue: NETTY-253 (Add several useful getters and setters to ChannelBuffer class)
* Added getters and setters for char, float, and double
2009-11-25 06:51:43 +00:00
Trustin Lee
8eeb72cbbf Reverted the previous optimization because it might perform very bad as the number of components in the composite buffer increases 2009-11-17 15:46:34 +00:00
Trustin Lee
902ab48820 * Rewrote FrameDecoder by utilizing the latest improvement in CompositeChannelBuffer
** A user doesn't need to make a copy of the cumulative buffer anymore.
*** Modified all FrameDecoder subtypes to use slice() instead of readBytes()
* Reduced the maximum length of the random writes in AbstractSocketFixedLengthEchoTest to increase the probability of composite buffer occurances
2009-11-17 15:11:31 +00:00
Trustin Lee
eca6033456 Updated author information. I want to get messages about Netty in my gmail account. 2009-10-14 05:46:40 +00:00
Trustin Lee
0180db1c2c Improved javadoc 2009-09-25 01:55:19 +00:00
Trustin Lee
e069c7c958 Wrong number 2009-09-25 01:50:49 +00:00
Trustin Lee
50012fd8e6 Improved Javadoc of LengthFieldBasedFrameDecoder 2009-09-25 01:39:43 +00:00
Trustin Lee
b11ef6ca9b Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
Trustin Lee
90329ef978 Updated APIviz tags (work in progress) 2009-07-17 12:49:32 +00:00
Trustin Lee
2b0ec506ec Javadoc 2009-06-18 12:32:22 +00:00
Trustin Lee
10009a05fb Javadoc 2009-06-18 12:30:38 +00:00
Trustin Lee
a26ebc2bc1 Javadoc 2009-06-18 12:21:46 +00:00
Trustin Lee
f38fb2b742 Typo 2009-06-18 12:19:59 +00:00
Trustin Lee
d4a8631e62 Javadoc 2009-06-18 12:18:43 +00:00
Trustin Lee
4d0facee9f Javadoc 2009-06-18 12:16:25 +00:00
Trustin Lee
8bba7ccb5b Merged LengthPrefixedFrameDecoder into LengthFieldBasedFrameDecoder by introducing initialBytesToStrip option 2009-01-06 05:59:42 +00:00
Trustin Lee
73a6716c4b Added LengthPrefixedFrameDecoder 2009-01-06 05:47:41 +00:00
Trustin Lee
5d6ef046cd Removed unnecessary 'else' 2009-01-06 05:32:44 +00:00
Trustin Lee
247251420a More robust exception handling for incorrect length and too large frames 2009-01-06 05:31:59 +00:00
Trustin Lee
7fa20dcb07 Made sure corrupted frame data is skipped 2009-01-06 05:20:16 +00:00
Trustin Lee
afcd2b8315 Resolved issue: NETTY-95 Length-prefixed frame decoder
* Added LengthFieldBasedFrameDecoder
* Added CorruptedFrameException
2008-12-17 11:39:45 +00:00