Commit Graph

2444 Commits

Author SHA1 Message Date
Norman Maurer
a382149bba Catch InterruptedException and interrupt the current Thread so we at least give someone the chance todo something about it. 2011-11-24 11:32:05 +01:00
norman
2686dc99b4 Add some TODO 2011-11-24 11:13:54 +01:00
norman
9f712e3291 Replace synchronization with an lock free approach 2011-11-24 11:07:16 +01:00
norman
caa925198e Make OrderedMemoryAwareThreadPoolExecutor lock free 2011-11-24 09:51:49 +01:00
Trustin Lee
bbd251baed Fix build errors 2011-11-24 12:17:09 +09:00
Trustin Lee
5abd23d3ba Upgrade depepdencies to the latest versions
* Regenerate LocalTimeProtocol.java with the latest protoc
* Add an instruction on how to generate LocalTimeProtocol.java
* Not upgrading maven-bundle-plugin, which has a regression in 2.3.5:
  * https://issues.apache.org/jira/browse/FELIX-3058

Conflicts:

	src/main/java/org/jboss/netty/example/localtime/LocalTimeProtocol.java
2011-11-24 11:10:53 +09:00
Trustin Lee
e015456ae1 Add missing license headers 2011-11-24 10:22:21 +09:00
Trustin Lee
8debdb59e4 Fix weird repo mess 2011-11-24 10:18:31 +09:00
Trustin Lee
b6f8b5871c Rename ClassloaderClassResolver to ClassLoaderClassResolver 2011-11-24 10:15:51 +09:00
norman
946d4be69e Add constructors to make it possible to backport it to 3.2 without
breaking the api
2011-11-23 13:47:59 +01:00
Norman Maurer
971a7364f6 Merge pull request #75 from alepar/master
ObjectDecoder performance optimization
2011-11-23 03:55:35 -08:00
alepar
cee5ee5679 now able to resolve array types to classes 2011-11-23 15:18:43 +04:00
alepar
800a9fc20d making interface public, so that others can implement it jic 2011-11-23 14:48:42 +04:00
Norman Maurer
b5f8ff3003 Merge pull request #73 from ngocdaothanh/master
QueryStringDecoder should also support ; Fix for #72
2011-11-22 22:08:31 -08:00
Trustin Lee
2dafb3d91b Add a missing colon 2011-11-23 14:07:26 +09:00
Trustin Lee
1daf3c80c6 Merge branch 'master' of github.com:netty/netty 2011-11-23 14:02:57 +09:00
Trustin Lee
01c45650aa Add a missing close(SelectionKey) call
* Without calling close(SelectionKey), the client boss loop can fall
into an infinite loop.
2011-11-23 14:01:30 +09:00
alepar
cdbaeb86b0 adding class resolver with disabled cache, fixing unit tests 2011-11-23 02:57:32 +04:00
Ngoc Dao
c9a24729bd Fix #72 2011-11-23 04:14:10 +09:00
Norman Maurer
3ecb93eade Include the name which was the cause of the IllegalArgumentException while try to add a handler to the pipeline 2011-11-22 17:29:54 +01:00
alepar
7e6d07afaf use weak cache as default cache - it doesn't break class unloading
providing multiple implementations for caching, each good for its own specific use-case
2011-11-22 18:16:30 +04:00
alepar
99e9da1e75 sharing classResolver cache across all CompactObjectInputStream's in the same way, as we did in ObjectDecoder 2011-11-22 18:09:37 +04:00
alepar
deb61aa021 extracting class resolving role to separate interface 2011-11-22 17:33:54 +04:00
alepar
c7cea76d2f moving classLoader selection to constructor 2011-11-22 15:54:59 +04:00
alepar
dd567e059f there's a more general exception in the throws list already 2011-11-22 15:51:14 +04:00
alepar
b858fab8d7 loadClass() already queries the cache, so no point in redoing it in resolveClass() 2011-11-22 15:50:52 +04:00
Trustin Lee
0850449b09 Consistent fail-fast property
* DelimiterBasedFrameDecoder and LengthFieldBasedFrameDecoder must
expose the fail-fast option consistently
* Renamed failImmediatelyOnTooLongFrame to failFast
2011-11-22 18:37:36 +09:00
Trustin Lee
1ac6c75d39 Clean up
* Static variables should come before member fields
* Removed unused members
2011-11-22 16:32:01 +09:00
Norman Maurer
5c2c8d9d1d Merge pull request #70 from jeffgriffith/master
Modification to allow multiple boss threads in client
2011-11-21 21:28:25 -08:00
Jeff Griffith
e8766c4ba6 Added default num bosses const. 2011-11-21 16:08:11 -05:00
Jeff Griffith
0d0764d082 Allow for multiple client boss threads. 2011-11-21 15:03:18 -05:00
Jestan Nirojan
cb41cf293f minor refactoring 2011-11-20 14:07:25 +05:30
Jestan Nirojan
319ca93330 1)refactored sctp server channel config classes 2)added sctp server channel buffer size setter/getters 3)updated sctp examples 2011-11-13 16:08:02 +05:30
Vibul Imtarnasan
1e0dee3e9b Merge pull request #54 from veebs/WebSocketSSL
Added checks to make sure expected system properties are present for WebSocket SSL example
2011-11-12 19:57:42 -08:00
Veebs
9461b31edd Added checks to make sure expected system properties are present. 2011-11-13 14:42:59 +11:00
Vibul Imtarnasan
6adeda2493 Merge pull request #53 from veebs/WebSocketSSL
Added WebSocket Server with SSL example app
2011-11-12 17:53:32 -08:00
Veebs
3b0eb64f1c WebSocket Server with SSL example app 2011-11-13 12:38:18 +11:00
Norman Maurer
2e3971953b Merge pull request #52 from motlin/master
Fixes from static-analysis tools.
2011-11-12 11:20:49 -08:00
Craig P. Motlin
b6dc30b37b Inline redundant local variables. 2011-11-12 13:37:30 -05:00
Craig P. Motlin
ab61090572 Simplify redundant 'if' statements. 2011-11-12 13:23:40 -05:00
Craig P. Motlin
f0520dad20 Remove unnecessary calls to 'super()'. 2011-11-12 13:19:37 -05:00
Craig P. Motlin
9b9ee79f27 Remove unnecessary 'return' statements. 2011-11-12 13:15:33 -05:00
Craig P. Motlin
d073e1d14d Replace constant array creation expression with array initializer. 2011-11-12 13:14:39 -05:00
Craig P. Motlin
e84571a5f2 Remove unnecessary semicolons. 2011-11-12 13:14:16 -05:00
Craig P. Motlin
f9a19517d5 Remove redundant type arguments. 2011-11-12 13:09:12 -05:00
Craig P. Motlin
41d4884194 Remove redundant array creations. 2011-11-12 13:08:00 -05:00
Norman Maurer
0b3a685f95 Merge pull request #51 from motlin/master
Fixes from static-analysis tools.
2011-11-12 01:03:02 -08:00
Craig P. Motlin
f641e25735 Remove redundant 'final' from static methods. 2011-11-11 07:53:16 -05:00
Craig P. Motlin
f78a60df7d Remove redundant 'final' method in 'final' class. 2011-11-11 07:53:14 -05:00
Craig P. Motlin
1213dc5ace Remove unnecessary enum modifier. 2011-11-11 07:53:12 -05:00