Commit Graph

2171 Commits

Author SHA1 Message Date
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
Trustin Lee
d1f05ea4e7 Fixed a race condition in MemoryAwareThreadPoolExecutor
Replaced a semaphore with a custom concurrency construct to fix a
known race condition in MemoryAwareThreadPoolExecutor
2011-01-13 14:57:03 +09:00
Trustin Lee
5af93c2753 Fixed incorrect usage of ByteBuffer.arrayOffset()
* NETTY-368 Wrappedbuffer does not honour posiiton()
* and similar mistakes found during a review
2011-01-12 19:24:09 +09:00
Trustin Lee
55f9597c0f Set buildNumber to 'unknown' when built out of git repository 2011-01-12 18:59:09 +09:00
Trustin Lee
b4fe592a53 Fixed issue: NETTY-371 OSGi Manifest requires Bundle-BuddyPolicy for
object deserialization

Added proper BuddyPolicy properties to the manifest
2011-01-12 18:32:33 +09:00
Trustin Lee
5a3f8aeb82 Fixed issue: NETTY-374 ChunkedWriteHandler and handling messages after
channel close

Fixed a bug where a write requests made after closure are not
discarded
2011-01-12 18:27:17 +09:00
Trustin Lee
ed23803a87 Fixed issue: NETTY-377 messageReceived could happen before
channelConnected when using local channels

More precise LocalChannel state management to avoid incorrect event
order
2011-01-12 17:58:49 +09:00
Trustin Lee
4861e39a74 Merge branch '3.2' of git://github.com/netty/netty into 3.2 2011-01-11 18:59:31 +09:00
Trustin Lee
966b894aa3 Changed SCM URLs 2011-01-11 18:56:45 +09:00
Trustin Lee
3bb28f13e5 Fixed build issues
* Replaced the buildnumber plugin with antrun exec tag to generate the build number correctly.
* Fixed a problem where MANIFEST.MF is lost
2011-01-11 18:56:37 +09:00
Trustin Lee
00056f585f Changed SCM URLs 2011-01-11 18:41:14 +09:00
Trustin Lee
95ac54ea90 Fixed build issues
* Replaced the buildnumber plugin with antrun exec tag to generate the build number correctly.
* Fixed a problem where MANIFEST.MF is lost
2011-01-11 18:17:45 +09:00
Trustin Lee
1481cee81a Fixed indentation 2011-01-04 14:53:01 +09:00
iainmcgin
fa28d2824f Fix for NETTY-370 - documentation updated to reflect the correct behaviour of
high / low water marks on the interest ops of nio channels.
2011-01-04 14:51:10 +09:00
Bruce Mitchener
2d00f07d6c Correct variable name in code samples. 2011-01-04 14:39:22 +09:00
Trustin Lee
122db6fd21 Fixed NETTY-376 Manifest not present in the first entry of the zip 2011-01-04 14:25:11 +09:00
Trustin Lee
276626221d Merge branch '3.2' of github.com:trustin/netty into 3.2 2010-11-23 21:24:18 +09:00
Trustin Lee
957793304b Added IntelliJ specific files to .gitignore 2010-11-23 21:16:41 +09:00
Trustin Lee
914c9da8cc Added IntelliJ specific files to .gitignore 2010-11-23 20:10:51 +09:00
Trustin Lee
e102647d65 Added Version.java to .gitignore because it's generated during the build 2010-11-15 18:18:09 +09:00
Trustin Lee
91d0ce74bb Reverted back the changes in DynamicChannelBuffer which made the test fail 2010-11-15 18:12:26 +09:00
Trustin Lee
e395aacbd4 Imported the 3.2 branch from Netty SVN repository 2010-11-12 00:28:17 +09:00
Trustin Lee
f700f9b14f Fixed misleading Javadoc in ReplayingDecoder 2010-11-09 05:35:24 +00:00
Trustin Lee
1f2285f57e Fixed issue: NETTY-360 Changing Channel.interestOps sometimes does not work under heavy write traffic in NIO transport
* Made sure all setRawInterestOps() calls are protected by interestOpsLock
Fixed a race condition in the HexDumpProxy example
2010-10-24 18:24:20 +00:00
Trustin Lee
d9dba0d754 Fixed wrong license file name 2010-10-24 18:17:54 +00:00
Trustin Lee
f13e7053fe Fixed an OOME in the HexDumpProxy example 2010-10-23 11:38:34 +00:00
Trustin Lee
b85731e59f Sync with upstream 2010-10-20 11:33:23 +00:00
Trustin Lee
35a2326e82 Fixed compilation errors in some compilers 2010-10-19 06:11:34 +00:00
Trustin Lee
4399c1e90b Removed nagging compiler warnings introduced by Eclipse Helios 2010-10-19 06:00:42 +00:00
Trustin Lee
57dc0b3bc8 Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
* Improved HttpHeaders.is100ContinueExpected() to conform to the RFC
* HttpChunkAggregator now sends "HTTP/1.1 100 Continue" response automatically.
* Added some TODO items which should be done in 4.0.
2010-10-19 05:40:44 +00:00
Trustin Lee
d093ed4a54 Fixed a potential thread safety issue in SslHandler.handleRenegotiation() - it seems to cause the first handshake attempt to fail rarely on some platform (Solaris SPARC?) 2010-10-19 04:05:28 +00:00
Trustin Lee
4fd034ab5d Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
* Improved the snoop example to support the 100-continue header
* Fixed a problem in HttpClientCodec, HTtpContentDecoder and HttpContentEncoder where 100-continue response causes incorrect behavior
2010-10-18 08:19:03 +00:00
Trustin Lee
04430cd6d3 Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
* Added HttpHeaders.is/set100ContinueExpected()
* HttpMessageDecoder converts unchunked messages into chunked ones if Expect: 100-continue header exists.
2010-10-17 18:34:03 +00:00
Trustin Lee
13a1b73cd1 Fixed issue: NETTY-356 WebSocket encoder regression
* Fixed a bug where WebSocketFrameEncoder does not set MSB of the length field
2010-09-09 10:59:22 +00:00
Trustin Lee
0cc728a9f0 Resolved issue: NETTY-346 ReplayingDecoderBuffer doesn't support array()
* Added ReplayingDecoder.internalBuffer() so that a brave user accesses the internal buffer directly at one's own risk
2010-08-30 06:02:08 +00:00