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
Norman Maurer
0bc7d3f5d1
[maven-release-plugin] prepare for next development iteration
2013-07-23 10:04:23 +02:00
Norman Maurer
ca00182797
[maven-release-plugin] prepare release netty-4.0.4.Final
2013-07-23 10:04:14 +02:00
Norman Maurer
fa4e15e198
Make PendingWrites recyclable to reduce GC pressure
2013-07-20 18:15:35 +02:00
Trustin Lee
4f6ba4fe3d
Use tryProgress just in case of user error
2013-07-19 13:30:33 +09:00
Trustin Lee
762adfcb69
Update HttpStaticFileServer example / Fix bugs related with progress notification
...
- Fix a bug in DefaultProgressivePromise.tryProgress() where the notification is dropped
- Fix a bug in AbstractChannel.calculateMessageSize() where FileRegion is not counted
- HttpStaticFileServer example now uses zero copy file transfer if possible.
2013-07-19 13:21:32 +09:00
Trustin Lee
f96a8e5951
Implement ProgressivePromise notification in NIO byte channels and ChunkedWriteHandler
...
- Refine the contract of GenericProgressiveFutureListener.
- Negative 'total' now means 'unknown', which is useful for ChunkedWriteHandler.
2013-07-19 12:53:23 +09:00
Trustin Lee
6791984146
Remove unnecessary code from SslHandler
...
- Remove CloseNotifyListener which was used only to reduce the noisy logging.
- Instead, simply do a string match.
- Fixes #1608
2013-07-19 09:24:19 +09:00
Trustin Lee
b130ee6a6c
[maven-release-plugin] prepare for next development iteration
2013-07-18 11:17:42 +09:00
Trustin Lee
10d395e829
[maven-release-plugin] prepare release netty-4.0.3.Final
2013-07-18 11:17:31 +09:00
Norman Maurer
fc7c950b08
[maven-release-plugin] prepare for next development iteration
2013-07-17 15:58:36 +02:00
Norman Maurer
bbbf72359e
[maven-release-plugin] prepare release netty-4.0.2.Final
2013-07-17 15:58:28 +02:00
Trustin Lee
57eb531eb8
[maven-release-plugin] prepare for next development iteration
2013-07-16 17:16:10 +09:00
Trustin Lee
76cefcc421
[maven-release-plugin] prepare release netty-4.0.1.Final
2013-07-16 17:15:54 +09:00
Norman Maurer
def3dbe035
Add missing closing paren
2013-07-16 07:39:33 +02:00
Norman Maurer
5297eba280
[maven-release-plugin] prepare for next development iteration
2013-07-15 15:48:15 +02:00
Norman Maurer
c5d8af446a
[maven-release-plugin] prepare release netty-4.0.0.Final
2013-07-15 15:48:05 +02:00
Trustin Lee
246a3ecdcb
[maven-release-plugin] prepare for next development iteration
2013-07-15 20:58:33 +09:00
Trustin Lee
e8fd209115
[maven-release-plugin] prepare release netty-4.0.0.Final
2013-07-15 20:58:21 +09:00
Norman Maurer
a215ba6ef6
Some javadocs
2013-07-12 15:45:09 +02:00
Norman Maurer
023201f684
[ #1570 ] ChunkedWriteHandler.discard(..) must not call fireExceptionCaught(...)
2013-07-12 10:58:38 +02:00
Norman Maurer
1a7d1f7023
[ #1568 ] Fix problem where an exception was fired after the channel was closed.
...
* Calling fireExceptionCaught(...) in this case was not correct as we failed writes which are outbound operations.
2013-07-12 10:42:39 +02:00
Jeff Pinner
be963d4caf
rewrite SslHandler's flush0 message to match docs
2013-07-12 07:18:47 +02:00
Jeff Pinner
c77ab7d092
Fix a NoSuchElementException and out-of-order event problem caused by SslHandler
...
The fix prevents from reentering channelRead incorrectly. It also
prevents from getting the inbound requests out of order.
2013-07-12 09:51:28 +09:00
Norman Maurer
d8479a04df
Allocate buffer from ByteBufAllocator in ChunkedFile
2013-07-12 00:02:54 +02:00