Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: netty/netty
...
head fork: netty/netty
Checking mergeability… Don't worry, you can still create the pull request.
This comparison is big! We're only showing the most recent 250 commits
Commits on Apr 26, 2012
@veebs veebs Reapply files form master to keep formatting. e469980
@veebs veebs As per Noman's request: There is not need for volatile here as we only
handle upstream events.
979bca4
@veebs veebs Removed @Override to make it work with java 5. 45d58e9
Commits on Apr 27, 2012
@veebs veebs We need to keep the old constructor to not break the API. 7c72a91
@normanmaurer normanmaurer Merge pull request #285 from veebs/3WsMaxFrameLength
Issue #283 - (3.x) Support max frame length for web socket to limit chance of DOS attack
99da06b
@normanmaurer normanmaurer Mark constructor as @deprecated. See #283 8507be1
@veebs veebs remove volatile 78593ab
@normanmaurer normanmaurer Fix checkstyle 3454cbb
@normanmaurer normanmaurer Disable gathering writes till we want to release 3.5.0.Final a67194f
@normanmaurer normanmaurer [maven-release-plugin] prepare release netty-3.4.2.Final 4f849df
@normanmaurer normanmaurer [maven-release-plugin] prepare for next development iteration 4b1e226
@normanmaurer normanmaurer Enable gathering writes support for 3.5.x . See #271 and #269 681c5dd
Commits on Apr 28, 2012
@veebs veebs Merge pull request #286 from veebs/3HttpPostBody
Backport post request body and file upload to 3.x branch
ced80f3
Commits on Apr 29, 2012
@normanmaurer normanmaurer Fix up code to work with java5. See #286 5219a59
@normanmaurer normanmaurer Remove volatile keyword as it is not needed ca19df8
@normanmaurer normanmaurer Optimize AbstractNioWorker.cleanUpWriteBuffer(..). See #293 ea38734
Commits on May 01, 2012
@normanmaurer normanmaurer We need to set the exception on each MessageEvent. See #293 b614f81
Commits on May 02, 2012
@normanmaurer normanmaurer Remove workaround for ipv6 link-localaddresses as it not work on most…
… os / jdk versions. See #267 and #295
49d59e3
@normanmaurer normanmaurer Remove workaround for ipv6 link-localaddresses as it not work on most…
… os / jdk versions. See #267 and #295
a688f92
@fredericBregier fredericBregier Fix same issue than branch master #290 for branch 3 5ef153f
@fredericBregier fredericBregier Fix same issue than branch Master issue #290 for branch 3 1313300
@fredericBregier fredericBregier Fix same issue from branch Master issue #291 for branch 3 b6abfa7
@fredericBregier fredericBregier Fix same issue from branch Master issue #291 for branch 3 871a26b
@fredericBregier fredericBregier Fix same optimization than from Branch Master issue #292 to branch 3 faf596f
@fredericBregier fredericBregier Fix same optimization than from Branch Master issue #292 to branch 3 80c6f65
@normanmaurer normanmaurer Make sure the exception event is fired from within an io thread. See #… 9706902
@fredericBregier fredericBregier Same small fix on readUnsigned for skipControlCharacters 26b4586
@normanmaurer normanmaurer Fix small race which can lead to resumeTransfer() to not kick in. See #… 308afca
@fredericBregier fredericBregier Merge pull request #299 from fredericBregier/3
3 update branch 3 from very same issues and improvements fixed for #290 #291 #292
9ab14fb
Commits on May 03, 2012
@normanmaurer normanmaurer Fix compile errors. See #299 abc2877
@normanmaurer normanmaurer Make sure ChunkedInput.close() is not called before the write is comp…
…lete. See #303
7d2d742
@normanmaurer normanmaurer Allow to register ChannelFutureListener's that get notified once the …
…inbound of the SSLEngine is closed. See #137
250f166
Commits on May 04, 2012
@normanmaurer normanmaurer Fail all pending writes on channelClosed(..). See #305 769275e
@normanmaurer normanmaurer Fail all queued writes if the ChunkedWriteHandler is removed from the…
… ChannelPipeline. See #304
33ff042
@normanmaurer normanmaurer Notify ChannelFuture's of queued writes if the SslHandler gets remove…
…d from the ChannelPipeline. See #306
2a249c1
@normanmaurer normanmaurer Refactor ChunkedWriteHandler to remove synchronization which can have…
… bad side effects like deadlocks. See #297 and #301
3a99550
@normanmaurer normanmaurer Let ChannelLocal implement Iterable. See #307 85a280b
@normanmaurer normanmaurer Fix checkstyle. See #307 f5eb6b6
@normanmaurer normanmaurer Make sure we fire the event from the io-thread. See #306 9ebff3a
@normanmaurer normanmaurer Make sure the ChannelFuture's of the MessageEvent's are notified on c…
…hannelClosed(..) event and on removal of the handler from the ChannelPipeline. See #308
b5706d5
@normanmaurer normanmaurer MemoryAwareThreadPoolExecutor needs to notify ChannelFuture's of the …
…not-executed ChannelEventRunnable on shutdownNow(). See #309
924f0df
Commits on May 06, 2012
@normanmaurer normanmaurer Fix regression in ChunkedWriteHandler. See #310 78ab007
@normanmaurer normanmaurer Fix regression in ChunkedWriteHandler. See #310 ea5cb8a
@normanmaurer normanmaurer Add test for fix of regression in ChunkedWriteHandler. See #310 ccfa196
@normanmaurer normanmaurer Add more tests for ChunkedWriteHandler cfc52b9
Commits on May 10, 2012
@normanmaurer normanmaurer Set source java version to 1.7. See #312 17bcebe
@normanmaurer normanmaurer Backport support for nio udp multicast to 3 branch. See #216 d920c6d
@normanmaurer normanmaurer Revert "Set source java version to 1.7. See #312" as this breaks comp…
…ilation

