Trustin Lee
f7a0a4db11
Related issue: NETTY-256 (A race condition during the recommended server shutdown procedure)
...
* Fixed a failing test (NioServerSocketShutdownTimeTest) by waking up the selector explicitly
2009-11-30 21:19:50 +00:00
Trustin Lee
42d2f79239
Resolved issue: NETTY-256 (A race condition during the recommended server shutdown procedure)
...
* Fixed a bug in the socket transport implementations where a new connection can be accepted after the ChannelFuture of ServerSocketChannel.close() is complete.
* Introduced a lock to ensure that the boss thread is terminated before notifying the future
2009-11-30 11:59:00 +00:00
Trustin Lee
1688569758
Related issue: NETTY-253 (Add several useful getters and setters to ChannelBuffer class)
...
* Added ChannelBuffer.hasArray/array/arrayOffset()
2009-11-25 07:08:52 +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
2b425a78c7
Set svn properties
2009-11-23 05:38:50 +00:00
Trustin Lee
f534c2ac53
Set svn properties
2009-11-23 05:37:56 +00:00
Trustin Lee
885ef30dfc
Set svn properties
2009-11-23 05:37:35 +00:00
Trustin Lee
a6184725ba
Removed a tab
2009-11-23 05:37:07 +00:00
Trustin Lee
015724a527
Set svn properties
2009-11-23 05:35:43 +00:00
Trustin Lee
f17d05311f
Removed a tab
2009-11-23 05:34:22 +00:00
Trustin Lee
44ab3dd94a
HttpMessageDecoder.message doesn't need to be 'protected'
2009-11-21 15:51:21 +00:00
Trustin Lee
cf5ef8cf5e
Resolved issue: NETTY-247 Make HttpMessage, HttpChunk and their default implementation completely mutable
2009-11-20 04:12:16 +00:00
Trustin Lee
4649d57097
More strict testing
2009-11-19 10:09:40 +00:00
Trustin Lee
abe2a88d60
Resolved issue: NETTY-255 (Make CookieDecoder more robust)
...
* Modified CookieDecoder not to recognize commas and semicolons as attribute separators if it's impossible to decode the next entry.
* Added a test case for decoding Google Analytics cookie which raised this issue initially
2009-11-19 09:46:30 +00:00
Trustin Lee
9e44dbada5
Resolved issue: NETTY-254 Do not do lazy-initialization in dynamic buffer
...
* No lazy initialization anymore for DynamicChannelBuffer - it just causes confusion to users!
2009-11-19 08:38:46 +00:00
Trustin Lee
6795fc0627
updated version string in docbook
2009-11-18 12:28:39 +00:00
Trustin Lee
2dde687e85
''
2009-11-18 10:18:15 +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
96bbbbb7f1
More Javadoc
2009-11-17 07:43:43 +00:00
Trustin Lee
8c39e2823e
* HttpMessage.isChunked() checks the 'Transfer-Encoding' header
2009-11-17 07:39:02 +00:00
Trustin Lee
2dab484372
Fixed a bug where trailing headers are not written
2009-11-17 07:31:35 +00:00
Trustin Lee
cfd3421234
Fixed a bug where trailing headers are not written
2009-11-17 07:22:06 +00:00
Trustin Lee
40597002e9
resolved issue: NETTY-250 HttpMessageDecoder violates HTTP/1.0 by converting a message into chunked encoding
...
* HttpMessageDecoder does not add the 'Transfer-Encoding' header anymore
* Added HttpMessage.setChunked()
* The semantic of the HttpMessage.chunked has been changed
2009-11-17 07:19:28 +00:00
Trustin Lee
ce48ab0058
* Changed the semantic of HttpMessage.isChunked()
...
* updated the Javadoc of HttpMessageDecoder
2009-11-17 06:02:42 +00:00
Trustin Lee
4ce65f3621
Resolved issue: NETTY-251 Add support for HTTP trailing headers
...
* Modified HttpMessageDecoder to generate HttpChunkTrailer with trailing headers
* Trailing headers are not merged into HttpMessage anymore for correctness
2009-11-17 05:39:01 +00:00
Trustin Lee
e81d0e5414
Related issue: NETTY-251 Add support for HTTP trailing headers
...
* Added DefaultHttpChunkTrailer
* Moved header validation logic to HttpCodecUtil
2009-11-17 05:27:20 +00:00
Trustin Lee
e0ea707e92
Related issue: NETTY-251 Add support for HTTP trailing headers
...
* Added HttpChunkTrailer interface - need to write the default implementation
* HttpChunk.LAST_CHUNK implements HttpChunkTrailer
2009-11-17 05:12:55 +00:00
Trustin Lee
960bbe3879
Typo
2009-11-17 04:59:33 +00:00
Trustin Lee
e12d04da74
Optimized HttpChunk.LAST_CHUNK
2009-11-17 04:58:49 +00:00
Trustin Lee
ebb10d3267
Related issue: NETTY-251 Add support for HTTP trailing headers
...
* Added the preliminary support - the trailing headers are simply merged to the HttpMessage. The last chunk type should be added, too.
2009-11-17 04:55:56 +00:00
Trustin Lee
2e47058fc7
typo
2009-11-17 04:16:24 +00:00
Trustin Lee
6075c50cf7
Resolved issue: NETTY-252 Remove the deprecated types and methods
2009-11-17 03:30:46 +00:00
Trustin Lee
74bbc819b9
Updated the dependencies and build plugins to the latest version except for XNIO, which needs additional work
2009-11-16 14:55:52 +00:00
Trustin Lee
eaa5da5aeb
[maven-release-plugin] prepare for next development iteration
2009-11-16 11:51:07 +00:00
Trustin Lee
32a0bed729
[maven-release-plugin] prepare release netty-3.2.0.ALPHA1
2009-11-16 11:50:17 +00:00
Trustin Lee
9c5a14b0c2
Should close the channel explicitly on connection attempt failure
2009-11-16 05:21:51 +00:00
Trustin Lee
f8aea1547e
* Removed the calls to SelectionKey.cancel() which takes places before calling Channel.close(), according to SelectableChannel Javadoc
...
* Fixed a bug where connect future is not notified if the channel is closed during the connection attempt
2009-11-16 05:14:36 +00:00
Trustin Lee
1f2d65ce54
Added missing annotation
2009-11-11 04:22:28 +00:00
Trustin Lee
464ea90492
Fixed some non-sense code as advised by FindBugs
2009-11-03 07:44:06 +00:00
Trustin Lee
ed3500373f
Improved Javadoc
2009-11-03 07:11:52 +00:00
Trustin Lee
b3e938924c
tlee@redhat.com -> trustin@gmail.com
2009-11-03 06:49:47 +00:00
Trustin Lee
e0132d5885
Updated the HTTP snoop example to fully utilize the compression handlers
2009-11-03 06:48:39 +00:00
Trustin Lee
b31f1429b6
* Better method naming
...
* Added HttpContentEncoder and HttpContentCompressor (needs javadoc update)
2009-11-03 06:47:30 +00:00
Trustin Lee
6e51084216
Changed constructor parameter order
2009-11-03 06:46:30 +00:00
Trustin Lee
26cdadda9e
Simplified HttpContentDecoder using the new methods in CodecEmbedder
2009-11-03 02:59:18 +00:00
Trustin Lee
5eb56831e8
Optimized CompositeChannelBuffer creation
2009-11-03 02:34:54 +00:00
Trustin Lee
ec80daae01
Better pollAll implementation
2009-11-02 12:03:14 +00:00
Trustin Lee
6cb1a504fb
Resolved issue: NETTY-245 More convenience methods in CodecEmbedder
...
* Added CodecEmbedder.size()
* Added CodecEmbedder.pollAll()
2009-11-02 12:01:19 +00:00
Trustin Lee
bc6b84e58b
Added HttpContentDecoder.getTargetEncoding
2009-11-02 09:58:30 +00:00