Commit Graph

1236 Commits

Author SHA1 Message Date
Trustin Lee
832ed0c198 Fixed NETTY-130 (Chunked encoding emulation for a large non-chunked HTTP request)
* Replaced mergeChunks option with maxChunkSize
* if maxChunkSize is greater than 0 and any content or chunk larger than maxChunkSize is received, it's split into multiple chunks as if a chunked request is received.
* Added unfold option to FrameDecoder and ReplayingDecoder
2009-03-09 08:50:24 +00:00
Trustin Lee
7985fa94a9 Fixed NPE in the HTTP example 2009-03-09 08:18:52 +00:00
Trustin Lee
f3149fafc1 More explanation on event ordering of OrderedMemoryAwareThreadPool 2009-03-06 06:52:26 +00:00
Trustin Lee
019f5f0292 Fixed a problem where *SocketServerBootstrapTest fails when an O/S doesn't allow modifying the buffer size. 2009-03-05 15:33:14 +00:00
Trustin Lee
666c943b66 * Added ChannelFutureListener.CLOSE_ON_FAILURE
* Reduced code duplication
* Fixed warnings by FindBugs
2009-03-04 14:30:47 +00:00
Trustin Lee
07c720ad2c Typo 2009-03-04 14:27:20 +00:00
Trustin Lee
dfd9669797 Code cleanup 2009-03-04 14:17:35 +00:00
Trustin Lee
1781e0e1dd Fixed find bugs warnings 2009-03-04 14:15:59 +00:00
Trustin Lee
6ce3eebc55 Fixed find bugs warnings 2009-03-04 14:14:06 +00:00
Trustin Lee
7044f9a586 Fixed find bugs warnings 2009-03-04 14:13:39 +00:00
Trustin Lee
f93c240a7c Fixed find bugs warnings 2009-03-04 14:13:02 +00:00
Trustin Lee
392900e4b6 More cleanup 2009-03-04 14:11:54 +00:00
Trustin Lee
b9f604ca1d Code cleanup 2009-03-04 14:11:08 +00:00
Trustin Lee
fbfebb1fd9 Code cleanup 2009-03-04 14:08:31 +00:00
Trustin Lee
4979cb6a21 A little bit of code clean up 2009-03-04 13:50:19 +00:00
Trustin Lee
b676175882 Actually it was being taken care of.. reverted back 2009-03-04 13:45:40 +00:00
Trustin Lee
0847720e41 Took care of the case where a message implements both HttpMessage and HttpChunk 2009-03-04 13:44:58 +00:00
Trustin Lee
35ac9ef38e Fixed a bug: NETTY-129 CompositeChannelBuffer.getBytes(offset, GatheringByteChannel, length) doesn't respect offset and length parameter 2009-03-04 13:43:56 +00:00
Trustin Lee
cd3859b002 proper handling of cancelled keys 2009-03-04 13:04:28 +00:00
Trustin Lee
4d95e233bc * Removed an unnecessary override in MemoryAwareThreadPoolExecutor
* Updated Find Bugs filter
2009-03-04 10:54:55 +00:00
Trustin Lee
f04ca5b970 Shut eclipse compiler up 2009-03-04 10:54:00 +00:00
Trustin Lee
39ec19078c Code clean up 2009-03-04 10:35:55 +00:00
Trustin Lee
bca4c3abb2 Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
Trustin Lee
3a8b92929e Reduced too broad catch block 2009-03-04 10:26:34 +00:00
Trustin Lee
9e623c9cb1 Fixed inconsistent synchronization 2009-03-04 10:24:27 +00:00
Trustin Lee
7d00231a60 Fixed inconsistent synchronization 2009-03-04 10:24:13 +00:00
Trustin Lee
39cc4bc3fb Better exception handling 2009-03-04 10:15:14 +00:00
Trustin Lee
2dc5463e93 Fixed issue: NETTY-128 Unable to run netty client with a Security Manager 2009-03-03 09:54:34 +00:00
Trustin Lee
9bbce4a223 Fixed a bug where a dynamic buffer's readerIndex goes out of sync on expansion 2009-02-26 11:28:21 +00:00
Trustin Lee
fabe3a36c9 [maven-release-plugin] prepare for next development iteration 2009-02-26 11:12:10 +00:00
Trustin Lee
2665c5cea5 [maven-release-plugin] prepare release netty-3.1.0.ALPHA4 2009-02-26 11:11:54 +00:00
Trustin Lee
8d75e7e323 Added FindBugs preferences 2009-02-26 11:08:54 +00:00
Trustin Lee
720b6cdf8f Added dav: prefix to the distribution url 2009-02-26 11:07:04 +00:00
Trustin Lee
86bc09159d Fixed APIviz errors 2009-02-26 11:02:43 +00:00
Trustin Lee
2321499c8c There was no need to introduce a thread local to avoid event recursion 2009-02-26 10:51:03 +00:00
Trustin Lee
903c530ae0 Fixed a problem where NioWorker.writeNow() doesn't work when it's called recursively
* Added a boolean thread local variable to check if writeNow() has been called by itself
2009-02-26 10:32:33 +00:00
Trustin Lee
1ff58978a2 Fixed a bug where DefaultChannelFuture.isSuccess() returns true even if the future is not done yet 2009-02-26 09:28:37 +00:00
Trustin Lee
ae7fb55d62 Removed printlns 2009-02-26 09:14:33 +00:00
Trustin Lee
284fc4db44 Removed println 2009-02-26 09:13:26 +00:00
Trustin Lee
5fdce19902 Reverted the unnecessary changes related with shutting FindBug up 2009-02-26 09:10:59 +00:00
Trustin Lee
6200d39bdd Reverted the unnecessary changes related with shutting FindBug up 2009-02-26 09:08:34 +00:00
Trustin Lee
0132b00091 Fixed a couple findbugs warnings 2009-02-26 09:05:01 +00:00
Trustin Lee
a8d51cfad8 * Forgot to check in the http example code which was affected by the recent refactoring on Cookies
* Removed a FIXME in LocalTransportRegister - it's just an example.
2009-02-26 09:02:47 +00:00
Trustin Lee
5e64bb66e8 * Fixed a problem where CookieEncoder trims the value (it should not)
* Made sure the cookie values follow the URI encoding
2009-02-26 08:44:58 +00:00
Trustin Lee
9550c0759d Strict cookie name validation 2009-02-26 08:35:38 +00:00
Trustin Lee
b71d2d3d7f Updated fixmes for ataylor regarding cookie encoding/decoding 2009-02-26 08:06:07 +00:00
Trustin Lee
b8bc78a7d0 * Renamed HttpCookie to Cookie
* Split Cookie into an interface and its implementation (DefaultCookie)
* Renamed HttpCookieEncoder/Decoder to CookieEncoderDecoder
* Added all optional fields to Cookie
* Made Cookie.value mutable
* Revised DefaultCookie.toString
2009-02-26 07:59:37 +00:00
Trustin Lee
29b0af4f07 * Fixed a problem where query parameter components are not correctly encoded / decoded
* Changed the default charset of the query parameters to UTF-8
* Allowed a user to specify the charset of QueryStringEncoder/Decoder
2009-02-26 06:34:07 +00:00
Trustin Lee
63cb4a023f Implemented AbstractXnioChannels.handleWritable() properly (needs cleanup and optimization though) 2009-02-26 01:38:29 +00:00
Trustin Lee
49c0f33461 Improved AbstractXnioChannelHandler to use ReceiveBufferSizePredictor 2009-02-26 01:29:11 +00:00