Cruz Julian Bishop
c55e10c12a
Fix a bug where a potential overflow occurs
2012-06-29 13:38:53 +10:00
Cruz Julian Bishop
b11d4fa37a
Two tentative last asserts in the test
2012-06-29 13:37:41 +10:00
Cruz Julian Bishop
557f1c85df
Little bit more testing
2012-06-29 13:35:14 +10:00
Cruz Julian Bishop
3d9be81377
Provide a basic test for getBufferFor()
2012-06-29 13:31:02 +10:00
Cruz Julian Bishop
00ae0e8ad9
Merge remote-tracking branch 'Netty/master' into fix-414
2012-06-29 13:02:32 +10:00
Norman Maurer
33c42bee6d
Merge pull request #409 from Massive-Dynamics/network-constants-doc
...
Adds javadoc to NetworkConstants
2012-06-28 05:08:01 -07:00
Norman Maurer
a12a99a3dc
Merge pull request #416 from Massive-Dynamics/non-reentrant-lock-doc
...
Add documentation to NonReentrantLock
2012-06-28 05:07:17 -07:00
Norman Maurer
2610a94de9
Fix SpdyHttpHeaders.setScheme setting the wrong header. See #417
2012-06-28 13:36:21 +02:00
Cruz Julian Bishop
e2989719e1
Comply with line width a bit more
2012-06-28 19:34:52 +10:00
Cruz Julian Bishop
a504aa1159
Documentation and checkstyle fixes from @fredericBregier
...
This is part of #414
2012-06-28 19:33:54 +10:00
Cruz Julian Bishop
42f3a6750a
Add documentation and changes to ComposityByteBuf.getBufferFor(index)
...
Thanks to @kimchy and @fredericBregier
This is part of #414
2012-06-28 19:01:16 +10:00
Norman Maurer
8f4aa5b9e2
Merge pull request #411 from Massive-Dynamics/update-dependencies
...
Update dependencies to the latest stable versions
2012-06-28 00:21:59 -07:00
Cruz Julian Bishop
1d1d7b2a95
Add documentation to NonReentrantLock
2012-06-28 16:37:41 +10:00
Cruz Julian Bishop
49f0e32428
Actually throw the correct Exception type. Whoops!
...
This should be done, now.
2012-06-28 10:31:49 +10:00
Cruz Julian Bishop
332a35f9ed
Simplify the process of getting the component
2012-06-28 10:29:11 +10:00
Cruz Julian Bishop
cb8c9767f6
Adds a method to get the buffer for a specific index in CompositeByteBuf
...
This fixes #414
2012-06-28 10:24:18 +10:00
Cruz Julian Bishop
63f4b44b50
Update dependencies to the latest stable versions
2012-06-28 08:55:29 +10:00
Cruz Julian Bishop
90e22644c3
Adds javadoc to NetworkConstants
...
Also renames some internal variables to be more understandable
No API changes! :)
2012-06-27 17:41:49 +10:00
Trustin Lee
90d9febbc0
Add more cookie decoding test case
2012-06-27 12:41:37 +09:00
Trustin Lee
a5d35f89d2
Add missing license headers
2012-06-26 17:33:05 +09:00
Trustin Lee
3b945bca78
Remove a method of no use
2012-06-26 05:30:07 +09:00
Trustin Lee
6d2f6d697d
Make CookieEncoder and CookieDecoder stateless
...
- Also: CookieEncoder is split into ServerCookieEncoder and
ClientCookieEncoder
2012-06-26 05:26:54 +09:00
Trustin Lee
1be9bbf62c
Add CompositeByteBuf.numComponents()
2012-06-24 22:14:17 +09:00
Trustin Lee
7b2992a95a
Fix #218 : CookieDecoder.decode() throws StackOverflowError
...
- Rewrote key-value decoder not using a regular expression
2012-06-24 18:07:47 +09:00
Trustin Lee
ee8091f6fb
Fix #397 : Allow all cookie names that conform to the RFC
...
- Lenient flag is not needed anymore
2012-06-24 14:17:13 +09:00
Trustin Lee
0eb7a42c69
Fix test failures
2012-06-24 13:42:05 +09:00
Trustin Lee
a6e3d7d0ca
Fix #405 : CookieEncoder should refuse to encode more than one cookie
...
.. if on server mode
2012-06-24 12:59:44 +09:00
Trustin Lee
4c072694be
Fix documentation errors
2012-06-19 11:35:43 +09:00
Trustin Lee
f60a6e861c
Add DatagramChannel.isConnected()
...
.. because there is no way for a user with isActive to know if
DatagramChannel is connected or not
2012-06-19 10:43:38 +09:00
Trustin Lee
9ec51d01d6
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-06-19 10:39:30 +09:00
Trustin Lee
1f69e664fb
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-06-19 09:54:25 +09:00
Trustin Lee
5caf78acc0
Fix a bug where channelActive is not fired for an accepted channel
2012-06-18 17:22:06 +09:00
Trustin Lee
3e2953cf92
Add AIO transport to the test suite
2012-06-18 16:21:05 +09:00
Trustin Lee
7e75a9a1a9
Fix a bug where timeout handlers sometimes generate events too early
2012-06-18 13:38:59 +09:00
Norman Maurer
127e9c1d1e
Calling clear is wrong. See #396
2012-06-17 20:28:47 +02:00
Norman Maurer
7412c371f2
Fix writes. See #396
2012-06-17 13:12:15 +02:00
Norman Maurer
22bc8fecca
Implement the right interfaces
2012-06-17 11:07:21 +02:00
Trustin Lee
dc058d9cd9
Increase the timeout of LocalTransportThreadModelTest to 1 minute
2012-06-17 11:17:16 +09:00
Norman Maurer
5d1e710adc
Package was renamed. See #396
2012-06-16 22:31:43 +02:00
Norman Maurer
70c4f59c45
Some clean. See #396
2012-06-16 22:29:25 +02:00
Norman Maurer
314ac37732
Rename classes from Async* -> Aio*. See #396
2012-06-16 21:20:57 +02:00
Norman Maurer
67be5aeda8
Rename package from nio2 -> aio. See #396
2012-06-16 21:18:25 +02:00
Norman Maurer
ffc6551acc
Adjust name. See #396
2012-06-16 21:17:45 +02:00
Norman Maurer
2ff22ff4c3
Add javadocs and also handle writes correctly. See #396
2012-06-16 21:16:54 +02:00
Norman Maurer
70baea35da
Make reads work like expected with AOI. See #396
2012-06-16 20:51:45 +02:00
Jestan Nirojan
d7f5498e7e
merged conflicts
2012-06-16 03:18:48 +05:30
Norman Maurer
f8ef5d5d78
Next round for async channel api support a.k.a nio2. See See #396
2012-06-14 21:02:47 +02:00
Norman Maurer
5d01062da4
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-06-13 22:24:32 +02:00
Norman Maurer
032912d938
Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396
2012-06-13 22:24:16 +02:00
Norman Maurer
18aaae3c2e
Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396
2012-06-13 22:23:21 +02:00