Trustin Lee
5cdcc67086
NETTY-419 ObjectEncoder/ObjectDecoder fails with NPE when deserializing the java.lang.Class instance of an interface type
...
* Fixed a bug where deserializing an interface class fails due to wrong lookup.
* Implemented class lookup caching
2011-08-02 08:25:26 +09:00
Trustin Lee
99daeebe4a
NETTY-417 client channel still open after close and wait
...
* Fixed a bug in SslHandler where a write attempt made after SSLEngine is closed result in unnotified future. Fixed by respecting the case where SslEngineResult.Status == CLOSED
2011-08-02 07:59:14 +09:00
Trustin Lee
07e9378423
NETTY-417 client channel still open after close and wait
...
* Fixed a race condition where NioSocketChannel's state variable is updated *after* its close future is notified
* Removed unnecessary use of ChannelFutureListeners in NioSocketChannel and AbstractChannel
Conflicts:
src/main/java/org/jboss/netty/channel/AbstractChannel.java
src/main/java/org/jboss/netty/channel/socket/nio/NioSocketChannel.java
2011-08-02 07:58:16 +09:00
Trustin Lee
caf8b39172
Fixed a bug where the future associated with the close request is not notified when the channel was closed already when SslHandler attempts to send a closure_notify.
...
This shouldn't be a problem to most applications because they usually do not specify their own future object for the close request.
2011-08-02 07:49:45 +09:00
Felix Trepanier
7e50bd5160
do not encode if empty content
2011-08-02 06:48:01 +09:00
Trustin Lee
483f093036
NETTY-415 ChannelFuture.setFailure() not called when exception thrown handling Channel.close()
...
* Made sure the ChannelFuture associated with a downstream event is marked as failure when an exception is raised before it reaches at ChannelSink.
2011-08-02 06:37:00 +09:00
Trustin Lee
a804c3495e
NETTY-418 isCompleteFailure() and isCompleteSuccess() are both true at the same time
...
* Fixed incorrect isPartialSuccess(), isPartialFailure(), isCompleteFailure() implementation
2011-08-01 06:12:01 +09:00
Trustin Lee
2d35bf2155
NETTY-425 ChannelBuffers.compare does not handle unsigned bytes correctly
...
* Fixed a bug where signed comparison is made where unsigned comparison is expected
2011-08-01 04:28:29 +09:00
Trustin Lee
fba8c7b7a4
NETTY-426 Prevent a user from reusing an upstream MessageEvent to write
...
something
Modified the pipeline implementations so that it rejects the attempt to
send an UpstreamMessageEvent to downstream
2011-08-01 04:17:39 +09:00
Trustin Lee
bf41f4b099
NETTY-410 NioWorker write deadlock
...
Applied the patch provided by Greg Dhuse.
2011-08-01 04:00:26 +09:00
Trustin Lee
d1b40a3c8b
NETTY-407 HttpTunnelingClientSocketChannel failed close() is not sent to
...
calling futures.
* HttpTunnelingClientSocketChannel.writeLastChunk should return a failed
future instead of raising an exception.
2011-08-01 03:54:47 +09:00
Trustin Lee
8f659833c6
NETTY-406 ProtobufEncoder should also support Message.Builder
...
* Added support for Message.Builder
2011-08-01 03:46:51 +09:00
Trustin Lee
7338267221
NETTY-389 java.lang.ClassCastException: org.jboss.netty.channel.FileRegion cannot be cast to org.jboss.netty.buffer.ChannelBuffer
...
* Updated JavaDoc to let users know that not all transports support FileRegion
* Added FIXME for future improvement
2011-08-01 03:39:31 +09:00
Trustin Lee
b2bf5e60af
NETTY-410 NioWorker write deadlock
...
Applied the patch provided by Greg Dhuse.
2011-08-01 01:33:20 +09:00
Trustin Lee
189567322f
Fixed code format
2011-07-29 13:11:19 +09:00
nibin
bc8b92e1f7
* Fixed the bug in CookieEncoder if there are no cookie's set while
...
calling encode(). Without the fix, it ended up in calling the
exception "java.lang.StringIndexOutOfBoundsException".
* Also added test case to verify the patch
Change-Id: Ib96425e07ab50be027ade7be0748cceb6438a586
Conflicts:
src/test/java/org/jboss/netty/handler/codec/http/CookieEncoderTest.java
2011-07-29 13:09:33 +09:00
Trustin Lee
349b03b467
Handle chunked encoding properly for non-200 responses
2011-05-26 12:11:02 +09:00
Trustin Lee
8f7efa0548
Made IdleStateHandler @Sharable and removed unnecessary lazy
...
initialization in ReadTimeoutHandler
2011-05-04 17:30:25 +09:00
Trustin Lee
098ca0342c
NETTY-401 - NullPointerException when ReadTimeoutHandler is
...
concurrently initialized and destroyed
* Made ReadTimeoutHandler @Sharable
* Updated the UptimeClient again
** no static fields for global state - just reuse the handlers.
2011-05-04 17:10:32 +09:00
Trustin Lee
8458c289e2
Merge branch '3.2' of git://github.com/netty/netty into 3.2
2011-05-04 16:56:36 +09:00
Trustin Lee
c3d97acd03
Fixed a bug in the uptime example where uptime is reset even when it
...
shouldn't be.
2011-05-04 16:55:54 +09:00
Trustin Lee
d7700f25b0
Fixed a bug in the uptime example where uptime is reset even when it
...
shouldn't be.
2011-05-04 16:53:31 +09:00
Bruce Mitchener
2a2e57f618
Close bold tag.
2011-05-04 14:04:48 +09:00
Will
1734f5fd01
fix typo in exception message
2011-04-18 17:00:50 +09:00
Daniel Bevenius
66566a1acd
Added a timeout for the UdpClient so that the test cannot hang.
...
I noticed the build "hanging/halting" on the test when running the cobertura code coverage Eclipse plugin.
2011-04-18 16:57:17 +09:00
Trustin Lee
841043006c
NETTY-394 SslHandler does not work with a little endian buffer
...
Added SslHandler.getShort() which replaces ChannelBuffer.getShort() calls
2011-04-02 03:32:15 +09:00
Trustin Lee
2351797a43
NETTY-393: SslHandler infinite loop on Apache Harmony with large payload
...
Increased the SSL buffer size by 1024 as advised
2011-04-02 03:09:05 +09:00
Trustin Lee
370160d0a5
Fixed an infinite loop on a certain NIO impl
2011-03-25 02:30:58 +09:00
Trustin Lee
77f79c3ea6
Fixed a typo
2011-03-09 00:21:11 +09:00
Trustin Lee
df656bf139
Fixed a compilation error. Doh!
2011-03-05 02:51:51 +09:00
Trustin Lee
2d7e9cab6d
Updated Javadoc
2011-03-03 02:02:18 +09:00
Trustin Lee
522bfc4664
Do not write an empty buffer unnecessarily when nextChunk() returned
...
null
2011-03-03 01:36:10 +09:00
Trustin Lee
bf043937af
Better variable naming / Fixed potential stall
2011-03-02 20:00:07 +09:00
Trustin Lee
8763c0b858
NETTY-383 deflate-raw support for HttpContentDecompressor
...
* Added ZlibWrapperType.ZLIB_OR_NONE for auto-detection and updated
the relevant Zlib implementation
2011-02-22 18:05:16 +09:00
Trustin Lee
0859ff782e
Fixed issue: NETTY-382 ChannelLocal.remove() should return the return
...
value of initialValue() instead of null when no value was set.
2011-02-22 16:54:25 +09:00
Trustin Lee
31b257f6f2
[maven-release-plugin] prepare for next development iteration
2011-02-07 21:34:50 +09:00
Trustin Lee
0b47c34036
[maven-release-plugin] prepare release netty-3.2.4.Final
2011-02-07 21:34:34 +09:00
Trustin Lee
ab2cb4386f
Fixed broken SCM URL in pom.xml
2011-02-07 21:31:08 +09:00
Trustin Lee
4a1c1e97f3
Upgraded the enforcer plugin and updated the rule
2011-02-07 21:16:36 +09:00
Trustin Lee
65a445014c
Updated the dependency and plugin versions
2011-02-07 21:06:11 +09:00
Trustin Lee
ad1f698cf1
* Fixed a documentation error in ChannelBuffer javadoc
...
* Clearly specified that FrameDecoder is an implementation of ChannelHandler
2011-02-07 19:59:53 +09:00
Trustin Lee
00e24ce0bb
Added Main-Class property to the manifest for easier version check
2011-02-02 13:16:09 +09:00
Trustin Lee
78104cbd28
Fixed NETTY-381 channelDisconnected event is sometimes not triggered when Channel.close() is called by multiple threads.
...
* Internal state variable should never be set to ST_CLOSED until the close channel future is set
2011-02-01 13:39:20 +09:00
Trustin Lee
a8f3353d7c
Fixed Javadoc error
2011-02-01 12:28:40 +09:00
Trustin Lee
5276a92e71
Fixed issue: NETTY-372 NullPointerException in ChunkedWriteHandler
2011-02-01 12:20:57 +09:00
Trustin Lee
ae6a5ca82d
Fixed issue: NETTY-373 Deadlock in ChunkedWriteHandler on channel
...
close.
* channelInterestChanged event is not fired anymore when a socket is
closing because it is unnecessary
2011-02-01 11:43:16 +09:00
Trustin Lee
5c75915f4c
NioDatagramWorker should reject the write attempt on an unbound
...
socket, raising NotYetBoundException.
2011-02-01 11:35:26 +09:00
Trustin Lee
be6cdb4a11
Fixed issue: NETTY-380 releaseExternalResources() hang indefinitely
...
when called from a handler
* Replaced IoWorkerRunnable with DeadLockProofWorker
* ExecutorUtil now checks dead lock
2011-02-01 11:04:13 +09:00
Trustin Lee
339c2a6641
ChannelGroup.write() should not write to a server channel
2011-01-31 15:25:39 +09:00
Trustin Lee
31df7fa9b1
Fixed NETTY-365 HashedWheelTimer.stop() enters an infinite loop when
...
called from TimerTask
Fixed NETTY-379 Intermittent slippery task timeout in HashedWheelTimer
* Throw an IllegalStateException if HashedWheelTimer.stop() is called
from TimerTask
* Reschedule the slipped task accurately instead of delaying it by one
round
2011-01-31 14:48:30 +09:00