Commit Graph

2798 Commits

Author SHA1 Message Date
Norman Maurer
54559a9595 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:54:58 +02:00
Norman Maurer
d808cd0475 Fix compile error 2012-04-17 20:54:38 +02:00
Norman Maurer
b3b5fb1de6 Fallback to LegacyLinkedTransferQueue if using LinkedTransferQueue fails. See #268 2012-04-17 14:17:56 +02:00
Norman Maurer
02dc9ea8c1 Add workaround for connection problems with IPv6 link-local addresses and jdk < 7. See #267 2012-04-17 14:16:37 +02:00
Norman Maurer
2db3e59a6c Add workaround for connection problems with IPv6 link-local addresses and jdk < 7. See #267 2012-04-17 09:56:15 +02:00
Norman Maurer
aa6c16b136 Make sure PrematureChannelClosureException is not thrown incorrectly sometimes. See #266 2012-04-17 09:25:53 +02:00
Norman Maurer
cd92478bfc Use Sec-WebSocket-Origin in WebSocketClientHandshaker08 as replacement for Origin. See #264 2012-04-16 15:30:43 +02:00
norman
00e59da7ba Add port to Origin HTTP Header if the port is non default (80/443). See
#262
2012-04-16 13:26:35 +02:00
norman
0a84ce6f00 Merge branch 'master' of ssh://github.com/netty/netty 2012-04-16 13:12:36 +02:00
norman
987e152f08 Add port to Origin HTTP Header if the port is non default (80/443). See
#262
2012-04-16 13:12:12 +02:00
Norman Maurer
978168e8c6 Fix typo 2012-04-16 11:45:59 +03:00
norman
c44f365ee7 Add some javadocs notes that explain the behavior of CookieEncoder.encode(). See #94 2012-04-16 10:43:21 +02:00
norman
05615c4779 Throw IllegalStateException if DynamicChannelBuffer exceed the maximum
ChannelBuffer size of 2gb. See #258
2012-04-16 09:55:03 +02:00
Norman Maurer
f25453cd36 Merge pull request #261 from CruzBishop/logger-usage
Replace System.out logging with InternalLogger
2012-04-15 23:06:14 -07:00
Norman Maurer
e02225a80f Add also tests for HttpClientCodec that tests handling chunked responses. See #256 amd #259 2012-04-15 20:58:40 +02:00
Norman Maurer
bc141f695b Add test for HttpClientCodec that tests handling of missing responses. See #256 amd #259 2012-04-15 15:47:05 +02:00
Cruz Bishop
11e974ace3 Fix up the last logging mishits 2012-04-15 19:22:02 +10:00
Cruz Bishop
a682b018b2 More logging 2012-04-15 19:18:35 +10:00
Norman Maurer
fa3c9c8eee Merge pull request #260 from CruzBishop/logger-usage
Replace System.*.println calls with logging
2012-04-15 01:22:26 -07:00
Cruz Bishop
a20ab9184e Use loggers in some more classes 2012-04-15 17:49:04 +10:00
Cruz Bishop
efabc3c285 Use a logger in ZStream 2012-04-15 17:34:51 +10:00
Cruz Bishop
db97e4eb35 Use a logger in SocketAddresses 2012-04-15 17:29:15 +10:00
norman
d363f73fd8 Only increment the counter if the encode did not fail. See #256 2012-04-12 10:55:18 +02:00
norman
5ed04c3ada Correctly handle chunked requests/responses. See #256 2012-04-12 10:34:16 +02:00
norman
b9c60bd518 Throw a PrematureChannelClosureException if the channel was closed before all responses were received for the sent requests. See #256 2012-04-12 10:22:10 +02:00
norman
941e71de36 cleanup comments 2012-04-12 09:29:59 +02:00
norman
3f8c13f138 Fix regression in Zlib which was introduced while refactoring the code. See #255 2012-04-11 10:26:29 +02:00
norman
962a67dc03 Add final keyword 2012-04-11 09:16:27 +02:00
norman
5b53b66fbf Allow to share a WorkerPool for boss and worker threads but also allow to have them separate. See #240 2012-04-11 09:15:02 +02:00
norman
470c1a898a Fix a bug which lead to only use two threads for all tasks all the time, even if the WorkerPool contained more. See #240 2012-04-11 08:45:51 +02:00
norman
a37d7bb5f3 Make sure multicast tests pass on all os'es 2012-04-11 08:09:03 +02:00
Norman Maurer
4436f60e2f Workaround to have multicast tests work on osx, linux and windows 2012-04-10 21:00:44 +02:00
norman
f17e56b33b Accept all ready sockets for the SelectionKey. See #240 2012-04-10 11:18:34 +02:00
norman
beedd26e1c Add missing license header 2012-04-10 10:04:40 +02:00
norman
1314db9c0a Fix a NPE in a testcase when running via ubuntu 2012-04-10 08:12:10 +02:00
Norman Maurer
16bbd31330 Await for close of the channels. See #235 2012-04-09 20:07:45 +02:00
Norman Maurer
7045831687 Correct javadoc. See #235 2012-04-09 20:02:33 +02:00
Norman Maurer
32d327ede2 Take care of releasing the local channel when releaseExternalResources() is called. See #235 2012-04-09 20:00:20 +02:00
Norman Maurer
968b9103b3 Add test case to show that issue #235 is due some incorrect usage 2012-04-09 16:35:56 +02:00
Vibul Imtarnasan
e7e780fddd Merge pull request #253 from veebs/ws-close
Issue #250. Implement web socket close frame status code and reason text
2012-04-08 21:46:50 -07:00
vibul
dd14b8d9e8 Issue #250. Implement web socket close frame status code and reason text. 2012-04-09 14:33:45 +10:00
Norman Maurer
778f4a3cbc Make sure Future get notified before event is fired. See #254 2012-04-07 21:56:58 +02:00
Norman Maurer
d2d859d22c Make sure multicast tests pass on all os'es 2012-04-06 21:00:49 +02:00
Norman Maurer
c8679fe52c Catch Throwable 2012-04-06 11:09:51 +02:00
norman
389845b4c9 Make sure Channel connected event is not fired on connect failure. See #249 2012-04-04 07:40:50 +02:00
norman
d66cf2cbfa Add missing license header 2012-04-03 12:06:09 +02:00
norman
805270c5d9 Finish support for UDP Multicast in UDP. See #216 2012-04-03 12:04:33 +02:00
norman
31e3530252 Fix typo 2012-04-03 07:50:15 +02:00
Norman Maurer
9c1f3c6fe8 Fix UDP nio impl and add simple tests 2012-04-02 21:02:41 +02:00
Norman Maurer
dd6069c681 Fix broken UDP support. This got broken in 3.4.0.Alpha1 2012-04-02 19:37:28 +02:00