Trustin Lee
9098d069b0
Make FailedChannelFuture and SucceededChannelFuture final
2012-12-22 15:10:38 +09:00
Norman Maurer
ff3dcffd49
Almost finish javadocs for codec module
2012-12-21 22:41:18 +01:00
Norman Maurer
b814033323
[ #847 ] Let CompressionException extend CodecException
2012-12-21 22:36:51 +01:00
Norman Maurer
5b44fe6e65
More javadoc fixes
2012-12-21 22:32:16 +01:00
Norman Maurer
8a7bc2c606
Add a lot of javadocs to make usage more clear
2012-12-21 22:22:40 +01:00
Norman Maurer
b004066f37
Javadoc fixes and remove some uncessary casts + checks
2012-12-21 17:59:37 +01:00
Norman Maurer
a819d26f5c
Remove ChannelHandlerLifeCycleException and just use ChannelPipelineException as replacement
2012-12-21 17:10:36 +01:00
Norman Maurer
ef555d268c
Add more javadocs and replace some abstract methods with noops as we often implemented them as noops
2012-12-21 17:06:24 +01:00
Norman Maurer
3e31af68e4
More javadocs cleanup
2012-12-21 11:03:35 +01:00
Norman Maurer
e4ed551490
Move shared methods to the AbstractEmbeddedChannel class and add javadocs
2012-12-21 10:41:27 +01:00
Norman Maurer
7db47dd0d0
Finish javadocs for common module
2012-12-21 08:16:00 +01:00
Norman Maurer
42a77eda9b
And again javadocs cleanup
2012-12-21 07:35:42 +01:00
Norman Maurer
62bf98af8c
More javadoc fixes
2012-12-21 07:13:31 +01:00
Norman Maurer
7a9d9d6a88
Fix checkstyle
2012-12-20 19:11:17 +01:00
Norman Maurer
5d6d849acd
Mark final, add javadocs, add checks
2012-12-20 16:13:26 +01:00
Norman Maurer
d2060ee3f1
Add more javadocs
2012-12-20 15:45:49 +01:00
Norman Maurer
a1baeeb8c0
Mark IdleStateEvent as final and add javadocs
2012-12-20 15:45:35 +01:00
Norman Maurer
43d13064d1
[ #837 ] CombinedChannelHandler must pass sendFile(...) to the wrapped ChannelOutboundHandler
2012-12-20 12:25:13 +01:00
Norman Maurer
94dc09c33d
Tighten up visibility as the user should use Channel.new*Future
2012-12-20 10:45:12 +01:00
Norman Maurer
1f9d165583
[ #836 ] Correctly reset timeout on sendFile(...)
2012-12-19 21:16:41 +01:00
Norman Maurer
695665a4cf
More javadocs fixes
2012-12-19 21:08:47 +01:00
Norman Maurer
db0459ea9c
Fix javadocs of IdleStateHandler
2012-12-19 16:25:31 +01:00
Norman Maurer
d9b26dab29
Remove get*() from the methods to match the rest of our method signatures
2012-12-19 15:38:17 +01:00
Norman Maurer
a1368f0fa8
Some javadocs fixed to remove dead links
2012-12-19 15:36:07 +01:00
Norman Maurer
77c01d252e
Fix visibily of ImmediateExecutor and add private constructor
2012-12-19 15:31:07 +01:00
Norman Maurer
11047aaa69
[ #832 ] Add javadocs which explains how to workaround the problem
2012-12-19 15:17:10 +01:00
Veebs
92f1a81f47
#751 - Added support for legacy websocket v7 in order to pass SocksJS tests
2012-12-19 12:35:56 +01:00
Trustin Lee
78ccfeedf9
Save memory copy
2012-12-19 18:36:31 +09:00
Trustin Lee
937c0481e0
Do not use slice() to get the content of HTTP msg
...
- Fixes #794
2012-12-19 18:28:55 +09:00
Trustin Lee
b4fb6a49ee
Remove codec-snappy from the module list
2012-12-19 18:28:34 +09:00
Trustin Lee
e353540d47
Move snappy codec to netty-codec
2012-12-19 18:12:18 +09:00
Trustin Lee
67da6e4bf9
Remove the notion of ByteBufAllocator.bufferMaxCapacity()
...
- Allocate the unpooled memory if the requested capacity is greater then the chunkSize
- Fixes #834
2012-12-19 17:35:32 +09:00
Norman Maurer
35c01660da
Merge branch 'master' of github.com:netty/netty
2012-12-19 09:27:18 +01:00
Norman Maurer
fdeff3855d
Move ChannelInputShutdownEvent to socket package as this is where it belongs to. Also added some javadocs
2012-12-19 09:27:01 +01:00
Trustin Lee
0e017db89a
Return the new buffer's capacity is same with the requested capacity
...
- Rename capacity variables to reqCapacity or normCapacity to distinguish if its the request capacity or the normalized capacity
- Do not reallocate on ByteBuf.capacity(int) if reallocation is unnecessary; just update the index range.
- Revert the workaround in DefaultChannelHandlerContext
2012-12-19 16:50:05 +09:00
Norman Maurer
b6e83dff4f
Add javadocs and also some parameter checks in DefaultFileRegion
2012-12-19 08:24:32 +01:00
Jestan Nirojan
44142efe55
Fixed OioSctpChannel event loop issue #632 by using 3 different selectors
2012-12-19 06:54:06 +01:00
Jestan Nirojan
4229b23a51
Fixed SCTP testcases #632
2012-12-19 06:51:00 +01:00
Trustin Lee
3fc3401c08
Remove bad Javadoc in SCTP classes.
2012-12-19 11:58:54 +09:00
Luke Wood
43e40d6af6
Add Snappy compression codec
2012-12-18 21:09:31 +01:00
Norman Maurer
f6735f8cc9
Add javadocs to AIO and also fix a few warnings
2012-12-18 15:27:52 +01:00
Norman Maurer
7b0ec599d6
Fix config
2012-12-18 11:38:38 +01:00
Norman Maurer
8d89e48177
Add javadocs in the oio package and also fix some intellij warnings
2012-12-18 11:24:25 +01:00
Norman Maurer
6d93c3fb25
more javadocs
2012-12-18 07:55:39 +01:00
Norman Maurer
b7b17209ea
Next round of javadocs cleanup and fixes. Also limit the visibility of FailedChannelFuture
2012-12-18 07:23:42 +01:00
Trustin Lee
42d466c97f
Remove cruft
2012-12-18 15:21:26 +09:00
Trustin Lee
310a87a51d
Fix #814 - Prevent IllegalBufferAccessException on write() and flush()
...
- Also fixed a incorrect port of SpdySessionHandler
- Previously, it closed the connection too early when sending a GOAWAY frame
- After this fix, SpdySessionHandlerTest now passes again without the previous fix
2012-12-18 04:53:37 +09:00
Norman Maurer
5a467b69bf
DatagramPacket should be final
2012-12-17 20:37:10 +01:00
Trustin Lee
949435d105
Fix checkstyle
2012-12-18 03:08:01 +09:00
Trustin Lee
e59ac8e79b
Do not call inbound event methods directly
...
- Fixes #831
This commit ensures the following events are never triggered as a direct
invocation if they are triggered via ChannelPipeline.fire*():
- channelInactive
- channelUnregistered
- exceptionCaught
This commit also fixes the following issues surfaced by this fix:
- Embedded channel implementations run scheduled tasks too early
- SpdySessionHandlerTest tries to generate inbound data even after the
channel is closed.
- AioSocketChannel enters into an infinite loop on I/O error.
2012-12-18 03:04:26 +09:00