Trustin Lee
24b59bbfa9
Resolved issue: NETTY-268 (Use Charset instead of String to represent a character set.)
...
* Replaced String charsetName with Charset
* Added o.j.n.util.CharsetUtil
2009-12-29 05:52:00 +00:00
Trustin Lee
578def7a9b
Fixed issue: NETTY-260 ZlibEncoder.close() and SslHandler.handshake/close() methods do not require a parameter
...
* SslHandler implements LifeCycleAwareChannelHandler to retrieve its context
* SslHandler.handshake() and close() do not need an argument anymore
* Deprecated the old methods
2009-12-17 08:44:38 +00:00
Trustin Lee
4649d57097
More strict testing
2009-11-19 10:09:40 +00:00
Trustin Lee
abe2a88d60
Resolved issue: NETTY-255 (Make CookieDecoder more robust)
...
* Modified CookieDecoder not to recognize commas and semicolons as attribute separators if it's impossible to decode the next entry.
* Added a test case for decoding Google Analytics cookie which raised this issue initially
2009-11-19 09:46:30 +00:00
Trustin Lee
902ab48820
* Rewrote FrameDecoder by utilizing the latest improvement in CompositeChannelBuffer
...
** A user doesn't need to make a copy of the cumulative buffer anymore.
*** Modified all FrameDecoder subtypes to use slice() instead of readBytes()
* Reduced the maximum length of the random writes in AbstractSocketFixedLengthEchoTest to increase the probability of composite buffer occurances
2009-11-17 15:11:31 +00:00
Trustin Lee
8eba49c0cd
Resolved issue: NETTY-203 Encoding frames as Google Protocol Buffer base 128 varints (32-bit)
...
* Applied Tomasz's patch
* Renamed ProtobufVariant32FieldPrepender to ProtobufVariant32LengthFieldPrepender
* Code cleanup
2009-10-14 06:27:53 +00:00
Trustin Lee
eca6033456
Updated author information. I want to get messages about Netty in my gmail account.
2009-10-14 05:46:40 +00:00
Trustin Lee
b11ef6ca9b
Relicensed to Apache License v2
2009-08-28 07:15:49 +00:00
Trustin Lee
caf0a97ba3
Fixed license headers
2009-06-19 17:48:17 +00:00
Trustin Lee
58ef4d1cc2
More timing tolerance to CookieDecoderTest
2009-04-21 03:32:11 +00:00
Trustin Lee
69ac7d174c
Replaced the usage of SimpleChannelHandler with SimpleChannelUpstreamHandler whereever possible
2009-04-17 07:33:32 +00:00
Trustin Lee
5a67c13279
A newline between methods
2009-04-16 05:09:51 +00:00
Trustin Lee
f61412c828
More tolerance in CookieEncoderTest
2009-04-16 05:09:03 +00:00
Trustin Lee
9252f449bd
Better diagnosis message for AbstractSocketSslEchoTest
2009-04-15 13:50:06 +00:00
Trustin Lee
8c172a5a1d
More diagnosis message for AbstractSocketSslEchoTest
2009-04-15 13:45:05 +00:00
Trustin Lee
e3fc229b03
A test case for NETTY-142 ReplayingDecoder calls decodeLast with unreplayable buffer
2009-04-08 07:24:14 +00:00
Trustin Lee
ec0b3fe3f2
* Moved internal utility classes to org.jboss.netty.util.internal
...
* Made org.jboss.netty.util public
* Moved ObjectSizeEstimator and its implementation to org.jboss.netty.util
2009-04-03 07:41:54 +00:00
Trustin Lee
a5ab271dc7
Deprecated CompatibleObjectDecoder
2009-03-16 07:52:19 +00:00
Trustin Lee
880241366b
Removed unnecessary System.out.println
2009-03-16 04:38:43 +00:00
Trustin Lee
701d8a8aaa
Made sure the encoded cookie conforms to the RFC
2009-03-14 13:35:10 +00:00
Trustin Lee
eaca45eb8a
* Reimplemented CookieDecoder to understand quoted-strings
2009-03-14 13:13:28 +00:00
Trustin Lee
3e2bf2e163
A little bit more tolerance
2009-03-13 17:09:31 +00:00
Trustin Lee
f78ac1f29a
A little bit more tolerance
2009-03-13 17:08:25 +00:00
Trustin Lee
e4c283fb89
Avoid timing errors
2009-03-13 16:43:39 +00:00
Trustin Lee
9e0e310ffe
* Improved CookieDecoder to be more tolerant
...
* Added a test case for comma delimited cookies
2009-03-13 16:33:49 +00:00
Trustin Lee
dc61906620
Fixed test failures
2009-03-13 15:53:52 +00:00
Trustin Lee
3e6f638449
Removed the unnecessary last semicolon
2009-03-13 15:48:23 +00:00
Trustin Lee
efd5af9313
Brought back the encode() method of CookieEncoder
2009-03-13 15:46:41 +00:00
Trustin Lee
b6cfc24127
Handles client-side cookie much better now
2009-03-13 15:29:54 +00:00
Trustin Lee
d1bafbc65f
* Fixed a problem where 'Expires' cookie attribute is misinterpreted
...
* CookieEncoder now uses Cookie.getVersion() to determine the cookie version instead of constructor parameter
2009-03-13 14:45:43 +00:00
Trustin Lee
32ddc4541d
Updated author tags
2009-03-13 13:57:24 +00:00
Trustin Lee
f04003abbe
CookieEncoder / CookieDecoder should not urlencode/urldecode attributes except for the value
2009-03-13 13:53:53 +00:00
Trustin Lee
0da3fcbe51
Fixed a bug where CookieEncoder generates a cookie with 'version=2'
2009-03-13 12:59:29 +00:00
Trustin Lee
1912bfc81d
Fixed test failures
2009-03-13 12:42:03 +00:00
Trustin Lee
b796a1d97b
* Renamed Cookie.portList to Cookie.ports and its type from int[] to Set<Integer>
...
* Renamed CookieHeaderNames.PORTLIST to CookieHeaderNames.PORT
2009-03-13 12:32:47 +00:00
Andy Taylor
b8f03d60e4
added cookie v1 and v2 decoding support
2009-03-13 11:58:29 +00:00
Andy Taylor
395d57b6eb
added cookie v1 and v2 encoding support
2009-03-13 10:12:51 +00:00
Trustin Lee
bd184cc665
Renamed TestOptions to TestUtil
2009-03-12 00:42:41 +00:00
Trustin Lee
ebdfec8ec0
Reduced the number of InetAddress.getLocalHost() calls in test cases
2009-03-12 00:14:17 +00:00
Trustin Lee
c4b1e5a011
* Renamed ExecutorShutdownUtil to ExecutorUtil
...
* Added ExternalResourceUtil
2009-01-19 05:23:41 +00:00
Trustin Lee
e9b841757a
* Replaced duplicate executor shutdown code with ExecutorShutdownUtil.shutdown()
...
* Applied the same workaround which was applied to ExecutorShutdownUtil.shutdown() to NioProviderMetadata
2009-01-02 16:57:15 +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
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
Trustin Lee
ea94ea850b
Fixed a problem where not all exceptions are logged immediately in AbstractSocketSslEchoTest
2008-11-16 11:43:44 +00:00
Trustin Lee
b3f39c1bb3
Additional debug information in AbstractSocketSslEchoTest
2008-11-16 10:33:00 +00:00
Trustin Lee
b50cc2b025
Removed an unused import
2008-11-07 01:50:51 +00:00
Trustin Lee
79fe2324c9
Fixed RejectedExecutionException in the OIO-OIO SSL echo test
2008-11-06 16:21:35 +00:00
Trustin Lee
7db3eacbb4
Potential fix for OIO-OIO SSL echo test
2008-11-06 15:56:05 +00:00