Trustin Lee
0a99a33540
Use String.getBytes(Charset) wherever possible
2012-08-17 11:43:59 +09:00
Trustin Lee
de37d75871
[ #521 ] Encode URI using UTF-8 charset
...
- Forwardport @jpinner's pull request #522
- Use Charset instead of charset name
2012-08-17 11:39:36 +09:00
Trustin Lee
00d6010916
[ #494 ] Automatically adding chunked encoding header breaks streaming
...
Add a missing statement dropped while forwardporting
2012-08-17 11:34:35 +09:00
Trustin Lee
e530ccaeb8
Fix typo
2012-08-17 11:31:40 +09:00
Trustin Lee
0baf359202
[ #494 ] Automatically adding chunked encoding header breaks streaming
...
Forwardport @jamestyrrell's pull request
2012-08-17 11:30:08 +09:00
Jeff Pinner
5787e2eac9
Merge pull request #518 from jpinner/spdy_cleanup
...
SPDY: introduce SpdyControlFrame tag interface
2012-08-14 18:10:23 -07:00
Jeff Pinner
d3d52edb31
SPDY: introduce SpdyControlFrame tag interface
2012-08-14 18:00:39 -07:00
Jeff Pinner
a0d9bed8f9
SPDY: remove deprecated data compressed flag
2012-08-14 17:58:22 -07:00
Norman Maurer
8b66e65277
Merge pull request #515 from jfallows/master
...
Add support for AIO server channel accepting new channels onto a separate child event loop group. See #514 .
2012-08-14 09:58:47 -07:00
Norman Maurer
1f1403697b
Merge pull request #512 from CruzBishop/fix-510
...
Fix a typo in ObjectEchoClientHandler
2012-08-14 02:58:33 -07:00
Cruz Julian Bishop
af0a7eaf13
Fix a typo in ObjectEchoClientHandler
...
This fixes #510 in master
Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
2012-08-14 19:52:27 +10:00
John Fallows
148e629104
Use childGroup for accepted AioSocketChannels, children of previously bound AioServerSocketChannel.
2012-08-13 23:12:50 -07:00
Norman Maurer
ad534efc58
Merge pull request #508 from CruzBishop/fix-431
...
Added a function to get a UniqueName's ID
2012-08-13 23:07:21 -07:00
norman
061252e4b4
Allow to config read/write timeout for the AIO transport. See #509
2012-08-14 08:06:54 +02:00
Cruz Julian Bishop
8d90f3adf6
Added a function to get a UniqueName's ID
...
This fixes #431
Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
2012-08-14 15:44:05 +10:00
Norman Maurer
b5aa2108ec
Merge pull request #506 from jfallows/master
...
Add support for AIO scattering reads and gathering writes (see #492 )
2012-08-13 22:10:40 -07:00
John Fallows
06fd869711
Add support for AIO scattering reads and gathering writes.
...
o Add ByteBuf.hasNioBuffers() method
o Promote CompositeByteBuf.nioBuffers() methods to ByteBuf
o Use ByteBuf.nioBuffers() methods from AioSocketChannel
2012-08-12 17:29:07 -07:00
Norman Maurer
1162f26df5
@Ignore bad test-case for now. See #503
2012-08-12 11:07:06 +02:00
Trustin Lee
d3a2835503
Add ServerBootstrap.group() that takes a single group
2012-08-10 20:26:04 +09:00
Trustin Lee
d298707198
[ #502 ] Split EventLoop/EventExecutor into parent and children
...
- Add EventExecutorGroup and EventLoopGroup
- EventExecutor and EventLoop extends EventExecutorGroup and
EventLoopGroup
- They form their own group so that .next() returns itself.
- Rename Bootstrap.eventLoop() to group()
- Rename parameter names such as executor to group
- Rename *EventLoop/Executor to *EventLoop/ExecutorGroup
- Rename *ChildEventLoop/Executor to *EventLoop/Executor
2012-08-10 20:17:18 +09:00
Trustin Lee
f4fa5698c1
Add a TODO which should be done when buffer pool is implemented
2012-08-10 10:19:01 +09:00
Trustin Lee
501746aeff
Fix an infinite loop in DefaultCompositeByteBuf.setBytes()
2012-08-08 17:42:58 +09:00
Trustin Lee
a2aadef4da
Add ByteBuf.Unsafe.discardSomeReadBytes() to reduce discardReadBytes()
2012-08-08 17:34:00 +09:00
Trustin Lee
b8a60dddd3
Fix m2e errors in Eclipse
2012-08-08 16:30:04 +09:00
norman
f7e0366bae
Add nioBuffers() and nioBuffers(..) method which will be used to support gathering writes for the AIO transport. See #492
2012-08-07 15:39:46 +02:00
norman
0334333c82
Fix checkstyle
2012-08-07 15:38:52 +02:00
norman
3ed3827760
Merge branch 'master' of ssh://github.com/netty/netty
2012-08-07 14:59:54 +02:00
Norman Maurer
b09e945830
Merge pull request #490 from jfallows/master
...
Eliminate potential ReadPendingException for AIO suspend-resume
2012-08-07 05:49:41 -07:00
norman
947f3bcd5f
Merge branch 'master' of ssh://github.com/netty/netty
2012-08-07 14:46:01 +02:00
John Fallows
ed7613e183
Resolve issue #489 with an atomic readInProgress guard to prevent ReadPendingException.
2012-08-05 15:11:12 -07:00
Trustin Lee
f2eeed77e0
Remove a redundant method declaration
2012-08-05 18:43:32 +09:00
Trustin Lee
728306b64f
Add CompositeByteBuf.consolidate()
...
- also added test cases that test automatic / full / ranged
consolidation
2012-08-05 18:32:30 +09:00
norman
3992472b30
cleanup
2012-08-01 14:06:54 +02:00
norman
a442789f7a
Add a testcase for suspend accept. it currently fails not sure why yet. See #71
2012-08-01 11:37:36 +02:00
norman
b4991facf8
Remove unused import
2012-08-01 11:35:17 +02:00
norman
a3a58ecbc0
Fix a bug in suspend read. See #71
2012-08-01 11:35:03 +02:00
norman
6a15f7f5ce
Merge branch 'master' into suspend_feature
...
Conflicts:
transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java
2012-08-01 09:03:33 +02:00
norman
16a4088344
Address @trustin 's comments and also make sure the accept of AIO is only triggered from the event loop. See #71
2012-07-31 11:42:29 +02:00
norman
8b473dce6c
Rename class
2012-07-30 15:07:12 +02:00
norman
0daf37aae3
Remove unused classes. See #477
2012-07-30 08:05:25 +02:00
norman
ba1c7c5c55
Replace usage of QueueFactory with ConcurrentLinkedQueue and LinkedBlockingQueue. See #477
2012-07-30 08:01:46 +02:00
norman
bdde5a20f6
Allow to set Expires attribute
...
to a date in theast. See #479
2012-07-30 07:44:53 +02:00
Norman Maurer
9b37de32a0
Merge pull request #465 from izstas/master
...
Add TRACE level to Internal Logger
2012-07-28 12:06:09 -07:00
Norman Maurer
57e7255566
Add support to suspend reads. See #71
2012-07-27 20:02:47 +02:00
Norman Maurer
137525d4c5
Merge pull request #475 from danbev/channel_handler_context_typo
...
Minor typo in exception message of DefaultChannelHandlerContext
2012-07-25 12:08:15 -07:00
Daniel Bevenius
927c4ee8cb
Minor typo in exception message
2012-07-25 20:51:06 +02:00
Trustin Lee
d43d95cc0d
Merge pull request #463 from veebs/AutoBahnFrameSize
...
Increase websocket framesize for autobahn tests
2012-07-24 04:12:46 -07:00
Trustin Lee
961fc40b29
Merge pull request #464 from netty/buffer_always_dynamic
...
Make buffers always dynamic
2012-07-22 23:35:34 -07:00
Trustin Lee
26e64eb305
Fix IOOBE after buffer truncation / Add CompositeByteBuf.addComponents()
...
- plus some bug fixes while running unit tests
2012-07-20 13:18:17 +09:00
Trustin Lee
8d813b127c
Replace free() with reference counting / Fix SlicedByteBuf.unsafe()
...
- based on @normanmaurer's feed back
- Added Unpooled.compositeBuffer(int)
2012-07-20 12:33:17 +09:00