Trustin Lee
c77f107f5f
Made the AIO transport faster / Fixed a bug in SingleThreadEventLoopTest
...
- Used reflection hack to dispatch the tasks submitted by JDK
efficiently. Without hack, there's higher chance of additional
context switches.
- Server side performance improved to the expected level.
- Client side performance issue still under investigation
2012-07-08 21:49:15 +09:00
Norman Maurer
220e4e886f
Fix ArrayIndexOutOfBoundsException in ReplayDecoderBuffer which could happen when calling getByte(..) or getUnsignedByte(..). See #445
2012-07-08 13:47:17 +02:00
Trustin Lee
bf62add6c7
Clean up
...
- Removed unnecessary 'closed' flag and redundant close() calls, etc.
2012-07-08 15:12:15 +09:00
Trustin Lee
3fff8ce1d6
Fixed a bug where SslHandler does not sometimes forward a flush request
2012-07-08 15:11:46 +09:00
Trustin Lee
b79e0b0882
Fix another data race
2012-07-08 14:43:34 +09:00
Trustin Lee
b97b3c602b
Add missing license header
2012-07-08 02:26:37 +09:00
Trustin Lee
cef7dfc02f
Made the AIO transport adhere to Netty thread model strictly
...
- Fixed data races
- Simplified channel creation using dummy AsyncChannelGroup
2012-07-08 00:53:56 +09:00
Trustin Lee
613834f326
Fix data corruption in the AIO transport
2012-07-07 21:29:03 +09:00
Trustin Lee
2bc26fbc70
Remove seemingly an ad-hoc test class
2012-07-07 18:49:21 +09:00
Trustin Lee
3a84b9dc71
Make test suite mostly pass by avoiding ClosedChannelException
...
- SSL echo test still fails
2012-07-07 15:34:14 +09:00
Trustin Lee
aea3ed85bd
Allow AIO channel's config is accessible as early as possible
2012-07-07 15:25:55 +09:00
Trustin Lee
c0f4f75c6d
Use SOMAXCONN as the default backlog if possible
2012-07-07 15:05:10 +09:00
Trustin Lee
ec88f6617c
Fix compilation error and warning
2012-07-07 14:48:34 +09:00
Trustin Lee
fae3861c3a
Fix a compiler warning
2012-07-07 14:46:43 +09:00
Trustin Lee
de40a8d09b
Fix another compilation error
2012-07-07 14:45:18 +09:00
Trustin Lee
c57e903c4d
Fix more compilation errors
2012-07-07 14:44:06 +09:00
Trustin Lee
0941d617d9
Fix a compilation error
2012-07-07 14:42:18 +09:00
Trustin Lee
42380b54b3
Revert file mode
2012-07-07 14:39:35 +09:00
Trustin Lee
9535401632
Revert unnecessary change in Bootstrap
2012-07-07 14:37:44 +09:00
Trustin Lee
4f9b6c5bad
Merge branch 'nio2'
2012-07-07 14:33:57 +09:00
Trustin Lee
9a90b947db
Fix a build problem with all-in-one module
...
- mvn test was failing
2012-07-07 14:30:26 +09:00
Trustin Lee
e40c4ea601
Remove unused classes / Make HashedWheelTimer not use ReusableIterator
2012-07-07 14:30:26 +09:00
Trustin Lee
86d59a2e91
No more mind-boggling ExternalResourceReleasable
2012-07-07 14:30:26 +09:00
Trustin Lee
b86e2730cc
Remove unused classes in util.internal
2012-07-07 14:30:26 +09:00
Trustin Lee
e5972a7453
Use String.CASE_INSENSITIVE_ORDER instead of custom Comparator
2012-07-07 14:30:26 +09:00
norman
e1f39f1d85
Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79
2012-07-07 14:30:26 +09:00
norman
3f1478b653
Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79
2012-07-07 14:30:26 +09:00
norman
a23baa1b9b
Throw a special SSLException if a non SSL/TLS record was detected. See #437
2012-07-07 14:30:25 +09:00
norman
d6f1a82c31
Fix checkstyle
2012-07-07 14:30:25 +09:00
norman
ae2906de1e
Correctly format cookies. This fix some bug which lead to expiring of cookies to not work. See #426
2012-07-07 14:30:25 +09:00
norman
8595d85e4a
Port fix for #433
2012-07-07 14:30:25 +09:00
norman
166d8d9436
Minimize byte copies by using a CompositeByteBuf to concat the chunks. See #413
2012-07-07 14:30:25 +09:00
norman
2a2394c132
Add getters for the specified timeout values. See #418
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
4324c61883
Fixes javadoc from #414 / #415 (@trustin)
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
02d5267a70
Change Timeout.cancel() to return a boolean value, true on a successful cancel
...
As requested in the javadoc for HashedWheelTimer
2012-07-07 14:30:25 +09:00
Norman Maurer
8224c95e05
Port enhancement to reduce memory copy if possible. See #412
2012-07-07 14:30:25 +09:00
Norman Maurer
efce2624dd
Fix checkstyle
2012-07-07 14:30:25 +09:00
Norman Maurer
ce90550f64
Rename method and make it more clear thats an expert method. See #414 #415
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
0ae4a64db2
Assuming that @trustin will want this changed :)
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
20062de0d9
Changed "Gets the" to "Returns the" - Requested by @trustin
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
4379a86c4c
Documentation redone for Cookie
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
e08c4ea3e0
Documentation and slight internal refactoring of HttpCodecUtil
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
c8d13e03e0
Make HttpResponse's javadoc a bit easier to read
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
d975ab365c
Make HttpRequest's documentation easier to read
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
98c61e4128
Made the documentation in HttpMessage a bit easier to understand
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
eaa99efd30
Redid documentation for WebSocketUtil
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
7e35cc1ebb
Fixes a bit of javadoc that was broken by a failed merge
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
dc300f2c81
Fix a bug where a potential overflow occurs
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
0f6c3137f6
Two tentative last asserts in the test
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
73a76bfe63
Little bit more testing
2012-07-07 14:30:25 +09:00