Commit Graph

315 Commits

Author SHA1 Message Date
Trustin Lee
aab28d36d9 * Added ConcurrentReferenceHashMap (will be used to implement NETTY-85 Global Channel registry)
* Updated copyright notice
2008-11-29 15:42:03 +00:00
Trustin Lee
d20d338a3a Clarification on the overhead of throwing an error 2008-11-28 14:47:49 +00:00
Trustin Lee
1b2dfc1dd5 Fixed typo and ambiguous expression 2008-11-28 14:41:11 +00:00
Trustin Lee
27cd263b6a Improved Javadoc for ReplayingDecoder as requested 2008-11-28 14:33:19 +00:00
Trustin Lee
440fdc4e7f Graceful shutdown for EchoClient 2008-11-28 11:22:02 +00:00
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
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
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
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
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
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
b29b5a8289 * Reverted previous SslHandler fix that doesn't work
* More strict handshake status check
2008-11-16 11:47:35 +00:00
Trustin Lee
834277a9eb Potential fix for intermittent SSL test failures 2008-11-16 11:29:36 +00:00
Trustin Lee
7896ec05f6 Fixed issue: NETTY-66 (MapUtil.isOrderedMap() blocks for a long time on a certain platform.)
* Replaced random number generation with a pre-populated sample table
2008-11-15 13:22:06 +00:00
Trustin Lee
c0a3f3383b Removed an unused static final field 2008-11-14 22:06:33 +00:00
Trustin Lee
90045fd487 Reverted my patch and applied Doug Lea's patch 2008-11-14 22:01:23 +00:00
Trustin Lee
3b5c36782d Fixed issue: NETTY-64 (Dead lock during SSL handshake)
* Acquired handshakeLock explicitly when sending handshake messages and executing delegated tasks
2008-11-14 12:05:49 +00:00
Trustin Lee
7123581038 Comment clean up as advised 2008-11-14 08:02:42 +00:00