Luke Wood
c1cbe8bec3
Clarify SnappyFramedDecoder javadoc to make it as clear as possible regarding the default settings
2013-05-20 17:31:04 +01:00
Norman Maurer
81e3c1719a
[maven-release-plugin] prepare for next development iteration
2013-05-18 09:59:13 +02:00
Norman Maurer
99caefdf39
[maven-release-plugin] prepare release netty-4.0.0.CR3
2013-05-18 09:57:11 +02:00
Trustin Lee
50433f7b9a
Make sure successful SslHandshakeCompletionEvent is a singleton
...
- Related: #1373
- This commit is an amendment to 2a7bea2ad3
2013-05-18 05:50:58 +09:00
Norman Maurer
620c3e025a
Just some tiny javadoc fixes
2013-05-17 22:16:29 +02:00
Norman Maurer
bd2230961d
Fix checkstyle
2013-05-17 22:09:11 +02:00
Norman Maurer
aaca9df99a
@Deprecate a method as it's not needed anymore
2013-05-17 22:00:55 +02:00
Norman Maurer
8a5e249d6f
[ #1374 ] Allow users to all all subprotocols by using * as wildcard
2013-05-17 21:57:47 +02:00
Norman Maurer
abb4e20d0b
[ #1369 ] Move ImmediateEventExecutor to common and let it access via a static
...
* Also fix a bug there to return a correct implementation of ProgressivPRomi
ImmediateEventExecutor
2013-05-17 21:35:01 +02:00
Norman Maurer
a8830aee42
[ #1369 ] Move ImmediateEventExecutor to common and let it access via a static public field
...
* Also fix a bug there to return a correct implementation of ProgressivPRomise to work with the
ImmediateEventExecutor
2013-05-17 21:19:59 +02:00
Norman Maurer
6942dba855
[ #1363 ] Make sure ChannnelConfig.setAutoRead(false) will stop read from socket directly
2013-05-17 20:56:09 +02:00
Norman Maurer
2a7bea2ad3
[ #1373 ] Make SslHandshakeCompletionEvent constructor public
2013-05-17 19:39:52 +02:00
Norman Maurer
699ef0784e
[ #1317 ] Allow to use VoidPromise for flush(...), write(...) and sendFile(...)
...
* This also move rename Channel.Unsafe.voidFuture() to ChannelPropertyAccess.voidPromise()
2013-05-17 15:50:14 +02:00
Trustin Lee
fd1d31e7d8
Remove unnecessary inEventLoop() checks in Channel.Unsafe
...
.. because HeadHandler in the pipeline always ensures those methods are always invoked from the correct I/O thread
2013-05-17 19:20:46 +09:00
Trustin Lee
41f5d5650d
Add Javadoc to tarball / Upgrade maven-compiler-plugin
...
- Fixes #1360
2013-05-17 18:32:27 +09:00
Trustin Lee
e58af1bc94
Readability / Fix inception year
2013-05-17 17:59:13 +09:00
kxbmap
3a5aa12000
Add LengthFieldPrepender.lengthAdjustment parameter
2013-05-17 17:58:53 +09:00
Trustin Lee
f92cfba388
Remove DefaultCompositeByteBuf.lastAccessed and use binary search instead
...
- Fixes #1364
- Even if a user creates a duplicate/slice, lastAccessed was shared between the derived buffers and it's updated even by a read operation, which made multithread access impossible
2013-05-17 16:54:47 +09:00
Trustin Lee
7140e4e63b
Test if ChannelHandler.handlerRemoved() is called on closure / Reduced timeout
2013-05-17 11:07:53 +09:00
Trustin Lee
e1a378aa03
Clean up DefaultChannelPipelineTest
...
- Use the local transport in a correct way (i.e. no need to trigger channelActive et al by ourselves)
- Use Promise/Future instead of CountDownLatch where they simplifies
2013-05-17 10:54:20 +09:00
Luke Wood
f841056752
Fix SnappyFramedDecoder checksum validation and add a pair of suitable unit tests
2013-05-16 14:10:54 +01:00
Trustin Lee
2040b07849
Free the cleared buffer as early as possible / Better naming
2013-05-16 19:41:02 +09:00
Trustin Lee
dc13b68632
Make sure ChannelHandler.handlerRemoved() is always invoked
...
- Fixes #1366 : No elegant way to free non-in/outbound buffers held by a handler
- handlerRemoved() is now also invoked when a channel is deregistered, as well as when a handler is removed from a pipeline.
- A little bit of clean-up for readability
- Fix a bug in forwardBufferContentAndRemove() where the handler buffers are not freed (mainly because we were relying on channel.isRegistered() to determine if the handler has been removed from inside the handler.
- ChunkedWriteHandler.handlerRemoved() is unnecessary anymore because ChannelPipeline now always forwards the content of the buffer.
2013-05-16 19:32:39 +09:00
Trustin Lee
670d3f53a8
Make uninitialization code in DefaultChannel easier to understand
...
.. by fixing bad / outdated method names
2013-05-16 16:18:01 +09:00
Norman Maurer
a331c87a7a
[ #1358 ] Fix Encoding of multipart attribute names and filenames for non ASCII chars
2013-05-14 15:24:01 +02:00
Norman Maurer
dbad71366d
[ #1359 ] Fix incorrect response when 100-continue is needed
2013-05-14 14:35:06 +02:00
Andrei.Pozolotin
feab823bfb
use barchardt-udt 2.3.0 release. This fixes #1290 and 1329
2013-05-14 06:54:46 +02:00
Andrei Pozolotin
57a459d970
updated udt and connection test
2013-05-14 06:46:07 +02:00
Edwin Mol
55df4fc246
added UDT client server testcase
2013-05-14 06:45:58 +02:00
Edwin Mol
5c187ca02d
added UDT Client-Server Test
2013-05-14 06:45:36 +02:00
Trustin Lee
c3b0a9c6b8
Fix duplicate invocation of same plugins due to needless fork of maven-source-plugin
...
- Fixes #1355
2013-05-13 16:03:00 +09:00
Norman Maurer
f4ad6173ca
[ #1299 ] Make sure a handshake error will not trigger fireExceptionCaught two times
2013-05-12 17:01:12 +02:00
Norman Maurer
3268d6fc2e
[ #1352 ] WebSocketFrameAggregator should only throw TooLongFrameException once per complete frame
2013-05-09 21:12:36 +02:00
Norman Maurer
c8de4f03f1
[ #1007 ] Make sure the current message is only reset on LastHttpContent
2013-05-09 20:11:34 +02:00
Norman Maurer
268b059ebb
[ #1007 ] HttpObjectAggregator should only throw one TooLongFrameException per full HTTP message
2013-05-09 19:44:39 +02:00
Trustin Lee
80f4c0b334
Merge SnappyChecksumUtil into Snappy and make calculateChecksum() public / Overall clean up
2013-05-09 15:23:56 +09:00
Trustin Lee
c406647bb2
Use short for DefaultPromise.waiters for less memory consumption
2013-05-09 08:51:01 +09:00
Norman Maurer
c43950a03f
[maven-release-plugin] prepare for next development iteration
2013-05-08 18:19:51 +02:00
Norman Maurer
ae76502040
[maven-release-plugin] prepare release netty-4.0.0.CR2
2013-05-08 18:19:38 +02:00
Norman Maurer
18bda09d6c
Allow to recover from exception triggered by accept() more easily
...
This is done by stop accept() new sockets for 1 seconds
Beside this this commit also makes sure accept() exceptions of OioServerSocketChannel trigger
the fireExceptionCaught(...). The same is true fo the AioServerSocketChannel.
2013-05-08 17:21:14 +02:00
Norman Maurer
b65c8716a5
Correctly handle multipart disposition
2013-05-08 17:20:44 +02:00
Frederic Bregier
6c0b2be412
Same fix for Netty V4 for issue #1313
...
Remove encodeAttribute/decodeAttribute for Multipart element
Replace where necessary by cleanString (to remove '"') on name part (not
on value part)
2013-05-08 15:18:30 +02:00
Norman Maurer
c07234ed72
[ #1346 ] Make sure HttpPostRequestEncoder.nextChunk() return LastHttpContent once all chunks are read
2013-05-08 15:11:08 +02:00
Norman Maurer
e48bc9c086
[ #1344 ] Fix race condition in DefaultChannelPromise / DefaultChannelProgressivePromise which could lead to listeners that are not notified
2013-05-08 10:14:28 +02:00
Norman Maurer
5dd867ee23
[ #1340 ] use full url in comment
2013-05-07 14:54:27 +02:00
Norman Maurer
6cbc6e9886
[ #1340 ] Log SslExceptions thrown by SslEngine.closeInbound() with debug level
2013-05-07 09:42:02 +02:00
Norman Maurer
97bdabad9c
[ #1293 ] Fix IllegalBufferAccessException in HttpPostRequestDecoder
...
* Also let HttpPostRequestDecoder extends Iterator and let its Exceptiosn extend DecoderException
2013-05-06 21:36:30 +02:00
Norman Maurer
a170f05b4b
[ #1293 ] Fix handling of chunked requests in HttpPostRequestEncoder and the multipart examples
2013-05-06 15:00:18 +02:00
Norman Maurer
a4a92ee14a
Try to reproduce #1335 without luck
2013-05-06 10:29:14 +02:00
Norman Maurer
17e5049194
Fix examples
2013-05-06 10:27:06 +02:00