Commit Graph

2335 Commits

Author SHA1 Message Date
Trustin Lee
1ec42526d5 Related issue: NETTY-18 (Performance degradation when Channel.write() is called from outside an I/O thread (NIO transport)
* More precise constraint level detection.
2008-08-19 23:52:20 +00:00
Trustin Lee
4247232f51 Updated error message 2008-08-19 14:02:27 +00:00
Trustin Lee
e53b802def Relates issue: NETTY-18 (Performance degradation when Channel.write() is called from outside an I/O thread (NIO transport)
* Allowed a user to specify the NIO provider constraint level using the system property
* Added detectConstraintLevel() method to implement the constraint level autodetection
2008-08-19 14:01:41 +00:00
Trustin Lee
795b14a7b1 Relates issue: NETTY-18 (Performance degradation when Channel.write() is called from outside an I/O thread (NIO transport)
* Extracted NioWorker.WAKEUP_REQUIREMENT_LEVEL to NioProviderMetadata
2008-08-19 13:50:42 +00:00
Trustin Lee
3828b3754a Relates issue: NETTY-18 (Performance degradation when Channel.write() is called from outside an I/O thread (NIO transport)
* The bottleneck was too frequent wakeups.  I found that recent NIO implementations don't require wakeups to get / set interestOps.
2008-08-19 13:21:22 +00:00
Trustin Lee
07e0bf9413 Removed unused code in DefaultChannelFuture 2008-08-19 10:21:04 +00:00
Trustin Lee
65eda0902d Fixed an issue: NETTY-20 (Incorrect object length constraint in ObjectEncoder and ObjectEncoderOutputStream) 2008-08-19 10:17:00 +00:00
Trustin Lee
c76451b874 ObjectEncoder should allow zero estimated length as we did in DynamicChannelBuffer 2008-08-19 10:08:20 +00:00
Trustin Lee
6460f2a70f Runnable should be declared first as declared in the constructor 2008-08-19 10:06:55 +00:00
Trustin Lee
4d17646743 NETTY-19 Investigate if there's any copyright issue related with MINA
* Replaced NamePreservingRunnable with a new ThreadRenamingRunnable
2008-08-19 10:06:07 +00:00
Trustin Lee
094a4aaa8d Fixed issue: NETTY-17 (NioSocketChannelConfig.setWriteSpinCount() does nothing.)
* Added an assignment statement
2008-08-18 16:51:06 +00:00
Trustin Lee
1837b20051 Fixed an issue: NETTY-16 (SSL handshake failure should be reported to the ChannelPipeline.)
* Added SslHandler.newHandshakeFuture() and replaced all handshake future creation code with it
2008-08-18 11:30:58 +00:00
Trustin Lee
49bac1aa73 Fixed an issue: NETTY-15 (NullPointerException in SslHandler if handshake() method is not called explicitly.)
* Modified SslHandler.setHandshakeSuccess/Failure(..) to create a new handshakeFuture if not created yet.
2008-08-18 11:24:04 +00:00
Trustin Lee
2d6cfe9af6 Fixed an issue: Netty-14 (IllegalArgumentException when creating a dynamic buffer with 0 estimatedLength)
* Allowed zero initial capacity
* Made the exception message more specific
2008-08-18 11:17:42 +00:00
Trustin Lee
a7c73d2e52 Fixed issue: NETTY-13 (Stack overflow when an exception is thrown while processing ExceptionEvent)
* Renamed notifyException to notifyHandlerException
* Prevented infinite recursion caused by failure on exceptionCaught
2008-08-18 11:11:55 +00:00
Trustin Lee
a05905f64a Removed PMD and Cobertura plugin from the pom.xml - IDE will take care of them 2008-08-18 03:48:01 +00:00
Trustin Lee
4fe7536dbf Added reports directory to svn:ignore 2008-08-18 03:39:11 +00:00
Trustin Lee
a2eed846b4 Fixed NETTY-10 (Bootstrap.getPipeline() shold throw an IllegalStateException if pipelineFactory property is in use.) and NETTY-12 (Bootstrap.setPipeline() doesn't update the pipeline property at all.) 2008-08-18 03:07:05 +00:00
Trustin Lee
bd51f12fb7 More test cases for Bootstrap 2008-08-18 03:01:24 +00:00
Trustin Lee
a421f94909 A couple more test cases for Bootstrap 2008-08-18 02:54:03 +00:00
Trustin Lee
82f4d193b1 Added test cases for Bootstrap 2008-08-18 02:46:41 +00:00
Trustin Lee
866a74305c Fixed issue: NETTY-10 (DefaultChannelPipeline.removeFirst() and removeLast() throws NullPointerException)
* Made sure NoSuchElementException is thrown when the pipeline is empty
* Made sure NullPointerException is not thrown when the pipeline contains only one handler
2008-08-18 02:38:54 +00:00
Trustin Lee
8e9b51a412 Fixed issue: NETTY-9 (DefaultChannelPipline.getFirst() and getLast() throws NullPointerException if the pipeline is empty.)
* Added null check code in getFirst() and getLast()
2008-08-18 02:27:11 +00:00
Trustin Lee
7e0ac91231 Added easymock to the test scope dependency 2008-08-17 05:57:09 +00:00
Trustin Lee
166363d438 Fixed deployment problem 2008-08-13 08:21:53 +00:00
Trustin Lee
1163a0eaf9 [maven-release-plugin] prepare for next development iteration 2008-08-13 08:08:55 +00:00
Trustin Lee
807f69eaec [maven-release-plugin] prepare release netty-3.0.0.CR1 2008-08-13 08:08:37 +00:00
Trustin Lee
1b40d714b5 Fixed last-minute problem with OSGi bundle packaging 2008-08-13 08:07:17 +00:00
Trustin Lee
5f14fdd348 [maven-release-plugin] rollback the release of netty-3.0.0.CR1 2008-08-13 07:20:22 +00:00
Trustin Lee
c92d4f72dd [maven-release-plugin] prepare for next development iteration 2008-08-13 07:05:39 +00:00
Trustin Lee
af2bcd291f [maven-release-plugin] prepare release netty-3.0.0.CR1 2008-08-13 07:05:21 +00:00
Trustin Lee
12dd5a35b3 More JavaDoc for ChannelPipelineCoverage 2008-08-12 12:09:50 +00:00
Trustin Lee
93f76ce594 * More comments on examples
* Added JavaDoc for ChannelPipelineCoverage which is somewhat difficult to understand.
2008-08-12 11:58:15 +00:00
Trustin Lee
5e99787df6 Split DiscardHandler into DiscardClientHandler and DiscardServerHandler for easier understanding 2008-08-12 10:39:53 +00:00
Trustin Lee
7de02097d0 Added APIviz tags to the logging package 2008-08-11 08:03:35 +00:00
Trustin Lee
31aa468741 Polished JavaDoc 2008-08-11 07:48:45 +00:00
Trustin Lee
27827068cd Fixed wrong explanation in ServerBootstrap 2008-08-11 07:46:54 +00:00
Trustin Lee
e5def24c8b Added JavaDoc for ChannelFuture and its related types 2008-08-11 07:33:19 +00:00
Trustin Lee
0d5657b923 Removed an empty line 2008-08-11 06:59:15 +00:00
Trustin Lee
24b4db3f57 JavaDoc for the bootstrap package 2008-08-11 06:57:13 +00:00
Trustin Lee
ad805a1f70 Fixed a JavaDoc error in ChannelBuffer 2008-08-11 04:10:20 +00:00
Trustin Lee
b2cc6c264c More JavaDoc 2008-08-11 04:08:41 +00:00
Trustin Lee
0a594a27d5 Fixed another two contract violations in AbstractChannelBuffer 2008-08-11 03:36:49 +00:00
Trustin Lee
d882e4f27c * JavaDoc cleanup
* Fixed contract violation in AbstractChannelBuffer.get/setBytes()
2008-08-11 03:33:25 +00:00
Trustin Lee
298c9eda57 Removed a unnecessary period 2008-08-10 15:43:04 +00:00
Trustin Lee
f34a018218 More JavaDoc 2008-08-10 15:34:17 +00:00
Trustin Lee
5cd1d72571 * Removed a unused method in ConvertUtil
* More JavaDoc
2008-08-10 15:26:44 +00:00
Trustin Lee
c7da1869f8 More JavaDoc 2008-08-10 15:25:16 +00:00
Trustin Lee
e7e22321d0 Renamed writable space to writable bytes to avoid ambiguity 2008-08-10 15:20:26 +00:00
Trustin Lee
6f30a4a748 Fixed a bug where Channel.getBytes and setBytes don't update the argument's reader/writerIndex when relative indexing is used. 2008-08-10 15:16:02 +00:00