Commit Graph

1438 Commits

Author SHA1 Message Date
Trustin Lee
c2169f2b73 Renamed ChunkStream to ChunkedInput
Renamed ChunkStreamWriteHandler to ChunkedWriteHandler
Renamed FileChunkStream to ChunkedFile
2009-06-16 08:06:00 +00:00
Trustin Lee
c08e7dd397 Issue NETTY-175 - Large data transfer
* Added ChunkStream and FileChunkStream
* Added ChunkStreamWriteHandler
2009-06-16 07:04:20 +00:00
Trustin Lee
ee8ffec265 Optimized HttpMessageDecoder.readHeader() 2009-06-15 09:06:56 +00:00
Trustin Lee
bda2f0a852 Fixed incorrect state management for HTTP header size 2009-06-15 08:45:39 +00:00
Trustin Lee
aeb7903be8 Fixed a mistake during optimization 2009-06-15 08:35:24 +00:00
Trustin Lee
12acb2cf09 Fixed a NPE in HttpMessageDecoder.readHeaders() on a particular malformed header 2009-06-15 08:13:52 +00:00
Trustin Lee
f059f91ff4 Code simplification / optimization 2009-06-15 08:05:27 +00:00
Trustin Lee
d76bfe72b5 Fixed issue: NETTY-174 Always use 'ASCII' charset when encoding HTTP messages. 2009-06-15 07:50:53 +00:00
Trustin Lee
e39d8720d2 Applied composite buffer consolidation to NioDatagramWorker too 2009-06-15 07:32:51 +00:00
Trustin Lee
160866e1a0 HttpMessageDecoder does not use regular expressions to decode the initial line and headers anymore so that it performs better 2009-06-15 07:30:07 +00:00
Trustin Lee
e410abed02 Fixed issue: NETTY-173 Do not use Class.isArray() in ReplayingDecoder and FrameDecoder
* Modified FrameDecoder and ReplayingDecoder not to use Class.isArray() anymore.
2009-06-15 07:29:12 +00:00
Trustin Lee
5ae0adbfaa Made sure composite buffer consolidation happens only once by converting CompositeChannelBuffer to an ordinary buffer 2009-06-15 07:26:05 +00:00
Trustin Lee
5fb8e8069b Tiny optimization that makes header addition faster in most cases 2009-06-15 07:06:53 +00:00
Trustin Lee
8debedf6b6 Removed the slow Class.isArray() call by returning Object[] instead of HttpChunk[] 2009-06-15 06:33:30 +00:00
Trustin Lee
a979433f91 Tiny optimization in HttpMessageDecoder.readHeaders() 2009-06-15 06:29:45 +00:00
Trustin Lee
f22f0b2035 CompositeChannelBuffer.toByteBuffer() should return the ByteBuffer with the same order 2009-06-15 06:13:50 +00:00
Daniel Bevenius
40bf0a63f1 Unittest and javadoc. 2009-06-13 11:30:02 +00:00
Trustin Lee
666f57a35e Fixed a bug where a wrong channel is closed on connection failure 2009-06-12 08:42:44 +00:00
Trustin Lee
ad8bb7eaf6 Removed an unnecessary empty line 2009-06-12 08:41:00 +00:00
Trustin Lee
ef40ba7941 Added a proxy example which is asked pretty often 2009-06-12 08:39:04 +00:00
Trustin Lee
0067371e24 Organized imports 2009-06-12 02:53:26 +00:00
Trustin Lee
7a4f00201a Renamed NioUdpWorker to NioDatagramWork 2009-06-12 02:47:57 +00:00
Trustin Lee
08107683b3 Less memory copy for OIO datagram transport 2009-06-12 02:08:58 +00:00
Trustin Lee
ee3ae043dc Fixed NPE in OioDatagramWorker.writeNow() 2009-06-12 01:52:02 +00:00
Trustin Lee
01d8de26cf Fixed NPE in NioUdpWorker.writeNow() 2009-06-12 01:48:00 +00:00
Trustin Lee
d42ea03799 Fixed incorrect or missing event order in Bootstraps and NIO UDP transport 2009-06-12 01:43:26 +00:00
Trustin Lee
0a5019385c * Added detailed explanation on NETTY-114 (not to forget why I woke up selector again) 2009-06-11 16:47:55 +00:00
Trustin Lee
e9d07c3c2e OioDatagramWorker now honors buffer factory's default byte order 2009-06-11 07:16:10 +00:00
Trustin Lee
8f4e0b524c NioUdpWorker.read() now honors buffer factory's default byte order 2009-06-11 07:14:40 +00:00
Trustin Lee
fa3eb52f4e Fixed NotYetConnectedException on setInterestOps by backporting the fix applied to NioWorker 2009-06-11 07:01:14 +00:00
Trustin Lee
899b16678f * Merged recent changes in the trunk to the NIO UDP transport
* Other miscellaneous modifications like typo fix
2009-06-11 06:10:46 +00:00
Trustin Lee
e4871f8460 Removed predictor from DefaultNioDatagramChannelConfig because it's already implemented in its superclass 2009-06-11 05:09:11 +00:00
Trustin Lee
1a309bff34 Updated @author tags 2009-06-11 05:06:14 +00:00
Trustin Lee
3473135c7b Updated @author tags 2009-06-11 05:03:53 +00:00
Trustin Lee
4b263dfb0e Updated license headers 2009-06-11 05:02:39 +00:00
Trustin Lee
d202db83f0 Updated license headers 2009-06-11 05:00:48 +00:00
Daniel Bevenius
c01e997a45 Added some javadocs and removed unsed code and excessive comments. 2009-06-11 04:33:07 +00:00
Trustin Lee
effbe32fdb Merged Daniel's NIO UDP transport into trunk - needs more review and cleanup but looks OK in general 2009-06-11 00:48:49 +00:00
Trustin Lee
734a5a46d4 Fixed issue: NETTY-172 Let user choose the I/O thread names
* Added ThreadNameDeterminer
* Moved ThreadRenamingRunnable from org.jboss.netty.util.internal to org.jboss.netty.util because it should be accessible by user
2009-06-10 08:56:37 +00:00
Trustin Lee
c0deea647e Ignore IntelliJ project files 2009-06-09 10:26:47 +00:00
Trustin Lee
583ddfe992 Fixed compiler warnings 2009-06-09 10:19:29 +00:00
Trustin Lee
be12a1bdf1 Disabled NIO constraint level autodetection for IBM JDK 1.6 2009-06-09 05:17:36 +00:00
Trustin Lee
645ba6d3b9 Potential fix for AIX close freeze issue 2009-06-09 04:32:02 +00:00
Trustin Lee
afb7e511ad Fixed a case where HashedWheelTimer notifies a timeout one round later 2009-06-05 17:05:42 +00:00
Trustin Lee
bb6f5a6104 Fixed issue: NETTY-167 resumeRead() sometimes does not work in OIO transport. 2009-06-05 07:30:55 +00:00
Trustin Lee
7339e172e0 Fixed issue: NETTY-166 Dead lock triggered by OIO transport and MemoryAwareThreadPoolExecutor when WriteCompletionEvent reaches memory limit
* MemoryAwareThreadPoolExecutor does not count WriteCompletionEvent anymore to avoid dead lock
2009-06-05 07:05:20 +00:00
Trustin Lee
663fe81af2 Made sure interestOps is updated before OIO thread is interrupted 2009-06-05 07:01:13 +00:00
Trustin Lee
5273e274de Made sure interestOps is updated before OIO thread is interrupted 2009-06-05 07:00:55 +00:00
Trustin Lee
76777b74b4 Fixed a problem in the examples where the client process does not shut itself down when a user typed the 'bye' command. 2009-06-04 08:50:19 +00:00
Trustin Lee
345a5512ab Made sure to clean up the cumulative buffer on channelDisconnected or channelClosed 2009-06-04 08:49:33 +00:00