Commit Graph

84 Commits

Author SHA1 Message Date
Jeff Pinner
1a28d6119f SPDY: add SPDY/3 support 2012-05-23 08:54:11 -07:00
Jeff Pinner
f60997686d SPDY: fix for mozilla firefox bug 754766 2012-05-23 08:53:29 -07:00
Jeff Pinner
69d5be4225 SPDY: remove frame size limit in frame decoder 2012-05-23 08:52:50 -07:00
Norman Maurer
b6abefb5b8 Add a replace(..) method to FrameDecoder and also to ReplayDecoder as it now extend FrameDecoder. This also fix #332 2012-05-19 17:08:45 +02:00
Norman Maurer
3ca2a53e91 Add a replace(..) method to FrameDecoder and also to ReplayDecoder as it now extend FrameDecoder. This also fix #332 2012-05-19 16:35:22 +02:00
norman
9f6cc0a0d2 Fix checkstyle errors 2012-05-14 07:32:52 +02:00
vibul
b09962f4c2 forgot 1 more change 2012-05-12 21:22:33 +10:00
vibul
abd10d9089 Fixed bug where subprotocol not sent by client 2012-05-12 21:05:15 +10:00
norman
d56aa76911 Revert "Set source java version to 1.7 where needed. See #312" as it breaks the build
This reverts commit d62977b061.
2012-05-10 10:06:38 +02:00
norman
d62977b061 Set source java version to 1.7 where needed. See #312 2012-05-10 08:09:31 +02:00
Frédéric Brégier
62f5623d2a typo fix ! Sorry 2012-05-02 12:33:40 +03:00
Frédéric Brégier
d475a8cc64 Very small fix (readUnsigned while in optimized version it was signed but should be unsigned) 2012-05-02 11:40:28 +03:00
Frédéric Brégier
502e469c45 Add Exception to the exception class name 2012-05-01 00:18:42 +03:00
Frédéric Brégier
1bf17c7c87 Add Exception to name of the Exception ;-) 2012-05-01 00:14:42 +03:00
Frédéric Brégier
675bccc9ea Update codec-http/src/main/java/io/netty/handler/codec/http/HttpPostRequestDecoder.java 2012-04-30 13:06:53 +03:00
Frédéric Brégier
a524396475 Optimize Buffer access while decoding by going through backend array when possible (divide by almost 2 the time spent in decoding) 2012-04-30 13:02:46 +03:00
Frédéric Brégier
c83323f748 Add the SeekAheadOptimize class to enable faster seek of bytes values in HttpPostRequestDecoder 2012-04-30 12:38:07 +03:00
Frédéric Brégier
d9085e9e37 Fix in addContent when switching from MemoryAttribute if it is done when last buffer added, in order to not close immediately the underlying file before adding the last buffer. 2012-04-30 12:33:10 +03:00
Frédéric Brégier
a410cb243b Fix in addContent when switching from MemoryAttribute if it is done when last buffer added, in order to not close immediately the underlying file before adding the last buffer. 2012-04-30 12:32:24 +03:00
Frédéric Brégier
877383de3a Move force() after multiple writes, not at every steps 2012-04-30 12:30:08 +03:00
Frédéric Brégier
65876fa7fb Close channel when needed and optimize force() position after multiple writes not at each step 2012-04-30 12:29:05 +03:00
norman
dcd2a10f95 Remove @deprecated constructor. See #283 2012-04-27 07:39:26 +02:00
vibul
40e9b96764 We need to keep the old constructor to not break the API. 2012-04-27 10:43:34 +10:00
vibul
6009a413b9 Issue #283 - Support max frame length for web socket to limit chance of DOS attack 2012-04-26 10:09:12 +10:00
Norman Maurer
77d2f9c4ef Upgrade and Connection header must be matched in a case-insensitive manner in WebSocket 08 and 13. See #278 2012-04-22 12:56:37 +02:00
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
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 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
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
vibul
dd14b8d9e8 Issue #250. Implement web socket close frame status code and reason text. 2012-04-09 14:33:45 +10:00
Trustin Lee
fd0b0a4e2b Code cleanup 2012-03-30 12:48:28 +09:00
Norman Maurer
60d9364604 First round of remove the boss-thread. See #240 2012-03-28 20:19:39 +02:00
Norman Maurer
0082a15899 Fix javadocs warnings 2012-03-26 19:50:39 +03:00
Norman Maurer
2766133a4d Fix javadocs warnings 2012-03-26 19:50:01 +03:00
Norman Maurer
32ff810b64 Correctly handle Hixie 76 websocket handshake response. See #222 2012-03-21 19:00:32 +01:00
norman
e8ddc3cf00 remove unnecessary check. See #222 2012-03-20 15:44:59 +01:00
norman
8d9f78c84d Correctly handle responses with return code of 1xx. See #222 2012-03-20 15:40:34 +01:00
Norman Maurer
cb931bfb92 Correctly handle HTTP Patch. See #227 2012-03-11 11:54:54 +01:00
Trustin Lee
279d859c7e Issue #220 - Treat content as non-empty on 101 Web Socket upgrade response 2012-03-09 11:07:26 +09:00
norman
92a907c4d7 Merge branch 'master' of github.com:netty/netty 2012-03-08 08:09:17 +01:00
norman
09b41b28ea Correctly handle earlier versions of websockets. See #222 2012-03-08 08:08:36 +01:00