Commit Graph

9660 Commits

Author SHA1 Message Date
Trustin Lee
243264efb0 NioWorker optimization
* Use of read write lock
* Split write into two versions (fair and unfair)
2008-08-31 02:59:54 +00:00
Trustin Lee
c0b5d93b0a Added system property detection for Mac OS X 2008-08-30 12:57:04 +00:00
Trustin Lee
d2a07463ef Added SystemPropertyUtil 2008-08-30 07:29:00 +00:00
Trustin Lee
93c1dd58ba Improved NIO constraint level detection - should start up faster with Sun JVM 2008-08-30 07:28:23 +00:00
Trustin Lee
fd4de999bb Decreased the number of wakeup() calls even when then constraint level is greater than 0 2008-08-30 06:19:45 +00:00
Trustin Lee
90e35cfc14 Typo 2008-08-30 01:33:22 +00:00
Trustin Lee
79743b0528 Tiny micro optimization on test data generation 2008-08-29 00:26:54 +00:00
Trustin Lee
8da05713fe Fixed issue: NETTY-40 (SslHandler dead lock on Oio-Oio communication)
* More fine-grained lock acquisition
2008-08-29 00:23:47 +00:00
Trustin Lee
57c76d348d [maven-release-plugin] prepare for next development iteration 2008-08-28 13:42:29 +00:00
Trustin Lee
02ec93b33a [maven-release-plugin] prepare release netty-3.0.0.CR3 2008-08-28 13:41:07 +00:00
Trustin Lee
921ec38d0c Trying to avoid redundant deployment on release 2008-08-28 13:39:49 +00:00
Trustin Lee
07fba7f859 Suppressed unnecessary warning message .. (was not fixed in the previous fix) 2008-08-28 13:37:26 +00:00
Trustin Lee
506b7aeb05 Package renaming... (forgot to add 'codec') 2008-08-28 12:31:39 +00:00
Trustin Lee
e03ce3e661 Decreased the test loop count 2008-08-28 12:15:38 +00:00
Trustin Lee
ea784b00b5 Fixed unnecessary exception notification on AsynchronousCloseException 2008-08-28 12:15:00 +00:00
Trustin Lee
ec8f441ea6 Improved selector loop shutdown time 2008-08-28 11:49:22 +00:00
Trustin Lee
7d1ec11787 * Fixed issue: NETTY-36 DelimiterBasedFrameDecoder can choose a wrong delimiter when more than one delimiter are specified.
* A bunch of integration tests (78% test coverage)
2008-08-28 11:36:26 +00:00
Trustin Lee
605ac3d35a * Improved socket echo integration test to check the state more strictly.
* Fixed issue NETTY-35 (ChannelFuture returned by Channel.close() is not notified if SslHandler is in the pipeline.)
2008-08-28 09:07:34 +00:00
Trustin Lee
ddbabc98ef Integration tests (echo test) 2008-08-27 13:14:28 +00:00
Trustin Lee
c7a2e05ef2 Typo 2008-08-27 12:22:06 +00:00
Trustin Lee
4144017b75 * Fixed a bug where CompositeChannelBuffer.order() returns a wrong order
* Fixed a bug where ChannelBuffer.wrappedBuffer() can generate a non-EMPTY_BUFFER when the buffer is actually empty
2008-08-27 12:21:04 +00:00
Trustin Lee
7741934601 More test cases.. 2008-08-27 07:17:41 +00:00
Trustin Lee
deb5760801 Added a test case for ChannelBufferIndexFinder 2008-08-27 05:45:45 +00:00
Trustin Lee
98f533db96 Improved Client/ServerBootstrapTest to run with both oio and nio socket transport 2008-08-26 16:09:00 +00:00
Trustin Lee
94831112ee More test cases 2008-08-26 15:57:21 +00:00
Trustin Lee
2878a47222 Added author and version tags 2008-08-26 15:39:34 +00:00
Trustin Lee
a7c181072e Fixed issue: NETTY-33 (CompositeChannelBuffer.copy() does not respect the byte order.)
* More test cases..
2008-08-26 15:37:08 +00:00
Trustin Lee
6f34eca0b6 More test cases 2008-08-26 14:15:10 +00:00
Trustin Lee
3b69dd7ddb Fixed issue: NETTY-32 (ChannelBuffer.duplicate() sometimes doesn't copy all properties) 2008-08-26 11:08:55 +00:00
Trustin Lee
a57e21aee7 More test cases 2008-08-26 10:54:42 +00:00
Trustin Lee
834b373a96 Fixed issue: NETTY-31 (ChannelBuffers.equals() fails to compare the buffers with different endianness)
* Same fix to compareTo
2008-08-26 10:52:21 +00:00
Trustin Lee
f4165b10e9 Fixed issue: NETTY-31 (ChannelBuffers.equals() fails to compare the buffers with different endianness)
* Made sure to swap the order if the two buffers have different orders
2008-08-26 10:35:36 +00:00
Trustin Lee
48929afd60 Fixed a bug where DuplicateChannelBufferTest doesn't test DuplicateChannelBuffer 2008-08-26 07:39:39 +00:00
Trustin Lee
57551914af * More tests
* Fixed bulk transfer bugs in the CompositeChannelBuffer
2008-08-26 07:30:41 +00:00
Trustin Lee
8f3799c02e * More tests
* Fixed bugs related with bulk byte transfer
2008-08-26 07:12:04 +00:00
Trustin Lee
6801298956 More test coverage 2008-08-26 05:43:41 +00:00
Trustin Lee
1ae5312777 Fixed compilation errors in JDK 1.6 and 1.5 - was using 1.7 :-( 2008-08-25 13:02:02 +00:00
Trustin Lee
db1ee35228 Can't reproduce anymore (!?) 2008-08-25 12:51:54 +00:00
Trustin Lee
e5f1639f24 * JdkLogger passes null method name now - it's allowed in the specification explicitly.
* Better failure tracking in ServerBootStrapTest (still not sure if it's reproduceable)
2008-08-25 12:46:33 +00:00
Trustin Lee
10bc616b4b Fixed issue: NETTY-30 (JDK Logging is slow.)
* Used logp instead of log
2008-08-25 12:06:27 +00:00
Trustin Lee
88833d9ded Fixed issue: NETTY-29 (ChannelBufferInputStream.readFully(byte[], int, int) should throw IndexOutOfBoundsException.)
* ChannelBufferInputstream.checkAvailable() throws IndexOutOfBoundsException instead of IllegalArgumentException now.
2008-08-25 11:45:13 +00:00
Trustin Lee
a4edbd444e * Added SucceededChannelFutureTest
* Added FailedChannelFutureTest
2008-08-25 11:35:12 +00:00
Trustin Lee
e2262e135a * Forgot to update the pom.xml
* Added CompleteChannelFutureTest
2008-08-25 11:27:30 +00:00
Trustin Lee
a8c5f840bd Fixed a problem where an executor shuts down too early 2008-08-25 11:12:06 +00:00
Trustin Lee
4d13ccc109 Fixed failing tests 2008-08-25 11:04:01 +00:00
Trustin Lee
9dabeb4e47 Added test cases for the logging package 2008-08-25 11:02:30 +00:00
Trustin Lee
f22f07ec51 More test coverage 2008-08-25 10:17:17 +00:00
Trustin Lee
4f276cf52e Moved inner classes out to top level classes for easier testing 2008-08-25 10:16:56 +00:00
Trustin Lee
b4d84ce73b Fixed issue: NETTY-28 (Channel.compareTo() can return 0 for different channels.)
* Changed AbstractChannel.compareTo(Channel) to use the id of the channels instead of the identity hash codes
2008-08-25 08:57:03 +00:00
Trustin Lee
6ff5a87d01 * Removed SilentLoggerFactory which is not so useful
* Added ClientBootstrapTest
* Added ServerBootstrapTest
* Fixed a unexpected behavior when null localAddress or remoteAddress is specified
2008-08-25 08:44:35 +00:00