Commit Graph

6156 Commits

Author SHA1 Message Date
Trustin Lee
0830444fc8 Resolved issue: NETTY-84 Replace ChannelFactory.getExternalResource() with ChannelFactory.releaseExternalResources() 2008-11-28 11:18:21 +00:00
Trustin Lee
3e09a4ee60 allowed low water mark to be same with high water mark 2008-11-28 06:57:29 +00:00
Trustin Lee
4e7852e29e Fixed stack overflow error 2008-11-28 06:45:16 +00:00
Trustin Lee
38943f3d23 Code cleanup 2008-11-28 05:38:34 +00:00
Trustin Lee
70b87f84df Elegant shutdown for DiscardClient 2008-11-28 05:36:12 +00:00
Trustin Lee
e0e282770f Code cleanup 2008-11-28 05:28:50 +00:00
Trustin Lee
893cab5ce8 Initial implementation of high/low water mark based write overflow prevention mechanism 2008-11-28 03:19:31 +00:00
Trustin Lee
18ac6f925f Fixed test failure 2008-11-27 16:22:20 +00:00
Trustin Lee
044fd23b0b Fixed a bug where channelUnbound/channelDisconnected/channelClosed event is sometimes not fired 2008-11-27 15:44:14 +00:00
Trustin Lee
e7d5048440 Fixed svn properties 2008-11-27 02:59:05 +00:00
Trustin Lee
00fbf2a2f3 Resource should be released in HttpClient example 2008-11-27 01:11:53 +00:00
Trustin Lee
7a87543020 3.0 -> 3.1 2008-11-26 10:47:25 +00:00
Trustin Lee
9645ccb69e [maven-release-plugin] prepare for next development iteration 2008-11-26 10:43:50 +00:00
Trustin Lee
fa7ebe2cce [maven-release-plugin] prepare release netty-3.1.0.ALPHA1 2008-11-26 10:43:34 +00:00
Trustin Lee
78f86b2d3a Added documentation to-dos 2008-11-26 10:31:32 +00:00
Trustin Lee
6df482b074 Added documentation to-dos 2008-11-26 10:30:21 +00:00
Trustin Lee
0b9b2aca0b Excluded ChannelFactoryExecutorResource from the diagram 2008-11-26 10:26:50 +00:00
Trustin Lee
96c98f636a Simplified some test code using ChannelFactoryResource.release() 2008-11-26 10:22:55 +00:00
Trustin Lee
5a4e0e4d47 Resolved NETTY-82 (Provide a convenient way to shut down a service)
* Added ChannelFactoryResource
* Added ChannelFactory.getExternalResource()
* Updated all client examples to use getExternalResource().release()
2008-11-26 10:18:29 +00:00
Trustin Lee
0886c11645 More Javadoc on the return value of ChannelFuture.setSuccess and setFailure 2008-11-26 09:23:37 +00:00
Trustin Lee
6e40f62574 * Added Channel.getCloseFuture()
* Changed ChannelFuture.setSuccess() and setFailure() to return a boolean value
2008-11-26 09:21:00 +00:00
Trustin Lee
6947ba0863 Added package-info.java for the http package 2008-11-26 09:01:18 +00:00
Trustin Lee
09e8a73bf2 Removed unimplemented method (I think whether to keep-alive or not should be determined in the higher level) 2008-11-26 08:53:19 +00:00
Trustin Lee
796238d929 * Renamed HttpVersion.getProtocol() to decode()
* A little bit of code clean up
2008-11-26 08:49:33 +00:00
Trustin Lee
1ff2b7bbc9 FIXMEs in HTTP QueryStringEncoder/Decoder 2008-11-26 08:44:39 +00:00
Trustin Lee
2b0ee3862f Renamed HttpWebserverClient to HttpClient 2008-11-26 08:40:04 +00:00
Trustin Lee
be88a53b3b Replaced HttpClient example with more generic wget style one 2008-11-26 08:39:32 +00:00
Trustin Lee
5c494dd045 More precise shutdown time test 2008-11-25 02:57:04 +00:00
Trustin Lee
c979563dcd Trying to figure out who is failing NioServerSocketShutdownTimeTest .. 2008-11-20 11:50:01 +00:00
Trustin Lee
8ac3b2905d StringBuffer -> StringBuilder 2008-11-20 08:15:20 +00:00
Trustin Lee
70151828dc Resolved issue: NETTY-68 (Make MemoryAwareThreadPoolExecutor.objectSizeEstimator property mutable) 2008-11-20 08:10:49 +00:00
Trustin Lee
678137b638 Removed a TODO mark which is not going to be fixed (it just works and is not reusable at this moment.) 2008-11-20 06:32:04 +00:00
Trustin Lee
c6ce2c3984 Fixed the issues that FindBugs raised 2008-11-19 09:15:19 +00:00
Trustin Lee
4ac032c657 Merged the HTTP branch into the trunk 2008-11-19 07:22:15 +00:00
Trustin Lee
e29ba2eed5 [maven-release-plugin] prepare for next development iteration 2008-11-19 01:27:55 +00:00
Trustin Lee
4df4b6517d [maven-release-plugin] prepare release netty-3.0.2.GA 2008-11-19 01:27:39 +00:00
Trustin Lee
57b2d9a443 Fixed issue: NETTY-65 (Intermittent high CPU consumption in LinkedTransferQueue)
* Applied the latest upstream fix
2008-11-18 09:43:53 +00:00
Trustin Lee
580f6f2284 * Another workaround for 'missing algorithm' error in SSLEngine
* Made handshaking non-volatile
2008-11-16 20:34:07 +00:00
Trustin Lee
87cd22b5fd More synchronization to avoid 'missing algorithm' error (not sure ..) 2008-11-16 17:59:27 +00:00
Trustin Lee
d0964a4b46 Additional synchronization condition to avoid 'missing algorithm' error 2008-11-16 16:35:09 +00:00
Trustin Lee
0e3679e919 Fixed a problem where AbstractSocketSslEchoTest doesn't close all channels when a connection attempt fails. 2008-11-16 16:25:08 +00:00
Trustin Lee
feac0d6a3d Fixed a problem where AbstractSocketSslEchoTest doesn't close all channels when handshake fails. 2008-11-16 16:22:27 +00:00
Trustin Lee
5df6229d2a A workaround for 'missing algorithm' error during handshake 2008-11-16 15:44:05 +00:00
Trustin Lee
62ed58a2be Made sure unwrap is called for all NEED_UNWRAP handshake status 2008-11-16 15:14:32 +00:00
Trustin Lee
dce019966e A workaround for 'missing algorithm' error during handshake 2008-11-16 15:06:10 +00:00
Trustin Lee
333f45ccd5 Made sure events are propagated somehow. 2008-11-16 15:02:01 +00:00
Trustin Lee
72ab3f04b0 * Removed output to stderr
* Made sure SSLEngine is cleaned up when a handler in the downstream raises an exception.
2008-11-16 14:43:49 +00:00
Trustin Lee
630473bf84 Fixed issue: NETTY-67 (ChannelBuffer.writeBytes() and setBytes() should not throw ClosedChannelException) 2008-11-16 13:52:47 +00:00
Trustin Lee
9aec8119cb Used logger instead of syserr 2008-11-16 13:34:24 +00:00
Trustin Lee
4cd9105eeb Made sure all exceptions are printed (2nd try) 2008-11-16 13:30:42 +00:00