Commit Graph

1747 Commits

Author SHA1 Message Date
Trustin Lee
d6facc0b9e Removed the Javadoc links to the deprecated methods 2009-12-17 08:46:18 +00:00
Trustin Lee
578def7a9b Fixed issue: NETTY-260 ZlibEncoder.close() and SslHandler.handshake/close() methods do not require a parameter
* SslHandler implements LifeCycleAwareChannelHandler to retrieve its context
* SslHandler.handshake() and close() do not need an argument anymore
* Deprecated the old methods
2009-12-17 08:44:38 +00:00
Trustin Lee
3275f74ef9 Fixed issue: NETTY-260 ZlibEncoder.close() and SslHandler.handshake/close() methods do not require a parameter
* ZlibEncoder implements LifeCycleAwareChannelHandler to retrieve its context
* ZlibEncoder.close() does not need an argument anymore
2009-12-17 08:37:11 +00:00
Trustin Lee
2958023950 Documented the possibility of thread safety issues in BufferedWriteHandler due to wrong queue implementation 2009-12-16 08:35:30 +00:00
Trustin Lee
c35231ae95 Resolved issue: NETTY-209 (Batch Write Handler)
* Added BufferedWriteHandler
2009-12-16 08:29:33 +00:00
Trustin Lee
feac8bb5fa Related issue: NETTY-259 (Add constants and enums for HTTP PATCH method)
* Added HttpMethod.PATCH
* Added HttpHeaders.Names.ACCEPT_PATCH
* Added all known HTTP response code to HttpResponseStatus
2009-12-16 07:23:35 +00:00
Trustin Lee
d87408936f BlockingReadHandler does not need to implement LifeCycleAwareChannelHandler 2009-12-16 06:39:53 +00:00
Trustin Lee
bab9af2b52 * Fixed a problem where BlockingReadHandler does not handle exceptions properly
* Added BlockingReadHandler.readEvent()
2009-12-16 06:24:45 +00:00
Trustin Lee
38c60ef807 More straightforward description 2009-12-16 05:05:56 +00:00
Trustin Lee
47498eb159 Resolved issue: NETTY-258 (Make DynamicChannelBuffer.ensureWritableBytes() public)
* Added ChannelBuffer.ensureWritableBytes(int)
2009-12-16 05:02:23 +00:00
Trustin Lee
45d36f96b9 Shorted package description 2009-12-07 06:26:56 +00:00
Trustin Lee
7894784ea9 BlockingReadTimeoutException should extend InterruptedIOException just like SocketTimeoutException does 2009-12-07 06:23:22 +00:00
Trustin Lee
2685d03d8f Resolved issue: NETTY-208 (Blocking read handler)
* Added BlockingReadHandler and its exception
2009-12-07 06:22:06 +00:00
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