Commit Graph

320 Commits

Author SHA1 Message Date
Trustin Lee
0bc6ace8d1 Remove redundant no-arg constructors 2012-11-10 01:08:32 +09:00
Trustin Lee
74a235d29f Simplify array initialization 2012-11-10 01:00:26 +09:00
Trustin Lee
c34d0a2272 Replace dynamic regular expressions with precompiled Patterns or new StringUtil.split() 2012-11-10 00:42:35 +09:00
Trustin Lee
c06722c232 Add missing @Override annotation 2012-11-09 17:34:24 +09:00
Trustin Lee
3e21e3250f Fix overly-strong type casts 2012-11-09 17:15:13 +09:00
Norman Maurer
1a006fafad [#719] Handle http requests without an absolute path the right way when encoding them, which is adding / to it 2012-11-09 07:16:32 +01:00
Norman Maurer
389cdb124f Add a test that I wrote while working on some OOME problem 2012-10-04 11:07:05 +02:00
Norman Maurer
4dc4664692 Fix year in header 2012-10-01 06:59:13 +02:00
Norman Maurer
8f4c583e40 Fix NPE in MemoryAwareThreadPoolExecutor and also add a testcase. See #634 2012-10-01 06:57:12 +02:00
Norman Maurer
530b72fad7 Fix IndexOutOfBoundException when using CompositeChannelBuffer and the readerIndex is at the last position and an empty array is passed to read to. See #474 2012-09-22 18:33:33 +02:00
Daniel Bevenius
21b9dd00cd WebSocket enhancements for 3.x 2012-09-11 08:51:15 +02:00
norman
3d441821a9 Throw an RejectedExecutionException if someone tries to register a Channel to an AbstractNioWorker that was shutdown before. Part of #582 2012-09-04 07:40:07 +02:00
Trustin Lee
32c58354fa Add SystemPropertyUtil.refresh() / Remove DebugUtilTest
- DebugUtilTest does not pass at all unless a new VM is not launched for
  every test method
2012-09-03 16:12:02 +09:00
Trustin Lee
ebbcfbc185 Fix test failure 2012-08-20 12:04:16 +09:00
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