Commit Graph

2788 Commits

Author SHA1 Message Date
Frédéric Brégier
0b2c43f04e Fix decodeAttribute in HttpPostRequestDecoder to take into account exception from bad format from URLDecoder.decode 2012-07-22 10:59:26 +03:00
norman
6c181af6b9 Make sure CompactObjectInputStream fall back to old behavior so make it compatible with older versions of netty which are used on the other end. See #452 2012-07-13 07:19:46 +02:00
Trustin Lee
629cf073e1 [#453] IndexOutOfBoundsException in HttpPostBodyUtil 2012-07-13 13:07:55 +09:00
Trustin Lee
2f3e0fddf2 [#452] Make ObjectDecoder work with JDK 5 again 2012-07-13 13:04:01 +09:00
Trustin Lee
1843094461 [#452] CompactObjectInputStream fails to resolve interfaces 2012-07-13 13:01:29 +09:00
Norman Maurer
d579a5a38f Fix a bug which lead to a NPE when deserialize interfaces. See #452 2012-07-12 21:14:00 +02:00
norman
c7e276efe0 Check for null values 2012-07-12 07:51:15 +02:00
norman
bd1bc534d8 Add helper method that allows to create a ChannelBuffer out of a hex dump String. See #449 2012-07-11 09:41:31 +02:00
Trustin Lee
ab43b9aa11 Add more constructors to NotSslRecordException 2012-07-11 00:43:42 +09:00
Norman Maurer
fbc9167c50 Merge pull request #448 from jpinner/spdy_frame_encoder_race
Fix for issue #442: SpdyFrameEncoder compressor state race condition
2012-07-10 02:33:35 -07:00
Jeff Pinner
fa4ea1894a Fix for issue #442: SpdyFrameEncoder compressor state race condition 2012-07-10 01:44:17 -07:00
Norman Maurer
7180146084 Merge pull request #446 from jpinner/http_compression_error
Fix for issue #444: Http compression error
2012-07-09 22:54:07 -07:00
Jeff Pinner
4493e9683f Fix for issue #444: Http compression error 2012-07-09 11:00:46 -07:00
Norman Maurer
f648aae747 Fix ArrayIndexOutOfBoundsException in ReplayDecoderBuffer which could happen when calling getByte(..) or getUnsignedByte(..). See #445 2012-07-08 11:24:26 +02:00
norman
02c0c5b5e9 Revert "Only parse the packet length one time per packet. See #382" as this makes no sense after thinking more about it and just makes it harder to read
This reverts commit 784722eff4.

Conflicts:

	src/main/java/org/jboss/netty/handler/ssl/SslHandler.java
2012-07-06 13:57:55 +02:00
norman
6421bd3885 Fix a race which could lead to have channelDisconnected event not fired. See #440 2012-07-06 07:39:41 +02:00
norman
991ca860ea [maven-release-plugin] prepare for next development iteration 2012-07-05 10:51:21 +02:00
norman
6e80df52f7 [maven-release-plugin] prepare release netty-3.5.2.Final 2012-07-05 10:51:11 +02:00
norman
9ba1878b73 Fix javadoc warnings 2012-07-05 10:47:09 +02:00
norman
b089f0c59b Fix javadoc warnings 2012-07-05 10:42:26 +02:00
norman
e0f139c5d7 Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79 2012-07-05 09:32:34 +02:00
norman
3385f85f5c Remove unused import 2012-07-04 14:28:08 +02:00
norman
243f1bb7ee Add testcsae for #433. Thanks 2012-07-04 14:21:39 +02:00
norman
d464e86733 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 2012-07-04 09:44:01 +02:00
norman
9a1344c3ae Throw a special SSLException if a non SSL/TLS record was detected. See #437 2012-07-04 08:26:18 +02:00
norman
18fb438949 Correctly format cookies. This fix some bug which lead to expiring of cookies to not work. See #426 2012-07-04 07:40:39 +02:00
norman
f499348267 Fix checkstyle 2012-07-04 07:39:07 +02:00
Norman Maurer
5acd5a2a87 Merge pull request #436 from fredericBregier/3
Proposal to fix issue #434
2012-07-03 11:53:53 -07:00
Frederic Bregier
1936df2e4d fix example (cookie) 2012-07-03 20:44:55 +02:00
Frederic Bregier
f74a96ca20 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.
2012-07-03 15:02:40 +02:00
norman
f16c7472de change default from 1000 -> 1024 2012-07-03 10:40:49 +02:00
norman
b0742950b9 Fix misleading comment 2012-07-03 08:39:35 +02:00
norman
d8880efe61 Use 1000 as default value for the max composite buffer components. This safe a lot of byte copies. See #413 2012-07-03 08:36:59 +02:00
norman
91d5c9a0a6 Use 1000 as default value for the max composite buffer components. This safe a lot of byte copies and so speed up every decoder that extends FrameDecoder. See #435 2012-07-03 08:32:06 +02:00
Norman Maurer
bf23828734 Minimize byte copies by using a CompositeChannelBuffer to concat the chunks. See #413 2012-07-01 14:52:58 +02:00
Norman Maurer
a746b5d3fe Use FrameDecoder.setMaxCumulationBufferComponents(Integer.MAX_VALUE) for Decoders that needs to handle big frames. See #424 2012-06-29 13:42:43 +02:00
Norman Maurer
28a1992bf4 Add getters for the specified timeout values. See #418 2012-06-29 13:38:51 +02:00
Norman Maurer
70bfaf4454 Fix checkstyle 2012-06-29 13:38:20 +02:00
Norman Maurer
e53be94773 Make sure the readerIndex is updated after the ChannelBuffer was sliced out. See #412 2012-06-29 13:10:27 +02:00
Norman Maurer
076a6a9239 Backport getBuffer(..) method in CompositeChannelBuffer. See #414 and #415 2012-06-29 13:04:15 +02:00
Norman Maurer
31ca517627 Merge pull request #417 from jaens/3
Fix SpdyHttpHeaders.setScheme setting the wrong header
2012-06-28 04:17:32 -07:00
Jaen Saul
e9212afef9 Fix SpdyHttpHeaders.setScheme setting the wrong header 2012-06-28 13:45:56 +03:00
Norman Maurer
83148869aa Slice the buffer if possible to reduce memory copies when reading the content. See #412 2012-06-28 09:24:32 +02:00
Trustin Lee
215180511d Add more cookie decoding test case 2012-06-27 12:41:16 +09:00
Trustin Lee
fe6b71c1f0 Deque from the acceptEncodingQueue even if it's not gonna be encoded 2012-06-27 10:27:43 +09:00
Trustin Lee
59a1095c23 Add FrameDecoder.maxCumulationBufferComponents 2012-06-25 11:25:40 +09:00
Trustin Lee
b86edd95b1 [maven-release-plugin] prepare for next development iteration 2012-06-24 22:26:10 +09:00
Trustin Lee
db7fcc806c [maven-release-plugin] prepare release netty-3.5.1.Final 2012-06-24 22:25:49 +09:00
Trustin Lee
8650cfbc53 Fix #263 No way to pass unfold=true to decoder superclass
- Allow modifying unfold property until the decoder is added to a
  pipeline
2012-06-24 22:19:17 +09:00
Trustin Lee
1311a2edc1 Simplify FrameDecoder and ReplayingDecoder 2012-06-24 22:12:08 +09:00