Trustin Lee
f3a842ecca
[maven-release-plugin] prepare for next development iteration
2013-12-22 22:06:15 +09:00
Trustin Lee
888dfba76f
[maven-release-plugin] prepare release netty-5.0.0.Alpha1
2013-12-22 22:06:06 +09:00
Trustin Lee
ffbecbe9c5
Workaround for a bug in maven-release-plugin where it doesn't work well with Git 1.8.5
2013-12-22 22:01:20 +09:00
Trustin Lee
ddacf784c1
Use LinkedHashSet for HttpHeaders.names() and add Javadoc about the performance of names() and entries()
2013-12-22 19:18:27 +09:00
Trustin Lee
0d437baef0
Increase the default maxMessagesPerRead of AbstractNioByteChannel to 16
...
- Related: #2079
2013-12-21 20:08:15 +09:00
Trustin Lee
3ca3efac52
Fix a bug where adaptive recvbuf size prediction doesn't work correctly when maxMessagesPerRead is > 1
2013-12-21 19:56:36 +09:00
Trustin Lee
4e05c52c2e
More graceful registration failure
...
- Fixes #2060
- Ensure to return a future/promise implementation that does not fail with 'not registered to an event loop' error for registration operations
- If there is no usable event loop available, GlobalEventExecutor.INSTANCE is used as a fallback.
- Add VoidChannel, which is used when an instantiation of a channel fails.
2013-12-21 18:47:03 +09:00
Norman Maurer
e1c47632e8
[ #2079 ] Stop reading once the NIO byte Channel was complete drained
2013-12-21 10:39:29 +01:00
Trustin Lee
6ac54cd791
Relax Maven version requirement
2013-12-21 16:23:05 +09:00
Trustin Lee
906e2d2b37
Fix a leak in HttpResponseDecoderTest
2013-12-19 01:13:02 +09:00
Trustin Lee
04ec2e1330
Add Recycler.Handle.recycle() so that it's possible to recycle an object without an explicit reference to Recycler
2013-12-19 01:10:52 +09:00
Norman Maurer
ca1c82642a
Limit the access of the HttpHeaders for performance reasons
2013-12-18 23:08:39 +09:00
Trustin Lee
d35c2010c4
Stop decoding after protocol upgrade / Do not use singleDecode option
2013-12-18 23:08:32 +09:00
Trustin Lee
fa336db891
Remove unnecessary code from HttpObjectDecoder and re-enable all HTTP tests
...
- Since Netty 4, HTTP decoder does not generate a full message at all. Therefore, there's no need to keep separate states for the content smaller than maxChunkSize.
- maxChunkSize must be greater than 0. Setting it to 0 should not disable chunked encoding. We have a dedicated flag for that.
- Uncommented the tests that were commented out for an unknown reason, with some fixes.
- Added more tests for HTTP decoder.
- Removed the Ignore annotation on some tests.
2013-12-18 23:08:26 +09:00
Trustin Lee
3e8a1ed611
Fix a race condition where flush() can be triggered before write()
...
.. when a handler overrides write() but not flush().
2013-12-17 09:51:41 +09:00
Trustin Lee
94d6e44bba
Change the return type of EmbeddedChannel.read*() from Object to an ad-hoc type parameter
...
.. so that there's no need to explicitly down-cast.
Fixes #2067
2013-12-16 22:22:47 +09:00
Trustin Lee
61ed9476ae
Improve the unit test for #1742
2013-12-16 21:55:14 +09:00
Trustin Lee
af07cc95fa
Fix a bug where HttpObjectAggregator fails to send a '100 Continue' response
...
- Fixes #1742
2013-12-16 21:45:10 +09:00
Trustin Lee
02a79c51e5
Fix a bug in SslHandler where a ClassCastException is raised when non-ByteBuf message is passed
...
- Fixes #1828
2013-12-16 16:30:24 +09:00
Trustin Lee
6ddfab3c9c
Fix another buffer leak in XmlFrameDecoderTest
2013-12-16 16:16:37 +09:00
Trustin Lee
40def86eb4
Fix buffer leaks in XmlFrameDecoderTest
2013-12-16 15:36:49 +09:00
Trustin Lee
ee92a12ed5
Remove unnecessary check in DefaultPromise.await0()
...
- Fixes #2032
- Fix inspection warnings
2013-12-16 15:15:53 +09:00
Trustin Lee
4302c016d2
Rename flushAndWrite() to writeAndFlush()
...
- Related: #2066
2013-12-16 14:58:14 +09:00
Trustin Lee
e744926817
Fix inspector warnings
2013-12-16 14:45:57 +09:00
Mirko Caserta
5e851460a9
CDATA support
2013-12-16 14:43:07 +09:00
Mirko Caserta
c8bd76d9a9
Fixed the XML decoder
2013-12-16 14:43:07 +09:00
Trustin Lee
1084242df9
Add XML decoder
...
- based on @mcaserta's work at https://github.com/netty/netty/pull/1121
- not ready for a merge yet
2013-12-16 14:42:34 +09:00
Frederic Bregier
d7faf042a1
Add support for 'charset' property for multipart boundaries
...
- Fixes #2004
2013-12-16 14:30:10 +09:00
Jeff Pinner
f41e2f830d
Merge pull request #2064 from jpinner/spdy_minor_version
...
SPDY: add SETTINGS_MINOR_VERSION
2013-12-15 21:10:10 -08:00
Trustin Lee
cc295107b3
Prevent NPE from StringUtil.simpleName(..)
2013-12-16 13:54:23 +09:00
Norman Maurer
1a9eb05ba0
[ #2065 ] Fix NPE in AbstractOioByteChannel during write to the socket
2013-12-15 11:44:51 +01:00
Jeff Pinner
78f3ee3396
SPDY: add SETTINGS_MINOR_VERSION
2013-12-14 10:27:14 -08:00
Norman Maurer
48b416f112
Optimize encoding of websocket frames by merge if possible
2013-12-13 11:39:39 +01:00
Norman Maurer
ee17139a03
[ #2053 ] Do not allow < 1 on AppendableCharSequence init.
2013-12-11 10:18:49 +01:00
Cruz Julian Bishop
b6874fcaa5
Format and partially describe Gitignore
...
Signed-off-by: Cruz Julian Bishop <cruz@techern.com>
2013-12-10 07:03:43 +01:00
Cruz Julian Bishop
f31bdf3507
Add KDevelop project files to the gitignore file
...
Signed-off-by: Cruz Julian Bishop <cruz@techern.com>
2013-12-10 07:03:43 +01:00
Michael Nitschinger
31b977bcad
codec-memcache: prefix abstract classes with Abstract.
2013-12-09 11:28:59 +01:00
Michael Nitschinger
a06810609b
codec-memcache: No need to allocate a buffer if no extra is used.
2013-12-09 08:07:05 +01:00
Trustin Lee
b8ca01bd9e
Disable logging temporarily when running testRegistrationAfterShutdown
2013-12-08 14:17:35 +09:00
Trustin Lee
0d70ba4938
Disable logging temporarily when running testRegistrationAfterShutdown2
2013-12-08 14:12:10 +09:00
Trustin Lee
d53f7595d3
Fix checkstyle
2013-12-08 14:05:04 +09:00
Trustin Lee
4802c785f6
Add convenient logging methods for logging exceptions quickly
...
.. Mainly useful for writing tests or ad-hoc debugging
2013-12-08 13:20:52 +09:00
Trustin Lee
26979f8901
Add more diagnostics to SocketConnectionAttemptTest to fix the flaky test / Cleanup
2013-12-08 13:02:37 +09:00
Trustin Lee
4903b7fd17
Fix another buffer leak in BinaryMemcacheDecoderTest
2013-12-07 21:50:49 +09:00
Trustin Lee
5e86ccace9
Fix buffer leaks in BinaryMemcacheDecoderTest
2013-12-07 15:06:30 +09:00
Trustin Lee
f03f1eaaba
Fix a buffer leak in BinaryMemcacheDecoder
2013-12-07 15:00:32 +09:00
Trustin Lee
2e53322be0
Fix buffer leaks in BinaryMemcacheEncoderTest
2013-12-07 12:15:44 +09:00
Trustin Lee
082ecd9140
Fixed buffer leaks in LoggingHandlerTest
2013-12-07 11:59:53 +09:00
Trustin Lee
065b6cf785
Fixed various buffer leaks in FixedCompositeByteBufTest
2013-12-07 11:36:18 +09:00
Trustin Lee
f8138619f0
Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
2013-12-07 11:22:59 +09:00