Commit Graph

6022 Commits

Author SHA1 Message Date
Trustin Lee
5754d9d87f * Added receiveBufferSizePredictor property to DatagramChannelConfig
* The default predictor for DatagramChannel is FixedReceiveSizePredictor(768) which should work for most cases
2009-03-12 13:17:30 +00:00
Trustin Lee
d33e38e626 Added DefaultDatagramChannelConfig 2009-03-12 12:56:41 +00:00
Trustin Lee
1931ba6ceb Switched from tar.gz to tar.bz2 2009-03-12 12:32:16 +00:00
Trustin Lee
469258a862 Added datagram channel interfaces 2009-03-12 12:22:01 +00:00
Trustin Lee
7023c0599c A small rant 2009-03-12 09:21:45 +00:00
Trustin Lee
731c0d94f3 Local transport doesn't need to support setInterestOps 2009-03-12 08:30:23 +00:00
Trustin Lee
6c57969348 Updated find bugs filter to ignore more false positives 2009-03-12 07:27:51 +00:00
Trustin Lee
c58568e094 cleanup 2009-03-12 07:27:19 +00:00
Trustin Lee
a91f3e4acf Tiny code cleanup 2009-03-12 07:17:25 +00:00
Trustin Lee
5f1dd20d74 * Made sure ChannelFutures are notified when no lock is acquired in HttpTunnelingChannelHandler
* Reduced the visibility of some methods in HttpTunnelingChannelHandler
2009-03-12 07:01:20 +00:00
Trustin Lee
937ee06d9d Simplified stream I/O in HttpTunnelingServlet using dynamic channel buffer 2009-03-12 06:42:39 +00:00
Trustin Lee
35b08df70a * ChannelBuffer.writeBytes(InputStream, ...) must return an integer
* Fixed a problem where DynamicChannelBuffer doesn't expand itself for some writeBytes() calls
2009-03-12 06:40:36 +00:00
Trustin Lee
1895864d38 Code style 2009-03-12 06:24:42 +00:00
Trustin Lee
2627751a44 Anonymous class to nested class 2009-03-12 06:24:26 +00:00
Trustin Lee
3a65234df5 Simplified HttpTunnelAddress.compareTo 2009-03-12 06:20:02 +00:00
Trustin Lee
bd184cc665 Renamed TestOptions to TestUtil 2009-03-12 00:42:41 +00:00
Trustin Lee
ebdfec8ec0 Reduced the number of InetAddress.getLocalHost() calls in test cases 2009-03-12 00:14:17 +00:00
Trustin Lee
0edc9abb0f Made sure MemoryAwareThreadPoolExecutor and ExecutionHandler get along well with other traffic controlling handlers 2009-03-11 11:22:06 +00:00
Trustin Lee
d2c4a1143e Added ChannelHandlerContext.get/setAttachment() - NETTY-134 2009-03-11 10:53:52 +00:00
Trustin Lee
f4dd29c70f Fixed code style in DefaultChannelPipeline 2009-03-11 10:45:55 +00:00
Trustin Lee
368c34ace9 Renamed DefaultReceiveBufferSizePredictor to AdaptiveReceiveBufferSizePredictor
Added FixedReceiveBufferSizePredictor
2009-03-11 09:27:14 +00:00
Trustin Lee
521f220aaa * Excluded non-unit test
* Changed the forkMode to never
2009-03-10 21:34:05 +00:00
Trustin Lee
e523b8ec0f Added default constructors with sensible default values 2009-03-10 08:57:02 +00:00
Trustin Lee
4e989e20d4 Added HttpChunkAggregator 2009-03-10 08:42:19 +00:00
Trustin Lee
23a73f20d6 Fixed a bug where HttpMessage's content becomes an EMPTY_BUFFER after messageReceive event is already fired to process chunked encoding 2009-03-10 08:37:45 +00:00
Trustin Lee
445be963ae Oops. Silly mistake when creating a new string builder 2009-03-10 07:57:36 +00:00
Trustin Lee
3235c154a3 Implemented hashCode, compareTo, equals, and toString for HttpResponseStatus 2009-03-10 07:56:53 +00:00
Trustin Lee
94544193bd Better formatting 2009-03-10 07:54:02 +00:00
Trustin Lee
a5ebbfb111 * all limit parameters are mandatory to create HTTP decoders now for better security
* chunks are not merged anymore for better security
* modified HTTP client example to handle HTTP chunks
2009-03-10 07:53:15 +00:00
Trustin Lee
4a72aafd56 Resolved issue: NETTY-133 Limit the length of HTTP header lines.
* Added maxHeaderSize option
* Added maxInitialLineLength option
* Overall HTTP code cleanup
2009-03-10 07:20:27 +00:00
Trustin Lee
c9b3122b6c More strict validation on HTTP headers to defend against HTTP response splitting atack 2009-03-09 21:05:49 +00:00
Trustin Lee
ebe5ad3ef2 JUnit should ignore TestOptions 2009-03-09 19:16:59 +00:00
Trustin Lee
ddd756b276 Better option handling 2009-03-09 19:07:11 +00:00
Trustin Lee
e6cc8fb5eb Printed a warning message when timing tests are disabled 2009-03-09 19:05:59 +00:00
Trustin Lee
a5a7181615 Renamed TimingTestUtil to TestOptions 2009-03-09 19:04:35 +00:00
Trustin Lee
0a72ffeacd Added an option to exclude timing tests 2009-03-09 19:03:48 +00:00
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