Commit Graph

2477 Commits

Author SHA1 Message Date
Norman Maurer
cc472c55eb Merge pull request #46 from CruzBishop/channelbuffer-boolean
Boolean operations in channel buffers (fix for NETTY-344)
2011-11-07 03:20:50 -08:00
Cruz Bishop
dab76e266c Added tests 2011-11-07 21:13:45 +10:00
Cruz Bishop
507b9d0b70 Boolean operations in channel buffers
Adds getBoolean(index), readBoolean(), writeBoolean(value), setBoolean(index, value)
Fixes https://issues.jboss.org/browse/NETTY-344
2011-11-07 21:07:54 +10:00
Trustin Lee
53b055fc10 Merge pull request #44 from motlin/master
Remove unnecessary interface modifiers.
2011-11-06 21:53:50 -08:00
Sunng
9aa81cd083 fix typo 2011-11-07 13:35:37 +08:00
Norman Maurer
1f3d35bd34 release replaying decoder cumulation buffer after firing upstream 2011-11-06 20:35:23 +01:00
Craig P. Motlin
c27af721b0 Remove unnecessary interface modifiers. 2011-11-06 11:54:21 -05:00
Norman Maurer
47a3783d6c Merge pull request #42 from CruzBishop/LocalAddressCompareFix
Small fix for LocalAddress.compareTo
2011-11-05 23:51:33 -07:00
Cruz Bishop
8df2524bb0 Small fix for LocalAddress.compareTo when both this and o are ephermal 2011-11-06 08:08:18 +10:00
Sun Ning
942b746d73 add an option in LengthFieldBasedFrameDecoder for whether to count the length field into frame length. 2011-11-05 22:09:27 +08:00
Norman Maurer
cc758aa3b6 Fix event firing in OioAcceptedSocketChanel which I broke before 2011-11-05 08:45:33 +01:00
Norman Maurer
d176f4ae83 Replace tabs with spaces 2011-11-04 19:28:15 +01:00
Norman Maurer
5094bdc0cc Replace tabs with spaces 2011-11-04 19:18:28 +01:00
Norman Maurer
b82ee7341c IOStreamAddress is Serializable so add SerialVersionUID field 2011-11-03 20:33:32 +01:00
Norman Maurer
2449f03540 Remove not used SerialVersionUID fields 2011-11-03 20:32:23 +01:00
Norman Maurer
57a6d39014 Replace tabs by spaces 2011-11-03 19:19:00 +01:00
Norman Maurer
220d95fe0d Merge pull request #37 from normanmaurer/master
Safe construction via factory method
2011-11-03 07:36:20 -07:00
Norman Maurer
31b319a5dc 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
2011-11-03 11:25:24 +01:00
Norman Maurer
84ed71d42d Use safe-construction when calling fireChannelOpen() etc. This code is
based on the code of the following pull request:
https://github.com/netty/netty/pull/18

It just make it apply again to current master
2011-11-02 19:17:10 +01:00
Norman Maurer
56462ef91a Encoder and Decoder that wrap and unwraps the array of bytes. See
NETTY-357
2011-11-01 20:09:38 +01:00
Trustin Lee
7242771688 Merge branch 'master' of github.com:netty/netty 2011-10-31 15:22:47 -07:00
Trustin Lee
bb5bbdc99e Upgrade to JUnit 4.10 2011-10-31 15:19:50 -07:00
Jestan Nirojan
08b509b209 1)refactored sctp socket option implementation
2)tested sample sctp program under 20,000 msg per sec
2011-10-30 19:44:11 +05:30
Jestan Nirojan
6766513157 Merge remote branch 'upstream/master' 2011-10-30 13:50:02 +05:30
Vibul Imtarnasan
69d16c0382 Merge pull request #36 from veebs/master
Added webbit to NOTICE file
2011-10-29 22:47:13 -07:00
Veebs
418df7e9bf Added webbit in NOTICE 2011-10-30 16:41:32 +11:00
Norman Maurer
bdc31e1603 Merge branch 'master' of ssh://git@github.com/netty/netty.git 2011-10-29 20:29:28 +02:00
Norman Maurer
aa5510e3b2 Remove in favor of IOStreamChannelFactory 2011-10-29 20:27:58 +02:00
Norman Maurer
a017961168 Merge pull request #22 from pfisterer/master
UPDATED: Channel(Sink) implementation for connecting to InputStream and OutputStream objects
2011-10-29 11:06:02 -07:00
Vibul Imtarnasan
c7886a5952 Merge pull request #26 from veebs/master
Web Socket HyBi 10 support
2011-10-26 17:23:13 -07:00
Veebs
e79d5720d3 Added webbit license and credits 2011-10-27 10:34:37 +11:00
Norman Maurer
a67e550207 Merge changes back from 3.2 branch which fixes a deadlock in the
SslHandler. See NETTY-443
2011-10-25 19:58:21 +02:00
Norman Maurer
2ae095f92c Fix some unused imports and warnings 2011-10-24 20:04:16 +02:00
norman
e9f97d6662 Fix formatting 2011-10-24 12:53:53 +02:00
norman
6dce4098d7 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 the old behavior. The default is the new one. See
NETTY-447
2011-10-24 08:25:59 +02:00
Norman Maurer
a2f4404545 Fix authors 2011-10-23 19:33:30 +02:00
Norman Maurer
0fbe65b076 Add the StreamHandler which can be used to adapt old blocking io network
code to netty. See NETTY-307
2011-10-23 19:32:00 +02:00
Trustin Lee
579ddf72fc Fix NETTY-432 HttpContentEncoder should not encode if Content-Encoding is set already and it is not 'identity'
* Replace getTargetContentEncoding() and newEncoder() with beginEncode() to avoid duplicate content detection and to provide a more flexible way to reject an encoding request
2011-10-22 22:34:03 -07:00
Trustin Lee
b944531b5e Simpler constructor form should appear first 2011-10-22 21:51:38 -07:00
Trustin Lee
114ddd9a62 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:08 -07:00
Trustin Lee
3b7f55dc35 Testing e-mail notification (2) 2011-10-22 20:53:19 -07:00
Trustin Lee
ce3240d3a4 Testing e-mail notification 2011-10-22 20:51:43 -07:00
Norman Maurer
c8271a2e1d Merge pull request #33 from normanmaurer/master
Only release FileRegion if configured to do so. See NETTY-440
2011-10-22 11:31:46 -07:00
Norman Maurer
c641f24e8f Only release FileRegion after transfer was done if its configured to do
so. The default is true in the master branch. See NETTY-440
2011-10-22 20:27:48 +02:00
Trustin Lee
0d78c0508d NETTY-439 Call channelBound/Connected from worker
* Move channelBound() to RegisterTask
* Simplify the if block in RegisterTask
2011-10-21 15:36:06 -07:00
Trustin Lee
68c9b0feeb 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 14:04:44 -07:00
Norman Maurer
8fb34a4717 Merge pull request #32 from normanmaurer/master
Push fixes from 3.2 branch to master
2011-10-21 09:18:42 -07:00
norman
6dd77331ed Add support for FileRegion in OIOWorker. See NETTY-441 2011-10-21 18:11:06 +02:00
norman
c6e0162887 Make sure FileRegion.releaseExternalResources() is called after the
write was done. See NETTY-440
2011-10-21 18:06:00 +02:00
norman
783e7562c7 Fire ChannelConnected events in a Worker Thread. See NETTY-439 2011-10-21 18:04:18 +02:00