Norman Maurer
3a3c5de76b
Merge branch '3' of github.com:netty/netty into 3
2012-08-12 10:59:04 +02:00
Norman Maurer
6d87b7629e
Fix NPE in DefaultChannelPipeline if toString() is called with an empty pipeline. See #505
2012-08-12 10:58:43 +02:00
norman
eb8757f1cb
Fix bug which leads to return HttpMessageEncoder implementations null if encoding a HttpChunk which is the last one. This vilates the OneToOneEncoder contract and so leads to a missing notification of the write future. See #493
2012-08-09 08:02:27 +02:00
Trustin Lee
4e5041d355
Fix typo in test samples
2012-07-19 20:41:35 +09: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
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
243f1bb7ee
Add testcsae for #433 . Thanks
2012-07-04 14:21:39 +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 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
076a6a9239
Backport getBuffer(..) method in CompositeChannelBuffer. See #414 and #415
2012-06-29 13:04:15 +02:00
Trustin Lee
215180511d
Add more cookie decoding test case
2012-06-27 12:41:16 +09:00
Trustin Lee
b2d8813bf3
Fix #218 : CookieDecoder.decode() throws StackOverflowError
...
- Rewrote key-value decoder not using a regular expression
2012-06-24 19:01:20 +09:00
Trustin Lee
e3a8805259
Fix #397 : Allow all cookie names that conform to the RFC
...
- lenient flag is not needed anymore
2012-06-24 14:16:03 +09:00
Trustin Lee
9ae847c33a
Fix test failures
2012-06-24 13:41:54 +09:00
Trustin Lee
c3e70186f8
StreamID -> StreamId ( #393 Ensure all fields follow naming convention)
2012-06-12 20:57:34 +09:00
Trustin Lee
95d8e782e3
ID -> Id ( #393 Ensure all fields follow our naming convention)
2012-06-12 20:31:45 +09:00
Trustin Lee
178d24a16d
Do not use the deprecated methods ( #393 )
2012-06-12 20:27:14 +09:00
norman
4776e6ae9f
Sorry.. bad revert "Revert "Merge branch '3' of ssh://github.com/netty/netty into 3""
...
This reverts commit 91accdc5e4
.
2012-06-11 12:49:32 +02:00
norman
91accdc5e4
Revert "Merge branch '3' of ssh://github.com/netty/netty into 3"
...
This reverts commit 7d8a6f9c8e
, reversing
changes made to 78da141c9d
.
2012-06-11 10:07:46 +02:00
Norman Maurer
8f429cba47
@Ignore multicast tests
2012-06-08 18:08:16 +02:00
Trustin Lee
6d647feb7e
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
2012-06-08 08:59:28 +09:00
Norman Maurer
758b7dc793
Make sure calling ExecutionHandler.releaseExternalResource() does not lead to a dead-lock when calling from a ChannelEventRunnable. See #200
2012-06-07 15:40:00 +02:00
Norman Maurer
4e8c3638e1
Make sure multicast test use correct interface. This also fix #373
2012-06-07 15:27:43 +02:00
Trustin Lee
977ce4e645
Update license headers
2012-06-04 13:35:22 -07:00
norman
9b097ddea0
Skip test on windows as it may fail because of permission problems
2012-06-04 15:04:24 +02:00
norman
508edbfdcc
Add a testcase to prove that we have no bug in ChunkedWriteHandler when notify futures
2012-06-04 14:27:20 +02:00
norman
4a48419dc6
Merge branch '3' of ssh://github.com/netty/netty into 3
2012-06-04 13:45:48 +02:00
norman
a06b3a41e8
Move in correct package
2012-06-04 13:45:04 +02:00
Trustin Lee
38314b5191
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
2012-06-02 23:08:43 -07:00
norman
8ca40aa148
Remove bad test
2012-06-01 10:26:21 +02:00
Trustin Lee
b0a2b43379
Overall automated clean up
2012-05-31 11:52:10 -07:00
Trustin Lee
689093408e
Move HTTP multipart classes to its own package / Clean-up
...
- Add HttpConstants
2012-05-31 11:41:30 -07:00
Trustin Lee
aa9bb38f2e
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
2012-05-31 02:42:50 -07:00
Trustin Lee
58d2d724e2
Un-deprecate the constructors in NioDatagramChannelFactory
2012-05-31 02:38:13 -07:00
Trustin Lee
7fc2d40a24
Fixed all compiler warnings
2012-05-31 02:23:33 -07:00
Trustin Lee
af81d52f84
Test both SPDY 2 & 3
2012-05-31 02:23:33 -07:00
norman
fca7f89371
Make sure calling ExecutionHandler.releaseExternalResource() does not lead to a dead-lock when calling from a ChannelEventRunnable. See #200
2012-05-31 09:05:03 +02:00
Norman Maurer
80df72843b
Make sure the cumulationbuffer will get handled in the right manner even on Exception. Before this could this could lead to an AssertionFailure. See #364
2012-05-28 14:35:11 +02:00
Norman Maurer
be20b50512
Add a ContextBoundUnmarshallerProvider. See #324
2012-05-24 16:19:09 +02:00
norman
22282cf3e2
Add a ThreadLocalMarshallerProvider and add test cases. See #324
2012-05-24 14:18:12 +02:00
norman
cc97380170
Fix class naming. See #324
2012-05-24 10:23:11 +02:00
norman
1bc52cbd8c
Merge back fix for #360
2012-05-24 08:45:48 +02:00
Norman Maurer
98a8bd25bb
Add testcases for all marshal encoder and decoder. See #324
2012-05-23 21:48:50 +02:00
Norman Maurer
bc308310e0
Rename classes to reflect the real test coverage. See #324
2012-05-23 21:10:12 +02:00
Norman Maurer
6b0a6db3f5
Follow the same pattern as we have in the serialization package. So we have some compatible jboss marshalling impl and one optimized. See #324
2012-05-23 21:04:58 +02:00
Norman Maurer
c5f6af6584
Some refactoring for the jboss marshalling support to allow easier reuse of components. See #324
2012-05-23 20:38:58 +02:00
Norman Maurer
2c7c67ef4c
Fix compilation error
2012-05-22 22:34:50 +02:00
norman
5f28d01507
Make sure the test also work on ipv6 interfaces
2012-05-22 10:03:33 +02:00
Jeff Pinner
706d4d8598
SPDY: add SPDY/3 support
2012-05-21 21:58:56 -07:00
Norman Maurer
4bf2257d1a
Try to add a testcase to reproduce #343
2012-05-19 20:51:25 +02:00
Norman Maurer
33df31d7b7
Fix formatting
2012-05-19 20:39:00 +02:00
Norman Maurer
a2b3fc8367
Remove @Override annotation from interface implements
2012-05-19 20:34:24 +02:00
blucas
c052f90410
#337 back-port ipfilter and traffic to 3 branch (Fix test package method override)
2012-05-18 18:00:16 +01:00
blucas
31eb8595be
#337 back-port ipfilter and traffic to 3 branch (Fix test package)
2012-05-18 17:57:30 +01:00
blucas
98b06c6237
#337 back-port ipfilter and traffic to 3 branch
2012-05-18 17:33:19 +01:00
Jeff Pinner
ba76d5b515
SPDY: fix for mozilla firefox bug 754766
2012-05-17 11:36:57 +09:00
norman
f603494424
Make sure CompositeChanneBuffer does not throw a UnsupportedOperationException if discardReadBytes() discard the whole content of the buffer. See #325
2012-05-15 13:14:23 +02:00
Norman Maurer
7b7c585cf3
Hide the TooBigObjectException and just throw a TooLongFrameException
2012-05-14 20:10:58 +02:00
norman
1f866fc7ad
Add decoder/encoder for jboss marshalling
...
Use property for version
2012-05-14 17:15:45 +02:00
Trustin Lee
d24c48cbfb
Code clean up
2012-05-14 23:06:14 +09:00
Trustin Lee
b6aa509f32
Add ChannelFuture.sync() and syncUninterruptibly()
...
- Deprecate rethrowIfFailed() which is inferior to the new ones
2012-05-14 22:24:45 +09:00
norman
33cee3dc9d
Backport support for nio udp multicast to 3 branch. See #216
2012-05-10 10:15:40 +02:00
norman
d920c6dc95
Backport support for nio udp multicast to 3 branch. See #216
2012-05-10 09:35:24 +02:00
Norman Maurer
cfc52b9d49
Add more tests for ChunkedWriteHandler
2012-05-06 19:30:50 +02:00
Norman Maurer
ccfa196b3b
Add test for fix of regression in ChunkedWriteHandler. See #310
2012-05-06 19:30:41 +02:00
Norman Maurer
7e00f614d3
Remove benchmakr which use used as proof of concept
2012-04-24 20:20:17 +02:00
Norman Maurer
f0f152085a
Merge pull request #271 from netty/gathering_write_support
...
Use gathering writes if java version is >= 7 . See #269
2012-04-24 11:06:30 -07:00
Norman Maurer
c134a522c3
Allow to specify the local address when connect. See #276
2012-04-21 15:51:51 +02:00
Norman Maurer
510692d7e7
Add benchmark for gathering writes. See #269
2012-04-19 17:45:41 +02:00
Norman Maurer
3d762a7594
Make it configurable if the HttpClientCodec should throw an exception on close when the response and request count does not match. Default is false. See #266
2012-04-17 20:15:20 +02:00
Norman Maurer
fdc27db45d
Add also tests for HttpClientCodec that tests handling chunked responses. See #256 amd #259
2012-04-15 20:54:57 +02:00
Norman Maurer
ad7c25866e
Add test for HttpClientCodec that tests handling of missing responses. See #256 amd #259
2012-04-15 15:39:35 +02:00
Norman Maurer
d1ec95a320
Add test for HttpClientCodec that tests handling of missing responses. See #256 amd #259
2012-04-15 15:37:39 +02:00
Trustin Lee
2c2d64a75e
Merge branch '3' of github.com:netty/netty into 3
2012-04-12 14:15:02 +09:00
Trustin Lee
1d74c13fe7
Remove Redis client codec (will continue work on master)
2012-04-12 14:13:21 +09:00
Norman Maurer
ef530698c5
Take care of releasing the local channel when releaseExternalResources() is called. See #235
2012-04-09 20:06:20 +02:00
Norman Maurer
403fdb2035
Add test case to show that issue #235 is due some incorrect usage
2012-04-09 16:30:36 +02:00
Norman Maurer
ef6056f5f9
Let the test pass in osx also
2012-04-04 19:05:57 +02:00
norman
6995701f20
Fix UDP nio impl and add some tests for it
2012-04-03 07:44:28 +02:00
Trustin Lee
3e1a055f36
Overall Redis codec cleanup (more to come)
...
- Prefer ChannelBuffer over byte[]
- Hide the methods that users are not usually interested in
- Rename RedisEncoder/Decoder to RedisCommandEncoder/ReplyDecoder
- Add getter methods to Replies
- Rename getX() to X() because I like it for read-only properties
2012-03-30 22:29:04 +09:00
Trustin Lee
6cdd9ac711
Code cleanup
2012-03-30 12:22:56 +09:00
norman
b98ce36608
Move RedisClient to example package and license header
2012-03-12 07:08:00 +01:00
Norman Maurer
eabad22663
Fix up tests
2012-03-11 20:55:18 +01:00
Sam Pullara
f7a1ec61f2
Fixed several bugs in the replay state implementation
2012-03-10 22:12:17 -08:00
Sam Pullara
a0a59d916d
passes the JDK5 and license stuff wow
2012-03-10 12:04:05 -08:00
Sam Pullara
b3cdeff919
suggestions from both repositories applied
2012-03-10 10:04:26 -08:00
Sam Pullara
0776911ed1
Redis client codec
2012-03-10 10:04:26 -08:00
Trustin Lee
1df328034f
Fix #202 - Remove Twitter license
...
Twitter signed CCLA today.
2012-03-01 14:01:31 -08:00
norman
c12717bfed
Correctly decode URI in QueryStringDecoder. See #189
2012-02-15 08:35:53 +01:00
Trustin Lee
6e8e836b2e
Fix license headers
2012-02-07 17:40:16 +09:00
Jeff Pinner
3f9e89c17d
Merge remote-tracking branch 'upstream/3.2' into spdy_framing_layer_3_2
2012-02-03 16:23:41 -08:00
Jeff Pinner
9fcb4643b1
SPDY Protocol Framing Layer Tests
2012-02-03 16:22:39 -08:00
Trustin Lee
0ee43f770f
Remove a unused field
2012-02-02 16:18:27 +09:00
Jeff Pinner
aecce011e8
Fix #164 : HttpContentCompressor accepts encodings whose qvalue is 0
2012-01-31 14:34:21 -08:00
Trustin Lee
c95f9314f3
Fix #153 : Add ChannelFuture.rethrowIfFailed()
2012-01-19 13:34:28 +09:00
Trustin Lee
009300fad3
Overall cleanup / Add lost old jzlib headers
2012-01-13 17:39:53 +09:00
Trustin Lee
e2109b236b
Fix various checkstyle violations
...
Backported from master
2012-01-11 20:17:47 +09:00
Trustin Lee
72a8159344
Issue #141 : hashdos security vulnerability in QueryStringDecoder and possibl
...
* Limited maximum number of parameters to 1024 by default and made the limitation configurable
* QueryStringDecoder is now able to handle an HTTP POST content
* Backported the improvements from master
2011-12-30 18:00:42 +09:00
Norman Maurer
43f72b42f7
Rename test class to be more inline with the rest of the project
2011-12-11 11:28:31 +01:00