Cory Benfield
584fdb6507
ByteToMessageDecoder must propagate ChannelInactive
2017-12-12 10:49:12 +00:00
Johannes Weiß
33fe401322
rename Future/Promise to EventLoopFuture/EventLoopPromise
2017-11-21 17:41:36 +00:00
Max (Swift) Moiseev
198d6b447b
Explicit access modifiers on members in extensions
2017-11-18 04:40:26 -08:00
Norman Maurer
9bb7f6727d
Use correct types in default method
...
Motivation:
The default method we added for the MessageToByteEncoder has the incorrect parameter types and so is useless.
Modifications:
Fix type of parameter.
Result:
Default method match the protocol requirement.
2017-11-08 01:14:43 -08:00
Johannes Weiß
6173bee782
Split IOData into NIOAny & IOData (ByteBuffer | FileRegion)
2017-10-25 19:31:27 +01:00
Norman Maurer
a9c9e0dc15
Http improve no copy
...
* Remove the need of the parseBuffer in the HTTPRequestDecoder and so remove a lot of memory copies.
2017-07-10 13:45:59 +02:00
Norman Maurer
829c0ccb9d
Remove memory copy for each HTTP body part that is received
2017-07-09 13:25:43 +02:00
Norman Maurer
6c06390909
Not call discardReadBytes() as this will produce an extra memory copy which is not needed as we rebuild the cumulation buffer anyway on the next message
2017-07-05 10:40:26 +02:00
Johannes Weiß
c09178ceb2
baby steps towards a type-safe Channel pipeline
2017-06-30 13:04:19 +01:00
Norman Maurer
4127580f8b
Port MessageToByteEncoder from netty
2017-07-04 08:45:40 +02:00
Norman Maurer
815366c37c
Add ByteToMessageDecoder which people can use to easy decode bytes to other messages
2017-06-29 16:52:38 +02:00