Norman Maurer
b3d8c81557
Fix all leaks reported during tests
...
- One notable leak is from WebSocketFrameAggregator
- All other leaks are from tests
2013-12-07 00:44:56 +09:00
Norman Maurer
7c7acdcaac
[ #2033 ] Correctly handle adding of IdleStateHandler after Channel was already active and registered
2013-12-03 13:56:43 +01:00
Norman Maurer
17f5865e38
[maven-release-plugin] prepare for next development iteration
2013-11-29 19:31:01 +01:00
Norman Maurer
ead617fdcc
[maven-release-plugin] prepare release netty-4.0.14.Beta1
2013-11-29 19:30:55 +01:00
Norman Maurer
6cf2748dbb
[maven-release-plugin] prepare for next development iteration
2013-11-28 15:04:51 +01:00
Norman Maurer
5fe7596f49
[maven-release-plugin] prepare release netty-4.0.13.Final
2013-11-28 15:04:46 +01:00
Trustin Lee
407f0a36f5
Simplify bundle generation / Add io.netty.versions.properties to all JARs
...
- Fixes #2003 properly
- Instead of using 'bundle' packaging, use 'jar' packaging. This is
more robust because some strict build tools fail to retrieve the
artifacts from a Maven repository unless their packaging is not 'jar'.
- All artifacts now contain META-INF/io.netty.version.properties, which
provides the detailed information about the build and repository.
- Removed OSGi testsuite temporarily because it gives false errors
during split package test and examination.
- Add io.netty.util.Version for easy retrieval of version information
2013-11-26 22:01:46 +09:00
Alex Petrov
90309f9065
Improve doc of IdleStateHandler according to example given in UptimeClientHandler (L57)
2013-11-20 10:24:33 +01:00
Trustin Lee
b65b4199dc
Fix regression introduced by 4c7fa950cc
...
- Some promises were not fulfilled when SSLEngine produces 0 bytes.
2013-11-14 15:09:20 +09:00
Trustin Lee
11f95c78e2
Optimize SslHandler
...
- Fixes #1905
- Call ctx.flush() only when necessary
- Improve the estimation of application and packet buffer sizes
- decode() method now tries to call unwrap() with as many SSL records as
possible to reduce the number of events triggered
2013-11-08 17:41:16 +09:00
Norman Maurer
db78581bbb
[maven-release-plugin] prepare for next development iteration
2013-11-07 18:11:45 +01:00
Norman Maurer
2386777af8
[maven-release-plugin] prepare release netty-4.0.12.Final
2013-11-07 18:11:38 +01:00
Trustin Lee
51ca4f3e91
Fix a bug where SslHandler doesn't sometimes handle renegotiation correctly
...
- Fixes #1964
2013-11-04 16:54:13 +09:00
Trustin Lee
1c2352e6a0
Replace constructor calls on UniqueName and its subtypes with valueOf() wherever possible
2013-10-25 20:58:53 +09:00
Norman Maurer
ceab146b54
[maven-release-plugin] prepare for next development iteration
2013-10-21 07:43:42 +02:00
Norman Maurer
27a89d6032
[maven-release-plugin] prepare release netty-4.0.11.Final
2013-10-21 07:41:49 +02:00
Norman Maurer
79562d5891
[ #1936 ] Fix example in javadoc
2013-10-20 09:32:38 +02:00
Norman Maurer
bcdb3e88d8
[ #1934 ] Correctly log handshake errors and not print them to STDERR
2013-10-18 17:39:04 +02:00
Norman Maurer
beda02fad0
[ #1898 ] No call fireExceptionCaught but just fail the write promise
2013-10-08 10:02:50 +02:00
Norman Maurer
c5f6760c68
[ #1895 ] Fix IllegalStateException which was produced during failing ChunkedWrite after the channel was closed
2013-10-08 06:40:43 +02:00
Norman Maurer
d7da19f745
[maven-release-plugin] prepare for next development iteration
2013-10-02 15:48:52 +02:00
Norman Maurer
d35768ae11
[maven-release-plugin] prepare release netty-4.0.10.Final
2013-10-02 15:48:45 +02:00
Norman Maurer
cf4d25823c
Propagate channelWritabilityChanged() through the pipeline after flushing. Related to [ #1861 ]
2013-09-24 14:05:25 +02:00
Norman Maurer
ef936a6d41
Correctly handle automatically suspend/resume in ChunkedWriteHandler. Related to [ #1861 ]
...
The old implementation was broken and could lead to pending message never be picked up again until the user either explicit called flush or
resumeTransfer().
2013-09-24 13:57:51 +02:00
Norman Maurer
29d34c672c
[ #1855 ] Try to calculate the correct amount of written bytes to update the ChannelProgressiveFuture
2013-09-24 07:49:26 +02:00
Norman Maurer
ffab456aca
Bump up version to reflect correct one
2013-09-09 11:20:12 +02:00
Norman Maurer
363531caf9
[maven-release-plugin] rollback the release of netty-4.0.9.Final
2013-09-06 09:18:34 +02:00
Norman Maurer
9d53573ee8
[maven-release-plugin] prepare for next development iteration
2013-09-06 09:17:15 +02:00
Trustin Lee
ad0c456209
Ensure operationProgressed is invoked even on completion
...
- Fixes #1809
2013-09-05 18:37:14 +09:00
Norman Maurer
2e39b25cd4
[maven-release-plugin] prepare for next development iteration
2013-08-26 12:01:03 +02:00
Norman Maurer
b67659a866
[maven-release-plugin] prepare release netty-4.0.8.Final
2013-08-26 12:00:54 +02:00
Norman Maurer
9e7529b2f5
[ #1743 ] Fix IllegalStateException by remove usage of PendingWrite in ChunkedWriteHandler. This needs more thoughts before re-introduce it
2013-08-16 08:11:19 +02:00
Norman Maurer
48eb73f9b1
[ #1733 ] Correctly pass the promise to the ctx.write(...) in AbstractTrafficShapingHandler
2013-08-13 08:21:26 +02:00
Norman Maurer
f8f19d1539
[ #1732 ] Fix bug which lead ChannelTrafficShapingHandler stop to work after first Channel was disconnected
2013-08-13 08:09:59 +02:00
Norman Maurer
8af5ea8d4f
[ #1658 ] Allow to use AbstractTrafficShapingHandler also with ByteBufHolder based messages
2013-08-10 20:25:35 +02:00
Norman Maurer
c1d787bff7
[ #1722 ] ChunkedWriteHandler.doFlush(...) should not call fireExceptionCaught(..)
2013-08-09 21:32:17 +02:00
Norman Maurer
72395bf400
[ #1719 ] Make sure PendingWrite is only recycled once in ChunkedWriteHandler
2013-08-09 18:44:58 +02:00
Norman Maurer
1d3560e389
[maven-release-plugin] prepare for next development iteration
2013-08-08 13:53:28 +02:00
Norman Maurer
8e97e6c461
[maven-release-plugin] prepare release netty-4.0.7.Final
2013-08-08 13:53:19 +02:00
Norman Maurer
3f2000fa3a
[maven-release-plugin] prepare for next development iteration
2013-08-01 10:59:55 +02:00
Norman Maurer
3f70d5caa4
[maven-release-plugin] prepare release netty-4.0.6.Final
2013-08-01 10:59:46 +02:00
Norman Maurer
e3410680de
[maven-release-plugin] prepare for next development iteration
2013-07-31 20:08:14 +02:00
Norman Maurer
0e124583d6
[maven-release-plugin] prepare release netty-4.0.5.Final
2013-07-31 20:08:05 +02:00
Norman Maurer
56646920c0
Formatting
2013-07-29 20:59:45 +02:00
Norman Maurer
9da81acec1
[ #1657 ] Log content of ByteBufHolder
2013-07-29 20:57:33 +02:00
Norman Maurer
00f1533fa9
[ #1671 ] Fix bug in ChunkedWriteHandler which produce a NPE on empty chunks
2013-07-29 16:23:43 +02:00
Norman Maurer
0cb3541b53
[ #1669 ] Correctly notify the ChannelPromise of delayed writes
2013-07-29 08:13:29 +02:00
Norman Maurer
5e703e7419
[ #1658 ] Let trafficshaping work with ByteBuf and ByteBufHolder out of the box
2013-07-29 07:31:09 +02:00
Frédéric Brégier
61b1214b24
Fix for first issue from #1652 on computation of time to wait in AbstractTrafficShapingHandler for Netty 4
...
Fix for first issue from #1652 on computation of time to wait in AbstractTrafficShapingHandler for Netty 4, using the same formula than in Netty 3 (wrong place for parenthese).
Was:
(bytes * 1000 / limit - interval / 10) * 10;
Becomes:
(bytes * 1000 / limit - interval) / 10 * 10;
2013-07-26 15:24:31 +02:00
Norman Maurer
2b3ac3d446
Factor out the PendingWrite class and put it in internal package. Make use of it in SslHandler and ChunkedWriteHandler to reduce GC-pressure
2013-07-25 12:36:24 +02:00