Commit Graph

5330 Commits

Author SHA1 Message Date
Trustin Lee
bddfdba415 Use DirectBufferPool for NIO socket reads 2010-01-28 02:50:31 +00:00
Trustin Lee
aa80596b33 Fixed documentation errors in HttpMessageDecoder's subclasses 2010-01-27 08:13:38 +00:00
Trustin Lee
966004332b Small optimizations on DirectBufferPool 2010-01-27 06:55:10 +00:00
Trustin Lee
c4a230a582 Removed unused method 2010-01-27 05:13:31 +00:00
Trustin Lee
36e804bbec Resolved issue: NETTY-282 Reduce memory copy between heap buffers and direct buffers in NIO transport
* Replaced JDK's internal direct buffer pool with a custom pool optimized for Netty
* Added ChannelBuffer.isDirect()
* Cleaned up NioWorker.writeNow() and NioDatagramWorker.writeNow()
2010-01-27 05:07:32 +00:00
Trustin Lee
030ece5bf9 Removed redundant conditional 2010-01-27 02:43:49 +00:00
Trustin Lee
cb9f90d6d5 parameter description 2010-01-27 02:39:28 +00:00
Trustin Lee
a85635f74c * Added HttpVersion.isKeepAliveDefault() to handle the 'Connection' header in a more robust manner
* Added HttpVersion constructors with the default keep alive flag - old constructors were deprecated due to ambiguity
* Moved HttpMessage.is/setKeepAlive() to HttpHeaders and deprecated the original method
2010-01-27 02:38:17 +00:00
Trustin Lee
aff9af5af2 Fixed a bug where DefaultNioSocketChannelConfig does not recognize 'receiveBufferSizePredictorFactory' option 2010-01-26 15:41:16 +00:00
Trustin Lee
9d2fcd6ff3 Fixed compilation error resulted by the recent dependency upgrade 2010-01-26 13:15:21 +00:00
Trustin Lee
514586b917 Reverting back to Guice 1.0 due to compilation issue with JDK 1.5 2010-01-26 11:13:09 +00:00
Trustin Lee
a8205a9545 Related issue: NETTY-240 Upgrade the dependencies to the latest versions
* Applied David Dabbs's patch with some minor modification (version bump)
2010-01-26 10:49:01 +00:00
Trustin Lee
2df22f8f36 Removed an empty line 2010-01-26 09:55:58 +00:00
Trustin Lee
4ac906d417 enum -> static enum 2010-01-26 09:55:22 +00:00
Trustin Lee
edfc15424e Fixed Javadoc error 2010-01-26 09:43:20 +00:00
Trustin Lee
3362114248 * Replaced e-mail addresses into homepage/blog URL anywhere possible
* Added Amit to COPYRIGHT.txt
2010-01-26 09:04:19 +00:00
Trustin Lee
c2465826fd RtspHeaders and its inner classes do not extend HttpHeaders anymore because RTSP user should not see non-RTSP header constants when he or she static-imported RtspHeaders. 2010-01-26 08:25:29 +00:00
Trustin Lee
9de5df705a Added HttpHeaders.Names.CONTENT_BASE 2010-01-26 08:16:58 +00:00
Trustin Lee
573f8207a3 Removed wrong header value - max-fresh does not exist 2010-01-26 08:10:34 +00:00
Trustin Lee
39023c2c7e Fixed JAvadoc 2010-01-26 08:04:57 +00:00
Trustin Lee
0e57f6d004 Made RtspMethods and RtspResponseStatuses final 2010-01-26 07:45:23 +00:00
Trustin Lee
07b6e791b5 RtspVersion does not need to extend HttpVersion at all - it does not add anything to HttpVersion 2010-01-26 07:44:08 +00:00
Trustin Lee
d389be442f RstpResponseStatus does not need to extend HttpResponseStatus at all - it does not add anything to HttpResposneStatus 2010-01-26 07:42:32 +00:00
Trustin Lee
f632925e63 Typo (what a shame) 2010-01-26 07:35:29 +00:00
Trustin Lee
ea4692e967 RtspMethod does not need to extend HttpMethod at all - it does not add anything to HttpMethod 2010-01-26 07:25:44 +00:00
Trustin Lee
1ad9579e6e Javadoc for the RTSP package 2010-01-26 06:31:25 +00:00
Trustin Lee
19cb90d73c Added TODO 2010-01-26 06:30:40 +00:00
Trustin Lee
2ad21ec84d Updated Javadoc of HttpHeaders 2010-01-26 06:30:12 +00:00
Trustin Lee
fddfd4e7cf Cleaned HTTP example using static imports 2010-01-26 05:49:39 +00:00
Trustin Lee
98ccc7a784 Simplified HTTP snoop example 2010-01-26 05:39:00 +00:00
Trustin Lee
140aabef68 Fixed a bug where HttpMessage.removeHeader() leads to a dangling pointer in the internal data structure 2010-01-26 05:33:10 +00:00
Trustin Lee
e50e46425a Improved DefaultHttpMessage.toString() for easier debugging 2010-01-26 05:17:52 +00:00
Trustin Lee
d0e886c344 Resolved issues: NETTY-280 Add convenient getters and setters for HTTP headers
Resolved issues: NETTY-281 Allow non-string values for HTTP header values
2010-01-26 04:31:54 +00:00
Trustin Lee
d87d81e398 Removed TestUtil.timingTestEnabled because it's not used in the CI servers 2010-01-26 03:02:34 +00:00
Trustin Lee
eeb4e8f7b1 Potential fix for failing timing tests 2010-01-26 02:57:41 +00:00
Trustin Lee
7b6fb53fc1 Use yield instead of sleep 2010-01-25 13:09:31 +00:00
Trustin Lee
6849ea2f4b the the -> the 2010-01-25 12:27:51 +00:00
Trustin Lee
125ae30d04 Documentation TODO 2010-01-25 12:22:53 +00:00
Trustin Lee
f0431bb98d Added a reference to SecureChatSslContextFactory for those who wants client cert auth 2010-01-25 11:51:12 +00:00
Trustin Lee
e8f3c3534c Some warning message to confirm that certificate authentication really took place 2010-01-25 11:50:08 +00:00
Trustin Lee
a8eda60857 Explanation on implementing client cert auth 2010-01-25 11:40:47 +00:00
Trustin Lee
d5ad5a47ac Use default parameters wherever possible to initialize SSLContexts 2010-01-25 11:26:55 +00:00
Trustin Lee
2e477b87c2 Added an instruction to generate a certificate when it expires (maybe in 98 years?) 2010-01-25 11:24:35 +00:00
Trustin Lee
a6f3a4f10f RtspHeaders.Names should be non-final just in case someone extends it to add more constants, like we did with HttpHeaders.Names 2010-01-25 04:28:58 +00:00
Trustin Lee
129a54446c Initial RTSP implementation which extended HTTP 2010-01-25 04:26:05 +00:00
Trustin Lee
1c2796983e * Added Values.MIN_FRESH
* Made Names and Values extensible
2010-01-25 04:22:45 +00:00
Trustin Lee
2dde1e9bac HttpResponseStatus.valueOf shoud not be final so that derived protocols can have the factory method with the same name 2010-01-25 04:07:47 +00:00
Trustin Lee
d216e321c8 Relax throws clause restriction 2010-01-25 03:52:20 +00:00
Trustin Lee
5a897af28d Resolved issue: NETTY-278 ChannelBuffer.bytesBefore() as an alternative to indexOf()
* Added various bytesBefore() methods to ChannelBuffer
* Deprecated the methods that could be replaced by bytesBefore()
2010-01-20 05:55:16 +00:00
Trustin Lee
fe73de3497 Fixed a failing test 2010-01-15 07:12:07 +00:00