Trustin Lee
88e83462b0
Remove a method of no use
2012-07-07 14:30:25 +09:00
Trustin Lee
0c55c85d06
Make CookieEncoder and CookieDecoder stateless
...
- Also: CookieEncoder is split into ServerCookieEncoder and
ClientCookieEncoder
2012-07-07 14:30:25 +09:00
Trustin Lee
c77af32142
Add CompositeByteBuf.numComponents()
2012-07-07 14:30:24 +09:00
Trustin Lee
217f8ce1fd
Fix #218 : CookieDecoder.decode() throws StackOverflowError
...
- Rewrote key-value decoder not using a regular expression
2012-07-07 14:30:24 +09:00
Trustin Lee
7596ad8d58
Fix #397 : Allow all cookie names that conform to the RFC
...
- Lenient flag is not needed anymore
2012-07-07 14:30:24 +09:00
Trustin Lee
79425895e2
Fix test failures
2012-07-07 14:30:24 +09:00
Trustin Lee
1ef371b625
Fix #405 : CookieEncoder should refuse to encode more than one cookie
...
.. if on server mode
2012-07-07 14:30:24 +09:00
Trustin Lee
1d0d4fcd78
Fix documentation errors
2012-07-07 14:30:24 +09:00
Trustin Lee
81eaea77bd
Add DatagramChannel.isConnected()
...
.. because there is no way for a user with isActive to know if
DatagramChannel is connected or not
2012-07-07 14:30:24 +09:00
Trustin Lee
a5bb2c7f77
Add ChannelMetadata and remove unnecessary disconnect() impls
...
- Add Channel.metadata() and remove Channel.bufferType()
- DefaultPipeline automatically redirects disconnect() request to
close() if the channel has no disconnect operation
- Remove unnecessary disconnect() implementations
2012-07-07 14:30:24 +09:00
Trustin Lee
32188f83ac
Forward-port JDK ZlibEncoder patch ( #404 )
...
- Rename ZlibEncoder/Decoder to JZlibEncoder/Decoder
- Define a new ZlibEncoder/Decoder class
- Add JdkZlibEncoder
- All JZlib* and JdkZlib* extends ZlibEncoder/Decoder
- Add ZlibCodecFactory and use it everywhere
2012-07-07 14:30:24 +09:00
Trustin Lee
7a4e374294
Fix a bug where timeout handlers sometimes generate events too early
2012-07-07 14:30:24 +09:00
Trustin Lee
faf529166f
Increase the timeout of LocalTransportThreadModelTest to 1 minute
2012-07-07 14:30:24 +09:00
Norman Maurer
c165a38e15
Revert as it should be in nio2 branch "Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396 "
...
This reverts commit 18aaae3c2e
.
2012-07-07 14:30:24 +09:00
Trustin Lee
41a9c66f66
fullbuild -> full
2012-07-07 14:28:50 +09:00
Trustin Lee
0ee0751fec
Fix a problem where source jar is not attached
2012-07-07 14:28:50 +09:00
Trustin Lee
4c2893e952
Add the tarball module
...
- Activated only when -Pfullbuild option is set or during release
2012-07-07 14:28:50 +09:00
Trustin Lee
98fb86fbf2
Use build-helper-maven-plugin instead of messy hack
2012-07-07 14:28:50 +09:00
Trustin Lee
aa3be3e1e8
Build all-in-one JAR on non-fullbuild.
2012-07-07 14:28:50 +09:00
Trustin Lee
4e43041c95
Fix a build problem with all-in-one module
...
- mvn test was failing
2012-07-07 14:22:12 +09:00
Trustin Lee
391fe71639
Remove unused classes / Make HashedWheelTimer not use ReusableIterator
2012-07-07 13:52:54 +09:00
Trustin Lee
cda2d6f5aa
No more mind-boggling ExternalResourceReleasable
2012-07-07 13:42:36 +09:00
Trustin Lee
8dc1f321cb
Remove unused classes in util.internal
2012-07-07 13:41:49 +09:00
Trustin Lee
9af7512c35
Use String.CASE_INSENSITIVE_ORDER instead of custom Comparator
2012-07-07 13:30:28 +09:00
norman
b9781c968c
Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79
2012-07-05 09:37:26 +02:00
norman
db09c421d9
Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79
2012-07-05 09:18:59 +02:00
norman
e40c430976
Throw a special SSLException if a non SSL/TLS record was detected. See #437
2012-07-05 07:53:29 +02:00
norman
a7a4081e70
Fix checkstyle
2012-07-04 15:27:10 +02:00
norman
1784283d29
Correctly format cookies. This fix some bug which lead to expiring of cookies to not work. See #426
2012-07-04 15:20:47 +02:00
norman
61a7c78a53
Port fix for #433
2012-07-04 15:14:05 +02:00
norman
31cebd7ce2
No need for AtomicBoolean as we run in the eventloop. See #396
2012-07-03 15:30:15 +02:00
norman
eccc28965e
Make sure the ComplationHandler stuff is handled in the eventloop. See #396
2012-07-03 15:25:28 +02:00
norman
a5b6f1d615
Ignore NetworkChannel class. See #396
2012-07-03 13:52:33 +02:00
norman
7d33846690
Trigger the read() after the registration was complete. See #396
2012-07-03 13:10:29 +02:00
norman
e58d657421
Supress exception logging if the exception was expected. See #396
2012-07-03 12:01:52 +02:00
norman
c3770a0fba
Revert "Check that eventloop's were setup correctly. See #396 "
...
This reverts commit 82834c2f34
.
2012-07-03 11:50:50 +02:00
norman
ac4dacd84f
Minimize byte copies by using a CompositeByteBuf to concat the chunks. See #413
2012-07-03 10:37:11 +02:00
norman
d0e83520cc
Add getters for the specified timeout values. See #418
2012-07-03 10:18:57 +02:00
Norman Maurer
82834c2f34
Check that eventloop's were setup correctly. See #396
2012-07-01 22:39:33 +02:00
Norman Maurer
12112ac857
Use the correct outbound buffer for flush the writes. See #396
2012-07-01 22:32:45 +02:00
Norman Maurer
0562aad91f
Make sure all pending writes are flushed. See #396
2012-07-01 22:20:36 +02:00
Norman Maurer
8c0146fbd8
Supress warnings
2012-07-01 21:50:44 +02:00
Norman Maurer
e1cbcd6456
Remove left-overs. See #396
2012-07-01 21:50:17 +02:00
Norman Maurer
87f50e135e
Merge pull request #427 from Massive-Dynamics/nmaurer-fixes-415
...
Fixes javadoc from one of my pull requests
2012-06-30 08:16:15 -07:00
Cruz Julian Bishop
b9d16663d9
Fixes javadoc from #414 / #415 (@trustin)
2012-06-30 20:30:56 +10:00
Norman Maurer
53fb5165c9
Merge pull request #425 from Massive-Dynamics/timeout-unsuccessful-cancel
...
Change Timeout.cancel() to return a boolean value
2012-06-29 05:08:46 -07:00
Cruz Julian Bishop
04cf836cf0
Change Timeout.cancel() to return a boolean value, true on a successful cancel
...
As requested in the javadoc for HashedWheelTimer
2012-06-29 21:59:48 +10:00
Norman Maurer
c35f90f920
Port enhancement to reduce memory copy if possible. See #412
2012-06-29 13:26:13 +02:00
Norman Maurer
27b83a480b
Fix checkstyle
2012-06-29 12:49:58 +02:00
Norman Maurer
07095a41f4
Rename method and make it more clear thats an expert method. See #414 #415
2012-06-29 12:28:08 +02:00