This reverts commit 17bcebe.
bd4f9cb
@normanmaurer normanmaurer Backport support for nio udp multicast to 3 branch. See #216 33cee3d
@fredericBregier fredericBregier Fix for issue #317 a690166
@fredericBregier fredericBregier Remove unecessary .name() on Charset in String methods b05fe03
@fredericBregier fredericBregier remove unecessary .name() to Charset in String methods eac75dd
@fredericBregier fredericBregier remove unecessary .name() in String methods 3cbc0b5
@fredericBregier fredericBregier Fix for issue similar to #317 79f32ec
@fredericBregier fredericBregier Revert for Java 5 compatibility fb5eb0a
@fredericBregier fredericBregier Revert for Java 5 compatibility 11b139a
@fredericBregier fredericBregier Revert for Java 5 compatibility 614bd93
@fredericBregier fredericBregier Merge pull request #318 from fredericBregier/3
3 Issue #317 fix through this commit (addContent ignore initial content)
49142f3
Commits on May 12, 2012
@veebs veebs Fixed bug where subprotocol not sent by client 1bf045a
@normanmaurer normanmaurer Merge pull request #320 from veebs/3WsSubprotocol
Fixed websocket bug where subprotocol not sent by client (3 branch)
062a594
Commits on May 13, 2012
Jeff Pinner SPDY: remove frame size limit in frame decoder 226c2f7
@normanmaurer normanmaurer Merge pull request #323 from jpinner/spdy_stateful_frame_decoder
SPDY: remove frame size limit in frame decoder
bb51266
Commits on May 14, 2012
@normanmaurer normanmaurer Fix checkstyle errors 127b89f
@trustin trustin Add ChannelFuture.sync() and syncUninterruptibly()
- Deprecate rethrowIfFailed() which is inferior to the new ones
b6aa509
@trustin trustin Code clean up d24c48c
@normanmaurer normanmaurer Add decoder/encoder for jboss marshalling
Use property for version
1f866fc
@trustin trustin Backport pretty hexdump from next-api ef51cf1
@normanmaurer normanmaurer Hide ChannelBufferByteInput, ChannelBufferByteOutput and LimitingByte…
…Input
0fa60c8
@normanmaurer normanmaurer Remove whitespace 6be409a
@normanmaurer normanmaurer Hide the TooBigObjectException and just throw a TooLongFrameException 7b7c585
@normanmaurer normanmaurer Merge pull request #324 from netty/jboss_marshalling
Add JBoss Marshalling support. Yay!
7468340
@normanmaurer normanmaurer Adjust javadocs as the usage has changed 94a5f3d
@normanmaurer normanmaurer Only some javadoc ab1cf37
Commits on May 15, 2012
@normanmaurer normanmaurer Make sure CompositeChanneBuffer does not throw a UnsupportedOperation…
…Exception if discardReadBytes() discard the whole content of the buffer. See #325
f603494
@normanmaurer normanmaurer Use a prelocation size of 1. Thanks to @fredericBregier fir spotting …
…this
80a2ae6
@normanmaurer normanmaurer Add missing support 0136cba
Commits on May 17, 2012
Jeff Pinner SPDY: fix for mozilla firefox bug 754766 ba76d5b
Commits on May 18, 2012
@normanmaurer normanmaurer Fix checkstyle 09e86c9
@normanmaurer normanmaurer Make sure SslHandler also works if SslBufferPool use non heap ByteBuf…
…fers. See #329
b76c996
@normanmaurer normanmaurer Remove silly import, sorry. See #329 ab5939e
@normanmaurer normanmaurer Use the correct ChannlBufferFactory when creating new ChannelBuffers.…
… See #335
231dc28
@normanmaurer normanmaurer Make all methods of SslBufferPool public so a subclass can be placed …
…in another package. See #336
e841e85
@normanmaurer normanmaurer Add a replace(..) method to FrameDecoder and also to ReplayDecoder as…
… it now extend FrameDecoder. This also fix #332.
288ed13
blucas #337 back-port ipfilter and traffic to 3 branch 98b06c6
blucas #337 back-port ipfilter and traffic to 3 branch (Fix test package) 31eb859
blucas #337 back-port ipfilter and traffic to 3 branch (Fix test package met…
…hod override)
c052f90
@normanmaurer normanmaurer Make sure setHandshakeComplete() is called before the handler is repl…
…aced. See #332
17cdc98
@normanmaurer normanmaurer Merge branch '3' of https://github.com/blucas/netty into 3 ce391d3
@normanmaurer normanmaurer Remove @Override annotation from interface implements 2a05afd
Commits on May 19, 2012
@fredericBregier fredericBregier Proposal for fix related to 1rst issue of #345
Thread.sleep(wait) => Thread.sleep((wait/10)*10)
(see http://www.javamex.com/tutorials/threads/sleep_issues.shtml)
d2cf217
@fredericBregier fredericBregier Proposal for fix related to 1rst issue of #345
Thread.sleep(wait) => Thread.sleep((wait/10)*10)
(see http://www.javamex.com/tutorials/threads/sleep_issues.shtml)
16e2713
@fredericBregier fredericBregier Merge pull request #347 from fredericBregier/3
3 Proposal to fix 1rst issue presented in #345
35d6d68
@normanmaurer normanmaurer Remove @Override annotation from interface implements a2b3fc8
@normanmaurer normanmaurer Fix formatting 33df31d
@normanmaurer normanmaurer Try to add a testcase to reproduce #343 4bf2257
Commits on May 20, 2012
@fredericBregier fredericBregier Change Executor to Timer from Netty, in reference to Issue #345 21284c4
@fredericBregier fredericBregier Change Executor to Timer from Netty, in reference to Issue #345 f3a7029
@fredericBregier fredericBregier Change Executor to Timer from Netty, in reference to Issue #345 9ba9107
@fredericBregier fredericBregier Change Executor to Timer from Netty, in reference to Issue #345 fdd2a9c
@fredericBregier fredericBregier Change Executor to Timer from Netty, in reference to Issue #345 82d8d81
@fredericBregier fredericBregier Change Executor to Timer from Netty, in reference to Issue #345 e2facc5
@fredericBregier fredericBregier remove unecessary super() 5c8c0f2
@trustin trustin SelectorUtil.select() spins to get less latency
- This seems to boost performance dramatically when the number of
  connections is very small.
b79639f
@normanmaurer normanmaurer Fix checkstyle 90fe2ac
@normanmaurer normanmaurer Merge branch '3' of https://github.com/fredericBregier/netty into 3 f120e55
@normanmaurer normanmaurer Fix checkstyle 8d5f296
Commits on May 22, 2012
Jeff Pinner SPDY: add SPDY/3 support 706d4d8
Jeff Pinner Merge pull request #353 from jpinner/spdy_3
SPDY/3 Support
21eada0
@normanmaurer normanmaurer Make sure the test also work on ipv6 interfaces 5f28d01
@normanmaurer normanmaurer Allow to bind a client channel in a seperate step. This can be useful…
… if you want to pass an object on connect to your handlers. Kind of related to #275
9024bc8
@normanmaurer normanmaurer Fix type d7aa5c6
@normanmaurer normanmaurer Fix more typos.. 17dca37
@normanmaurer normanmaurer Fix compilation error 2c7c67e
@normanmaurer normanmaurer Add workaround to let the sleep work correctly in windows too. See #356 b994cde
@normanmaurer normanmaurer Only send event upstream once the Ssl handshake was completed success…
…full. See #358
df82853
@normanmaurer normanmaurer Make sure we handle the sleepTime of 0 correctly in all cases. Thanks…
… to @fredericBregier for review. See #356
3589702
Commits on May 23, 2012
@normanmaurer normanmaurer Added messages to all IndexOutOfBoundsExceptions. See #359 b0ff61c
@normanmaurer normanmaurer Some refactoring for the jboss marshalling support to allow easier re…
…use of components. See #324
c5f6af6
@normanmaurer normanmaurer Follow the same pattern as we have in the serialization package. So w…
…e have some compatible jboss marshalling impl and one optimized. See #324
6b0a6db
@normanmaurer normanmaurer Rename classes to reflect the real test coverage. See #324 bc30831
@normanmaurer normanmaurer Add testcases for all marshal encoder and decoder. See #324 98a8bd2
Commits on May 24, 2012
@normanmaurer normanmaurer Merge back fix for #360 1bc52cb
@normanmaurer normanmaurer Fix class naming. See #324 cc97380
@normanmaurer normanmaurer Add a ThreadLocalMarshallerProvider and add test cases. See #324 22282cf
@normanmaurer normanmaurer Add a ContextBoundUnmarshallerProvider. See #324 be20b50
Commits on May 25, 2012
@normanmaurer normanmaurer [maven-release-plugin] prepare release netty-3.5.0.Beta1 921e5c5
@normanmaurer normanmaurer [maven-release-plugin] rollback the release of netty-3.5.0.Beta1 3f3e343
@normanmaurer normanmaurer [maven-release-plugin] prepare release netty-3.5.0.Beta1 68c1a1e
@normanmaurer normanmaurer [maven-release-plugin] prepare for next development iteration ae5127a
@trustin trustin Remove Selector spinning optimization
- Needs more experiments
06a6b9b
Commits on May 28, 2012
@normanmaurer normanmaurer Make sure the cumulationbuffer will get handled in the right manner e…
…ven on Exception. Before this could this could lead to an AssertionFailure. See #364
80df728
@normanmaurer normanmaurer StringEncoder must respect the endianness of the used ChannelBufferFa…
…ctory. See #365
a7ab9e0
Commits on May 29, 2012
@normanmaurer normanmaurer Fix checkstyle b984485
Commits on May 30, 2012
@normanmaurer normanmaurer Fix for java.lang.NoClassDefFoundError: java/net/ProtocolFamily under…
… jdk6. See #368
1cd0aac
@normanmaurer normanmaurer Add some comments and javadocs. Related to #368 95e305f
Commits on May 31, 2012
@normanmaurer normanmaurer Make sure calling ExecutionHandler.releaseExternalResource() does not…
… lead to a dead-lock when calling from a ChannelEventRunnable. See #200
fca7f89
@trustin trustin Test both SPDY 2 & 3 af81d52
@trustin trustin Fix compiler warnings def46a6
@trustin trustin Fixed all compiler warnings 7fc2d40
@trustin trustin Un-deprecate the constructors in NioDatagramChannelFactory 58d2d72
@trustin trustin Moved ProtocolFamily to a separate class
- Also renamed it to InternetProtocolFamily to be more specific
- INET and INET6 are now IPv4 and IPv6 which are more straightforward
aa9bb38
@trustin trustin Use the default constructor which has been un-deprecated 80d45f3
@trustin trustin Add missing license header 3f448f4
@trustin trustin Add a missing newline at the end of the file 4733db7
@trustin trustin Move HTTP multipart classes to its own package / Clean-up
- Add HttpConstants
6890934
@trustin trustin Apply missing changes from master fae19ef
@trustin trustin Overall automated clean up b0a2b43
@trustin trustin Fix checkstyle errors ec5bd42
@trustin trustin Remove main()s in the ipfilter package
- They really should not be there.
75f0de5
Commits on Jun 01, 2012
@normanmaurer normanmaurer Make sure calling ExecutionHandler.releaseExternalResource() does no…
…t lead to a dead-lock when calling from a ChannelEventRunnable. See #200
7800187
@normanmaurer normanmaurer Merge branch '3' of ssh://github.com/netty/netty into 3 9d9f96b
@normanmaurer normanmaurer Revert " Make sure calling ExecutionHandler.releaseExternalResource()…
… does not lead to a dead-lock when calling from a ChannelEventRunnable. See #200"

This reverts commit 7800187.
a77e4b0
@normanmaurer normanmaurer Remove bad test 8ca40aa
@normanmaurer normanmaurer Let the user explicit set if gathering writes/reads should be used. See b0ba1b9
Commits on Jun 02, 2012
@fredericBregier fredericBregier Improve Performance by calling very much less sao.setReadPosition(x) 25c31cd
@fredericBregier fredericBregier Merge pull request #376 from fredericBregier/3
HttpPostRequestDecoder: Improve Performance by calling very much less sao.setReadPosition(x)
a8c1e3b
Commits on Jun 03, 2012
@jroper jroper Fixing #378, when path or domain are null in both this and that, equa…
…ls and compareTo return false even when the cookies are equal.
e13ff4a
@trustin trustin Fix #378 again
- @jroper's fix did not work, so I just fixed it again.
Conflicts:

	src/main/java/org/jboss/netty/handler/codec/http/DefaultCookie.java
38314b5
@jamestyrrell jamestyrrell Improved HTTP message streaming in HttpMessageDecoder 78301f4
Commits on Jun 04, 2012
@normanmaurer normanmaurer Move in correct package a06b3a4
@normanmaurer normanmaurer Merge branch '3' of ssh://github.com/netty/netty into 3 4a48419
@normanmaurer normanmaurer Add a testcase to prove that we have no bug in ChunkedWriteHandler wh…
…en notify futures
508edbf
@normanmaurer normanmaurer Skip test on windows as it may fail because of permission problems 9b097dd
@normanmaurer normanmaurer Merge pull request #380 from jamestyrrell/3-new
Improve HTTP message streaming in decoder
cec8816
@trustin trustin Update license headers 977ce4e
Commits on Jun 06, 2012
@normanmaurer normanmaurer Only parse the packet length one time per packet. See #382 784722e
@normanmaurer normanmaurer Notify ChannelFuture first on handshake() error. See #383 4f81776
@normanmaurer normanmaurer Make sure we call super. fc2049b
@normanmaurer normanmaurer Add test for deadlock 78da141
Commits on Jun 07, 2012
@normanmaurer normanmaurer Make sure multicast test use correct interface. This also fix #373 4e8c363
@normanmaurer normanmaurer Make sure calling ExecutionHandler.releaseExternalResource() does not…
… lead to a dead-lock when calling from a ChannelEventRunnable. See #200
758b7dc
@trustin trustin Fix a problem where multicast test eats 100% CPU on test failure (#373)
- Proper resource cleanup fixed 100% CPU issue
- Using a loopback interface made the test pass
6d647fe
Commits on Jun 08, 2012
@trustin trustin CRLF -> LF / Remove trailing whitespace 6fce453
@trustin trustin Upgrade to the latest checkstyle rules 255a072
@trustin trustin Fit to 120 columns (in progress) 90a1bd6
@trustin trustin Update Javadoc URLs 9479636
@trustin trustin Fit to 120 column (Done) 3fb5b9e
@normanmaurer normanmaurer @Ignore multicast tests 8f429cb
@normanmaurer normanmaurer [maven-release-plugin] prepare release netty-3.5.0.Final 7fa8b8b
@normanmaurer normanmaurer [maven-release-plugin] prepare for next development iteration 3d3879d
@normanmaurer normanmaurer Exclude bin folder 25109dd
@trustin trustin Update the checkstyle rule 51cca83
Commits on Jun 11, 2012
@normanmaurer normanmaurer Merge branch '3' of ssh://github.com/netty/netty into 3 7d8a6f9
@normanmaurer normanmaurer Revert "Merge branch '3' of ssh://github.com/netty/netty into 3"
This reverts commit 7d8a6f9, reversing
changes made to 78da141.
91accdc
@normanmaurer normanmaurer Sorry.. bad revert "Revert "Merge branch '3' of ssh://github.com/nett…
…y/netty into 3""

This reverts commit 91accdc.
4776e6a
@normanmaurer normanmaurer Remove unnecessary use of volatile in ChunkedInput implementations. See c7a96c1
@gbehrmann gbehrmann Add ZeroCopyFrameDecoder
Copy of FrameDecoder that avoids copying partial frames to a cumulation
buffer. Instead buffers are kept on a list and composed to a
CompositeChannelBuffer when needed.

CompositeChannelBuffers's decomposite method conveniently allows buffers
from which all data was read to be discarded.

The documented interface stays compatible with FrameDecoder, however
undocumented behaviour used by ReplyDecoder and other subclasses has
changed. For this reason a new class was introduced rather than
modifying the existing FrameDecoder.
641e536
Commits on Jun 12, 2012
@trustin trustin Ensure all fields follow our naming convention (#393)
- Fix naming issues in SPDY
- For backward compatibility, the methods with bad names were deprecated
b9906e9
@trustin trustin getPersist(ed) -> isPersist(ed) (#393) 65111fc
@trustin trustin Remove 'public' modifier which is unnecessary a6f5af6
@trustin trustin ID -> Id (#393 Ensure all fields follow our naming convention) d159a43
@trustin trustin ID -> Id (#393 Ensure all fields follow our naming convention) 9464396
@trustin trustin Do not use the deprecated methods (#393) 178d24a
@trustin trustin ID -> Id (#393 Ensure all fields follow our naming convention) 95d8e78
@trustin trustin StreamID -> StreamId (#393 Ensure all fields follow naming convention) c3e7018
@trustin trustin serverID -> serverId (#393 Ensure all fields follow naming convention) fed2f64
Commits on Jun 13, 2012
@normanmaurer normanmaurer Use a different ThreadLocal for ChannelExecutionEvents to prevent fal…
…se-positives on deadlock detection. See #387
cb8fc7a
@normanmaurer normanmaurer Introduce a FrameDecoder.setMaxCumulationBufferCapacity(..) setter wh…
…ich allows to configure how bug the capacity of the cumulation buffer can be before the FrameDecoder tries to optimize memory usage with byte copies. Related to #390

This allows the users to set a threshold that matches best their needs. Use Integer.MAX_VALUE to disable copies at all at the cost of bigger memory usage.
df11cfa
Commits on Jun 15, 2012
@fredericBregier fredericBregier Proposal to fix issue #398 by replacing FileChannel.transferTo by man…
…ual loop to prevent usage of mmap unde the wood by the JVM, while the optimization will be less efficient.
7c34781
@fredericBregier fredericBregier Change back to FileChannel but by block 1f696fa
@fredericBregier fredericBregier Merge pull request #399 from fredericBregier/3
Proposal to fix issue #398 by replacing transferTo by using loop on FileChannel
6d29d2f
@fredericBregier fredericBregier Damn ! Fix typo and type needed for fix #399 for issue #398 bab98ab
@fredericBregier fredericBregier Merge pull request #400 from fredericBregier/3
Damn ! Fix typo and type needed for fix #399 for issue #398
Sorry!
e8595e9
Commits on Jun 18, 2012
Jeff Pinner Use java.util.zip in HttpContentCompressor if possible db181f1
@trustin trustin Merge pull request #404 from jpinner/native_zlib_encoder
Use java.util.zip in HttpContentCompressor if possible
0bf9d24
Commits on Jun 19, 2012
@trustin trustin Rename NativeZlibEncoder to JdkZlibEncoder 7aceb7a
@gbehrmann gbehrmann Merge remote-tracking branch 'upstream/3' into feature/zerocopyframed…
…ecoder
a3f46b5
@gbehrmann gbehrmann ZeroCopyFrameDecoder: Follow checkstyle rules 0086eb3
@gbehrmann gbehrmann ZeroCopyFrameDecoder: Optimize cumulation buffer compaction
Avoid calling CompositeChannelBuffer.decompose. A more efficient
frame deocder specific implementation is used that avoids some
of the cost of decomposing a CompositeChannelBuffer.

Added setMaxUnusedBufferCapacity to set a threshold. If a
cumulation buffer wastes more space than the threshold, the
decoder will resort to copying the buffer to free up the unused
space. The semantics are different from FrameDecoder's
setMaxCumulationBufferCapacity in that the threshold is for
unused space, not buffer capacity. This allows the copy of
large buffers to be avoided if only a small amount of space
is to be gained.

If a copy is invoked, only the actual fragment is copied, not
the complete cummulation buffer. This reduces the cost of
copying the buffer.
e329cc3
Commits on Jun 24, 2012
@trustin trustin Fix #405: CookieEncoder should refuse to encode more than one cookie
.. if on server mode
fa886db
@trustin trustin Fix #403 - Contradictory JavaDoc in setWriteBufferHighWaterMark 3fc7730
@trustin trustin Fix test failures 9ae847c
@trustin trustin Fix #397: Allow all cookie names that conform to the RFC
- lenient flag is not needed anymore
e3a8805
@normanmaurer normanmaurer Remove misleading comment 2721d1e
@trustin trustin Fix #218: CookieDecoder.decode() throws StackOverflowError
- Rewrote key-value decoder not using a regular expression
b2d8813
@trustin trustin Fix #406: HttpContentCompressor compresses compressed content
- Do not compress if the content encoding is not identity
76db244
@trustin trustin Merge pull request #390 from gbehrmann/feature/zerocopyframedecoder
ZeroCopyFrameDecoder to avoid excessive buffer copies in FrameDecoder when using large frames
7f21dae
@trustin trustin Simplify FrameDecoder and ReplayingDecoder 1311a2e
@trustin trustin Fix #263 No way to pass unfold=true to decoder superclass
- Allow modifying unfold property until the decoder is added to a
  pipeline
8650cfb
@trustin trustin [maven-release-plugin] prepare release netty-3.5.1.Final db7fcc8
@trustin trustin [maven-release-plugin] prepare for next development iteration b86edd9
Commits on Jun 25, 2012
@trustin trustin Add FrameDecoder.maxCumulationBufferComponents 59a1095
Commits on Jun 27, 2012
@trustin trustin Deque from the acceptEncodingQueue even if it's not gonna be encoded fe6b71c
@trustin trustin Add more cookie decoding test case 2151805
Commits on Jun 28, 2012
@normanmaurer normanmaurer Slice the buffer if possible to reduce memory copies when reading the…
… content. See #412
8314886
@jaens jaens Fix SpdyHttpHeaders.setScheme setting the wrong header e9212af
@normanmaurer normanmaurer Merge pull request #417 from jaens/3
Fix SpdyHttpHeaders.setScheme setting the wrong header
31ca517
Commits on Jun 29, 2012
@normanmaurer normanmaurer Backport getBuffer(..) method in CompositeChannelBuffer. See #414 and #… 076a6a9
@normanmaurer normanmaurer Make sure the readerIndex is updated after the ChannelBuffer was slic…
…ed out. See #412
e53be94
@normanmaurer normanmaurer Fix checkstyle 70bfaf4
@normanmaurer normanmaurer Add getters for the specified timeout values. See #418 28a1992
@normanmaurer normanmaurer Use FrameDecoder.setMaxCumulationBufferComponents(Integer.MAX_VALUE) …
…for Decoders that needs to handle big frames. See #424
a746b5d
Commits on Jul 01, 2012
@normanmaurer normanmaurer Minimize byte copies by using a CompositeChannelBuffer to concat the …
…chunks. See #413
bf23828
Commits on Jul 03, 2012
@normanmaurer normanmaurer Use 1000 as default value for the max composite buffer components. Th…
…is safe a lot of byte copies and so speed up every decoder that extends FrameDecoder. See #435
91d5c9a
@normanmaurer normanmaurer Use 1000 as default value for the max composite buffer components. Th…
…is safe a lot of byte copies. See #413
d8880ef
@normanmaurer normanmaurer Fix misleading comment b074295
@normanmaurer normanmaurer change default from 1000 -> 1024 f16c747
@TcLjmt TcLjmt Fix for issue #434 to provide the ability to stop even if no CRLF is
provided since some clients as Adobe Flash will not finish the closing
delimiter with a CRLF.
f74a96c
@TcLjmt TcLjmt fix example (cookie) 1936df2
@normanmaurer normanmaurer Merge pull request #436 from fredericBregier/3
Proposal to fix issue #434
5acd5a2
Commits on Jul 04, 2012
@normanmaurer normanmaurer Fix checkstyle f499348
@normanmaurer normanmaurer Correctly format cookies. This fix some bug which lead to expiring of…
… cookies to not work. See #426
18fb438
@normanmaurer normanmaurer Throw a special SSLException if a non SSL/TLS record was detected. See 9a1344c
@normanmaurer normanmaurer Fix a bug where HttpChunk.isLast() return true if the connection was …
…closed and nothing was left in the internal buffer but the received content was not complete. See#433
d464e86
@normanmaurer normanmaurer Add testcsae for #433. Thanks 243f1bb
@normanmaurer normanmaurer Remove unused import 3385f85
Commits on Jul 05, 2012
@normanmaurer normanmaurer Optimize SslHandler's detection of supressable exceptions, so it will…
… not break on different OS's or jdk impls. See #79
e0f139c
@normanmaurer normanmaurer Fix javadoc warnings b089f0c
@normanmaurer normanmaurer Fix javadoc warnings 9ba1878
@normanmaurer normanmaurer [maven-release-plugin] prepare release netty-3.5.2.Final 6e80df5