Commit Graph

2277 Commits

Author SHA1 Message Date
Trustin Lee
359417358e Add missing license headers and fix class name
* Classloader -> ClassLoader
2011-11-24 10:11:50 +09:00
norman
e6ef89263b Remove @override annotation from interface implementation to make it
compile and usable with java5. This part of the backport of pull request
#75
2011-11-23 15:09:50 +01:00
norman
9424c26caf Merge pull request #75 to the 3.2 branch. Also remove @override
annotation for interface implementation to make it possible to compile
and use with java5
2011-11-23 15:07:02 +01:00
norman
8d40487ff7 Backport fix for #72. QueryStringDecoder should also support ; 2011-11-23 07:22:49 +01:00
Trustin Lee
dcaf6c8645 Include the duplicate name in an exception message 2011-11-23 14:06:07 +09:00
Trustin Lee
249ab1b5b4 Move a final field before non-finals 2011-11-23 14:04:28 +09:00
Trustin Lee
c3240a1ded Merge branch '3.2' of github.com:netty/netty into 3.2 2011-11-23 14:02:35 +09:00
Trustin Lee
2a9c5efe8f Add a missing close(SelectionKey) call
* Without calling close(SelectionKey), the client boss loop can fall
into an infinite loop.
2011-11-23 13:58:52 +09:00
Norman Maurer
82c852fc5e failFast field should be final 2011-11-22 12:58:20 +01:00
Trustin Lee
0da39901c8 Consistent fail-fast property
* DelimiterBasedFrameDecoder and LengthFieldBasedFrameDecoder must
expose the fail-fast option consistently
* Renamed failImmediatelyOnTooLongFrame to failFast
2011-11-22 18:39:11 +09:00
Trustin Lee
0d4dfefeb0 Backport the pull request #70 2011-11-22 16:34:35 +09:00
norman
13d0d84852 Revert "Fix NETTY-452, add an option for whether to count length field into packet length or not"
This reverts commit db5d74748b.
2011-11-11 08:38:50 +01:00
norman
852e0a1ed8 Revert "Revert "Adjust to current master""
This reverts commit 91ea9028f4.
2011-11-11 08:38:10 +01:00
norman
91ea9028f4 Revert "Adjust to current master"
This reverts commit 16792a22be.
2011-11-11 08:36:12 +01:00
norman
16792a22be Adjust to current master 2011-11-10 09:28:07 +01:00
norman
6231030f2b Add failImmediatelyOnTooLongFrame option to DelimiterBasedFrameDecoder
and LengthFieldBasedFrameDecoder
2011-11-10 09:03:56 +01:00
Norman Maurer
db5d74748b Fix NETTY-452, add an option for whether to count length field into
packet length or not
2011-11-09 20:43:50 +01:00
Norman Maurer
582b25eaf5 Merge pull request #50 from jpinner/ignore_httponly_cookies_3.2
Ignore httponly cookies 3.2
2011-11-09 10:11:13 -08:00
Jeff Pinner
5b46cb4cfe ignore HttpOnly as a cookie name instead of throwing exception 2011-11-09 09:51:26 -08:00
Norman Maurer
9c1950606b Merge branch '3.2' of ssh://git@github.com/netty/netty.git into 3.2 2011-11-06 20:18:18 +01:00
Norman Maurer
dd8ec0ea30 release replaying decoder cumulation buffer after firing upstream 2011-11-06 20:17:21 +01:00
Norman Maurer
a555949cb5 fix compareTo 2011-11-06 07:55:30 +01:00
Norman Maurer
e4bd678846 Remove not used SerialVersionUID fields 2011-11-03 20:30:44 +01:00
Norman Maurer
a91c56c84d Remove iostream support from 3.2 branch. This will only go into 4.x 2011-11-03 19:29:22 +01:00
Norman Maurer
24e0b01e8d Release the cumulation buffer after firing upstream so we don't end up
with a "leak" because of a very big ChannelBuffer. This patch is
extracted of the pull request 39. Thanks to arya for the patch. See
NETTY-453
2011-11-03 11:29:39 +01:00
Trustin Lee
5860ce337d Merge branch '3.2' of git://github.com/trustin/netty into 3.2 2011-10-31 15:23:25 -07:00
Trustin Lee
0f8cecc907 Upgrade to JUnit 4.10 2011-10-31 15:20:25 -07:00
Norman Maurer
d742a11c25 Merge pull request #22 from pfisterer/master. Which adds a
IOStreamChannelFactory which can be used to connect to InputStream and
OutputStream
2011-10-29 20:18:10 +02:00
norman
b1c27063a2 Make sure the fireExceptionCaught will not get fired while holding a
lock. This will prevent a deadlock which you may see if you have an
ChannelHandler that will trigger Channel.close() on an Exception. See
NETTY-443
2011-10-25 11:52:27 +02:00
norman
6728766158 ChannelLocal nows removes Channel instances from itself once the Channel
was closed. This is configurable via a constructor parameter to allow
the user to choose what to do. The default is to not remove the Channel
from the ChannelLocal to not break usage which depends on the "old"
behavior. See NETTY-447
2011-10-24 08:32:17 +02:00
Trustin Lee
322f0ccae4 [maven-release-plugin] prepare for next development iteration 2011-10-22 22:39:15 -07:00
Trustin Lee
20df06911e [maven-release-plugin] prepare release netty-3.2.6.Final 2011-10-22 22:39:07 -07:00
Trustin Lee
e3386736c0 Fix NETTY-432 HttpContentEncoder should not encode if Content-Encoding is set already and it is not 'identity' 2011-10-22 22:08:49 -07:00
Trustin Lee
a67cdaeb48 Clean up FileRegion and its implementation changes
* Fix broken javadoc tags
* Remove unnecessary public modifier
* Reorder method
* Make releaseAfterTransfer immutable
2011-10-22 21:47:07 -07:00
Norman Maurer
dbccc9e52b Merge pull request #34 from normanmaurer/3.2
Only release FileRegion if configured to do so. See NETTY-440
2011-10-22 11:31:27 -07:00
Norman Maurer
2a4b91b59b Only release FileRegion after transfer was done if its configured todo
so. The default is false to be sure we are compatible with earlier 3.2
releases. This should be changed to default true in the master branch.
See NETTY-440
2011-10-22 14:56:53 +02:00
Trustin Lee
4b9b421af2 NETTY-439 Call channelBound/Connected from worker
* Move channelBound() to RegisterTask
* Simplify the if block in RegisterTask
2011-10-21 15:42:02 -07:00
Trustin Lee
beadadecf7 Fix NETTY-445 Memory leak in SslHandler
* Ensure SSLEngine.closeInbound() and closeOutbound() is called on
handshake failure.
* Ensure connection is closed when a closure request is issued and
handshake failed.
2011-10-21 13:54:07 -07:00
Norman Maurer
ce1643c187 Merge pull request #30 from normanmaurer/3.2
Move channelConnected handling to worker thread + javadocs
2011-10-21 08:48:16 -07:00
norman
48c6793d30 Revert invalid fix 2011-10-17 15:56:38 +02:00
norman
4be22a42ef ThreadNameDeterminer.CURRENT return the right name now. Was returning
null before all the time
2011-10-17 15:49:29 +02:00
norman
35401caac4 Remove unused imports and fix warnings 2011-10-13 12:08:06 +02:00
norman
fd1d11ec39 Add support for FileRegion in OIOWorker. 2011-10-12 17:09:02 +02:00
norman
2d25998eb4 Make sure FileRegion.releaseExternalResources() is called after the
write was done. See NETTY-440
2011-10-12 15:07:53 +02:00
norman
fb408778d1 Only handle the channelConnected in the worker thread. The channelOpen
and channelBound was moved back to the boss thread. This was done after
reading NETTY-154
2011-10-12 13:15:06 +02:00
norman
cb2e047f1d Remove code which I committed by mistake 2011-10-12 13:04:37 +02:00
norman
bbdc2032f0 Make sure the ChannelOpen, ChannelBound and ChannelConnected events get
fired from within an IO-Worker Thread. This makes sure the Boss-Thread
will not get blocked by any user action
2011-10-12 13:02:50 +02:00
norman
28120aa778 Add javadoc entry to explain that some events are executed in the boss
thread.
2011-10-12 10:35:12 +02:00
norman
203a104889 Merge branch '3.2' of ssh://git@github.com/normanmaurer/netty.git into 3.2 2011-10-12 10:15:22 +02:00
Trustin Lee
ba72bf7235 NETTY-438 Re-enable SSL re-negotiation by default
* Re-enabled renegotiation
* Updated Javadoc
2011-10-10 20:47:32 +09:00