Norman Maurer
9e6c616c35
Introduce helper method to detect if a buffer is encrypted. See #657
2012-10-16 13:44:30 +02:00
Norman Maurer
303fb80d34
Make sure the TestUtils class will also compile on operation systems that not support SCTP by using reflection
2012-10-13 17:04:16 +02:00
Norman Maurer
d504d78cb1
Fix checkstyle
2012-10-13 09:21:40 +02:00
Norman Maurer
e9d2ebea3d
Disable SCTP tests on platforms that not support them, also not run tests for sctp OIO. See #633
2012-10-13 09:19:01 +02:00
Norman Maurer
6143626427
Cleanup of sctp code based on comments in #633
2012-10-12 07:45:00 +02:00
Norman Maurer
592f1fcc60
Merge pull request #633 from jestan/master
...
SCTP Transport Codecs and TestCases
2012-10-11 22:38:07 -07:00
Norman Maurer
92a68f59be
Merge pull request #648 from alex-berger/ssl_handler
...
Fix race in SslHandler
2012-10-10 06:08:30 -07:00
ab
ce88ae3889
Ensure that either SslHandler's handshake timeout or the handshake
...
itself (or its failure) take place but not both.
2012-10-10 14:16:13 +02:00
ab
129c19c33e
remove newline from end of .gitingore
2012-10-10 14:05:28 +02:00
ab
826e56d9f4
removed bin from .gitignore
2012-10-10 14:02:16 +02:00
ab
b8fb48e90e
Merge branch 'master' of https://github.com/alex-berger/netty.git
2012-10-10 13:44:37 +02:00
ab
7eefc8219a
removed eclipse project files
2012-10-10 13:39:33 +02:00
ab
1f67ba8673
Merge remote-tracking branch 'netty/master'
2012-10-10 13:15:34 +02:00
ab
faa1961131
x
2012-10-10 12:51:32 +02:00
ab
7958a0cbf2
- undo eclipse project stuff
2012-10-10 12:32:40 +02:00
Norman Maurer
3a3e96acb8
Merge pull request #646 from AtKaaZ/patch1
...
server handler wasn't working due to field being overwritten in subclass
2012-10-09 12:25:59 -07:00
AtKaaZ
9b35513fa5
server handler wasn't working due to field being overwritten in subclass
2012-10-09 20:55:24 +02:00
ab
53074bd128
- make master an eclipse project
2012-10-03 17:18:33 +02:00
Norman Maurer
7eef61580e
No need to use a concurrent Queue with out new thread-model. See #626
2012-10-02 20:16:35 +02:00
Norman Maurer
09d9f46e58
Merge pull request #630 from ngocdaothanh/master
...
Add CORS headers
2012-10-01 21:49:38 -07:00
Norman Maurer
da7bcfa8f6
Add tests for AioChannelFinder implementations
2012-10-01 06:46:55 +02:00
Norman Maurer
59cd054fe3
Merge SpdyOrHttpChooser and SpdyHttpResponseStreamIdHandler into master. See #626
2012-09-30 21:18:54 +02:00
Jestan Nirojan
7afa237f3f
Forward ported SCTP Echo Testcases
2012-09-30 14:14:34 +08:00
Jestan Nirojan
8a75442419
Merge remote-tracking branch 'upstream/master'
2012-09-29 17:21:58 +08:00
Trustin Lee
ce35386805
Prevent cross-site scripting
2012-09-29 17:18:18 +09:00
Jestan Nirojan
6904b62c2f
Resolved conflicts in SctpData/SctpMessage refactoring
2012-09-29 02:01:00 +08:00
Jestan Nirojan
64ebece730
Added SCTP Codec
2012-09-29 01:42:21 +08:00
Ngoc Dao
7751daf2a4
Add ACCESS_CONTROL_EXPOSE_HEADERS
2012-09-28 19:18:21 +09:00
Trustin Lee
820af50b63
[maven-release-plugin] prepare for next development iteration
2012-09-28 17:57:40 +09:00
Trustin Lee
595e1067c7
[maven-release-plugin] prepare release netty-4.0.0.Alpha5
2012-09-28 17:57:04 +09:00
Trustin Lee
b3d568c4d2
de-duplicate plugin versions
2012-09-28 17:45:40 +09:00
Ngoc Dao
f5e94d27e0
Add CORS headers
...
http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
https://developer.mozilla.org/en-US/docs/HTTP_access_control
2012-09-28 17:19:50 +09:00
Trustin Lee
9f6505192c
Simplify if
2012-09-28 16:59:51 +09:00
Trustin Lee
eae7b2d662
[ #532 ] HttpStaticFileServer should generate an index page
...
* Add index page listing and directory redirection
2012-09-28 16:58:26 +09:00
Trustin Lee
1bb5ac110f
[ #600 ] mvn clean package on OSX throws Exception
...
* Choose port randomly
* Ensure SO_REUSEADDR is not set at any case
* Ensure the port works for both wildcard and localhost
2012-09-28 16:27:23 +09:00
Trustin Lee
94838ee274
[ #441 ] Provide a better way to handle decoder failures
...
* Rename isPartial() to isPartialFailure()
* Add isCompleteFailure() and isFailure()
2012-09-28 15:46:17 +09:00
Trustin Lee
045b621b3f
[ #441 ] Update HTTP examples so that they understand DecoderResult
2012-09-28 15:42:38 +09:00
Trustin Lee
623956b838
[ #441 ] Provide a better way to handle decoder failures
...
* Make HttpChunkAggregator handle DecoderResult properly
2012-09-28 15:26:38 +09:00
Trustin Lee
9155f58c64
Rename get/setDecodeResult() to get/setDecoderResult()
2012-09-28 15:20:02 +09:00
Trustin Lee
bf808b3486
Rename DecodeResult to DecoderResult
2012-09-28 15:19:08 +09:00
Trustin Lee
41e0ef2e9a
[ #441 ] Provide a better way to handle decoder failures
...
* Update toString() of all HttpObject implementations
* HttpMessageDecoder does not raise an exception but sets decoderResult property of the decoded message.
* HttpMessageDecoder discards inbound traffic once decoding fails, by adding a new state called BAD_MESSAGE.
* Add a test case that tests this behavior.
2012-09-28 15:16:29 +09:00
Trustin Lee
b923d0c51f
Use supertype HttpObject instead of HttpMessage + HttpChunk where possible
2012-09-28 14:00:07 +09:00
Trustin Lee
7514a82c35
Disable timeouts if they are set to 0
2012-09-28 13:52:05 +09:00
Trustin Lee
adebda1560
[ #441 ] Provide a better way to handle decoder failures
...
* Add DecodeResult that represents the result of decoding a message
* Add HttpObject which HttpMessage and HttpChunk extend.
** HttpObject has a property 'decodeResult'
2012-09-28 13:48:17 +09:00
Trustin Lee
817309c7c8
Remove magic numbers from SslHandler
2012-09-27 19:28:41 +09:00
Trustin Lee
2ecf26c8eb
Fix #525 Add CORS preflight headers to HttpHeaders.Names
2012-09-27 19:16:02 +09:00
Trustin Lee
bd8ee64366
Pull #625 from @CruzBishop selectively
2012-09-27 19:04:35 +09:00
Trustin Lee
a6bd91dce5
Sync the default select timeout with 3.x
2012-09-23 17:28:52 +09:00
Trustin Lee
d49d02ffe4
[ #610 ] alpha4: DefaultSctpServerChannelConfig options in current java 7
...
Fix a wrong signature in com.sun.nio.sctp.SctpServerChannel.setOption()
2012-09-23 17:25:24 +09:00
Trustin Lee
a156f67804
[ #624 ] Add varargs constructor to MessageToByteEncoder, MessageToMessage(Encoder|Decoder|Codec) to implement default isEncodable/isDecodable()
...
.. and modify all their subtypes to take advantage of this improvement.
2012-09-23 17:01:31 +09:00