Veebs
eb6ec29b14
Fixed SimpleDateFormat bug. Should use new SimpleDateFormat(HTTP_DATE_FORMAT, Locale.US), otherwise when running on for example Japanese OS, the resulting date would contains Japanese characters, and the browser would not be able to parse!
2011-04-18 17:23:46 +09:00
Veebs
a85249ced8
Added handing of HTTP headers with respect to browser caching and cache validation.
2011-04-18 17:23:13 +09:00
Will
e00e9bb8fa
fix typo in exception message
2011-04-18 17:00:56 +09:00
Daniel Bevenius
98db0d3908
Added a timeout for the UdpClient so that the test cannot hang.
...
I noticed the build "hanging/halting" on the test when running the cobertura code coverage Eclipse plugin.
2011-04-18 16:57:03 +09:00
Trustin Lee
b26f13d3b9
Fixed compilation and removed unused fields
2011-04-04 18:21:47 +09:00
Trustin Lee
16750ffc28
NETTY-394 SslHandler does not work with a little endian buffer
...
Added SslHandler.getShort() which replaces ChannelBuffer.getShort() calls
2011-04-02 03:27:00 +09:00
Trustin Lee
6f7e2606a1
Merge branch 'master' of github.com:trustin/netty
2011-04-02 03:13:42 +09:00
Trustin Lee
94ac810f2e
NETTY-393: SslHandler infinite loop on Apache Harmony with large payload
...
Increased the SSL buffer size by 1024 as advised
2011-04-02 03:08:24 +09:00
Trustin Lee
10e2fc44e5
Fixed NETTY-336 Fine-grained control over thread renaming
...
Fixed exception message
2011-03-29 16:15:11 +09:00
Trustin Lee
89de2e4b95
Fixed NETTY-336 Fine-grained control over thread renaming
...
NamedThreadFactory now can set the daemon flag and the thread priority
2011-03-29 16:12:55 +09:00
Trustin Lee
83bc3e794a
Fixed NETTY-336 Fine-grained control over thread renaming
...
Added NamedThreadFactory so that a user can customize I/O thread names easily
2011-03-29 16:00:53 +09:00
Trustin Lee
d1919d0e14
Fixed NETTY-336 Fine-grained control over thread renaming
...
Removed ThreadNameDeterminer and ThreadRenamingRunnable completely and let user specify the Executor with one's own ThreadFactory
2011-03-29 15:29:52 +09:00
Trustin Lee
f3899e8d58
Fixed an infinite loop on a certain NIO impl
2011-03-25 02:27:20 +09:00
Trustin Lee
6707aa751c
Fixed a typo
2011-03-09 00:20:47 +09:00
Trustin Lee
ec6b34a307
Updated Javadoc
2011-03-03 02:02:01 +09:00
Trustin Lee
0382538548
Removed unused ChunkedInput.hasNextChunk()
2011-03-03 01:56:08 +09:00
Trustin Lee
98b2b6d8dc
Do not write an empty buffer unnecessarily when nextChunk() returned
...
null
2011-03-03 01:32:27 +09:00
Trustin Lee
a5e9f633ef
Better variable naming / Fixed potential stall
2011-03-02 19:58:28 +09:00
Trustin Lee
4144b43735
NETTY-386 Support for serial connections using RXTX
...
Contributed by Daniel Bimschas and Dennis Pfisterer
Initial import after fixing compiler warnings and removing log
messages and shut-down hooks
2011-02-24 17:26:18 +09:00
Trustin Lee
7ab5ec5f74
NETTY-383 deflate-raw support for HttpContentDecompressor
...
* Added ZlibWrapperType.ZLIB_OR_NONE for auto-detection and updated
the relevant Zlib implementation
2011-02-22 18:05:32 +09:00
Trustin Lee
429d3987dc
Fixed issue: NETTY-382 ChannelLocal.remove() should return the return
...
value of initialValue() instead of null when no value was set.
2011-02-22 16:54:49 +09:00
Trustin Lee
195df8bec4
Fixed wrong comment
2011-02-07 20:05:37 +09:00
Trustin Lee
420431cabb
Added missing @Overrides annotations
2011-02-07 20:03:40 +09:00
Trustin Lee
4d6581fe3d
* Fixed a documentation error in ChannelBuffer javadoc
...
* Clearly specified that FrameDecoder is an implementation of ChannelHandler
2011-02-07 19:58:48 +09:00
Trustin Lee
eb02c57619
Fixed Javadoc error
2011-02-01 13:43:23 +09:00
Trustin Lee
d786a38139
Fixed NETTY-381 channelDisconnected event is sometimes not triggered when Channel.close() is called by multiple threads.
...
* Internal state variable should never be set to ST_CLOSED until the close channel future is set
2011-02-01 13:43:12 +09:00
Trustin Lee
4c9b4329f2
Fixed issue: NETTY-372 NullPointerException in ChunkedWriteHandler
2011-02-01 12:20:43 +09:00
Trustin Lee
a5aef71218
Fixed issue: NETTY-373 Deadlock in ChunkedWriteHandler on channel
...
close.
* channelInterestChanged event is not fired anymore when a socket is
closing because it is unnecessary
2011-02-01 11:45:17 +09:00
Trustin Lee
d8ff180610
NioDatagramWorker should reject the write attempt on an unbound
...
socket, raising NotYetBoundException.
2011-02-01 11:45:09 +09:00
Trustin Lee
dfe960855f
Fixed issue: NETTY-380 releaseExternalResources() hang indefinitely
...
when called from a handler
* Replaced IoWorkerRunnable with DeadLockProofWorker
* ExecutorUtil now checks dead lock
2011-02-01 10:56:59 +09:00
Trustin Lee
8eb2d8eb43
ChannelGroup.write() should not write to a server channel
2011-01-31 15:25:22 +09:00
Trustin Lee
ad320f6cae
Fixed NETTY-365 HashedWheelTimer.stop() enters an infinite loop when
...
called from TimerTask
Fixed NETTY-379 Intermittent slippery task timeout in HashedWheelTimer
* Throw an IllegalStateException if HashedWheelTimer.stop() is called
from TimerTask
* Reschedule the slipped task accurately instead of delaying it by one
round
2011-01-31 14:48:01 +09:00
Trustin Lee
23f33629ca
Fixed a race condition in MemoryAwareThreadPoolExecutor
...
Replaced a semaphore with a custom concurrency construct to fix a
known race condition in MemoryAwareThreadPoolExecutor
2011-01-13 14:56:38 +09:00
Trustin Lee
9f55834823
Fixed incorrect usage of ByteBuffer.arrayOffset()
...
* NETTY-368 Wrappedbuffer does not honour posiiton()
* and similar mistakes found during a review
2011-01-12 19:23:50 +09:00
Trustin Lee
d7c27d1b71
Fixed Javadoc warnings
2011-01-12 19:11:32 +09:00
Trustin Lee
6bfd2d6cec
Fixed issue: NETTY-374 ChunkedWriteHandler and handling messages after
...
channel close
Fixed a bug where a write requests made after closure are not
discarded
2011-01-12 18:27:34 +09:00
Trustin Lee
8ad04dc6ca
Fixed issue: NETTY-377 messageReceived could happen before
...
channelConnected when using local channels
More precise LocalChannel state management to avoid incorrect event
order
2011-01-12 18:03:03 +09:00
Trustin Lee
7866282d52
Fixed indentation
2011-01-04 14:53:24 +09:00
iainmcgin
4f9e6dcb13
Fix for NETTY-370 - documentation updated to reflect the correct behaviour of
...
high / low water marks on the interest ops of nio channels.
2011-01-04 14:50:49 +09:00
Benoit Sigoure
1f1b8d8325
Add a new faster, memory efficient URL decoder.
...
Query string parameters need to be decoded as per RFC 3986, Section 2.
The implementation of the URLDecoder in the JDK is slow because it takes
long and inefficient code paths, and it generates a lot more garbage
than necessary. This decoder is about 2x faster and doesn't allocate
any memory in the easy case where the decoded string is unchanged.
When the string needs to be changed, only one buffer is allocated for
the decoded string.
2011-01-04 14:44:36 +09:00
Bruce Mitchener
3d85d56631
Correct variable name in code samples.
2011-01-04 14:38:57 +09:00
Trustin Lee
1ffb1aea75
NETTY-364 Application level IP filter
...
* Merged Frederic's ipfilter patch (needs some review and documentation)
2010-11-12 10:20:03 +09:00
Trustin Lee
34b181236a
NETTY-363 Traffic shaper
...
* Merged Frederic's traffic shaper patch (needs some review and documentation)
2010-11-12 10:16:51 +09:00
Trustin Lee
c0c9f689f6
NETTY-333 Support File Uploading in Netty HTTP Server
...
* Merged the Frederic's HttpPost patch (still needs some design and naming review + documentation)
2010-11-12 09:49:43 +09:00
Trustin Lee
0dbdbcdb96
Added @Override annotations which were disallowed in Java 5 but not anymore in Java 6.
2010-11-12 09:45:39 +09:00
Trustin Lee
f700f9b14f
Fixed misleading Javadoc in ReplayingDecoder
2010-11-09 05:35:24 +00:00
Trustin Lee
1f2285f57e
Fixed issue: NETTY-360 Changing Channel.interestOps sometimes does not work under heavy write traffic in NIO transport
...
* Made sure all setRawInterestOps() calls are protected by interestOpsLock
Fixed a race condition in the HexDumpProxy example
2010-10-24 18:24:20 +00:00
Trustin Lee
f13e7053fe
Fixed an OOME in the HexDumpProxy example
2010-10-23 11:38:34 +00:00
Trustin Lee
b85731e59f
Sync with upstream
2010-10-20 11:33:23 +00:00
Trustin Lee
35a2326e82
Fixed compilation errors in some compilers
2010-10-19 06:11:34 +00:00
Trustin Lee
4399c1e90b
Removed nagging compiler warnings introduced by Eclipse Helios
2010-10-19 06:00:42 +00:00
Trustin Lee
57dc0b3bc8
Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
...
* Improved HttpHeaders.is100ContinueExpected() to conform to the RFC
* HttpChunkAggregator now sends "HTTP/1.1 100 Continue" response automatically.
* Added some TODO items which should be done in 4.0.
2010-10-19 05:40:44 +00:00
Trustin Lee
d093ed4a54
Fixed a potential thread safety issue in SslHandler.handleRenegotiation() - it seems to cause the first handshake attempt to fail rarely on some platform (Solaris SPARC?)
2010-10-19 04:05:28 +00:00
Trustin Lee
4fd034ab5d
Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
...
* Improved the snoop example to support the 100-continue header
* Fixed a problem in HttpClientCodec, HTtpContentDecoder and HttpContentEncoder where 100-continue response causes incorrect behavior
2010-10-18 08:19:03 +00:00
Trustin Lee
04430cd6d3
Fixed issue: NETTY-359 Missing support for HTTP 'Expect: 100-continue' header.
...
* Added HttpHeaders.is/set100ContinueExpected()
* HttpMessageDecoder converts unchunked messages into chunked ones if Expect: 100-continue header exists.
2010-10-17 18:34:03 +00:00
Trustin Lee
13a1b73cd1
Fixed issue: NETTY-356 WebSocket encoder regression
...
* Fixed a bug where WebSocketFrameEncoder does not set MSB of the length field
2010-09-09 10:59:22 +00:00
Trustin Lee
0cc728a9f0
Resolved issue: NETTY-346 ReplayingDecoderBuffer doesn't support array()
...
* Added ReplayingDecoder.internalBuffer() so that a brave user accesses the internal buffer directly at one's own risk
2010-08-30 06:02:08 +00:00
Trustin Lee
d4438170c9
Fixed a buffer rewrite trap which occurs when DirectChannelBufferFactory is used
2010-08-26 06:15:06 +00:00
Trustin Lee
2eb2901c1c
Fixed a bug where the CodecEmbedder implementations do not generate the close request - this issue prevented some encoders like ZlibEncoder from generating the footer
2010-08-26 05:38:34 +00:00
Trustin Lee
d223c2905d
Fixed issue: NETTY-345 HttpChunkAggregator doesn't support retrieving trailing headers
...
* Merge the trailing headers into the aggregated message
2010-08-26 05:06:40 +00:00
Trustin Lee
ffccf71fa5
Fixed issue: NETTY-350 Copy/paste error in org.jboss.netty.handler.codec.http.HttpMessageDecoder constructor
2010-08-26 04:18:53 +00:00
Trustin Lee
e8fcbd4e75
Fixed a bug where some ChannelPipelineSinks do not always release its shutdownLock on an Error
2010-08-26 03:13:14 +00:00
Trustin Lee
30d5136973
Fixed a dead lock where MemoryAwareThreadPoolExecutor does not release its semaphore completely
2010-08-26 02:55:10 +00:00
Trustin Lee
1c13d8c9f3
Fixed a bug where HttpMessage.chunked flag is not cleared by HttpChunkAggregator
2010-08-26 02:07:11 +00:00
Trustin Lee
d68c5160ed
Added parentId to ThreadNamingRunnable
2010-08-25 02:31:00 +00:00
Trustin Lee
3659847859
More strict thread naming rule
2010-08-25 02:12:57 +00:00
Trustin Lee
4680cd0bb3
Improved performance of ProtobufDecoder using array directly when possible (Thanks Ian - iswett@yahoo.com)
2010-08-16 05:57:34 +00:00
Trustin Lee
21db320f0e
Fixed issue: NETTY-342 Small typo in the user guide
2010-08-16 05:24:50 +00:00
Trustin Lee
e36d2dc3de
Fixed issue: NETTY-331 (Regression NETTY-262: Server bootstrap bound channel pipeline has become immutable)
...
* ServerBootstrap now always uses the default pipeline instead of the static one
2010-07-07 07:55:37 +00:00
Trustin Lee
1c6813a06d
Fixed issue: NETTY-337 Multi-line headers truncated
2010-07-07 06:43:34 +00:00
Trustin Lee
3156ed5dd5
* Added WebSocketFrame.CLOSING_HANDSHAKE
...
* WebSocketFrameDecoder discards data if closing handshake was received before
2010-07-07 05:07:39 +00:00
Trustin Lee
35351701ff
More compact binary frame length encoding in WebSockets
2010-07-07 04:29:41 +00:00
Trustin Lee
d32e7ff865
Fixed wrong comment
2010-06-30 09:43:18 +00:00
Trustin Lee
8216a3fa5e
Commented out System.out.println
2010-06-30 09:42:48 +00:00
Trustin Lee
6bebbdad55
Javadoc
2010-06-30 09:35:47 +00:00
Trustin Lee
9d89ad0837
* Resolved issue: NETTY-336 Fine-grained control over thread renaming
...
** Redefined ThreadNameDeterminer
* Improved caching in AbstractChannel.toString()
* Improved overall OIO thread naming (thread ID number is a large number which doesn't look good though. will fix it later)
2010-06-30 09:17:08 +00:00
Trustin Lee
cd6e7f0c3e
Missing dots
2010-06-30 05:58:51 +00:00
Trustin Lee
5c790b5e8a
Fixed a documentation error
2010-06-30 05:54:47 +00:00
Trustin Lee
5518344bc3
NETTY-335 Remove deprecated elements
2010-06-30 05:48:23 +00:00
Trustin Lee
e3a5a8eea2
Do not change the readerIndex
2010-06-25 02:52:30 +00:00
Trustin Lee
56c0e6da07
larger -> wider
2010-06-24 02:13:12 +00:00
Trustin Lee
674af6ae12
Fixed infinite loop in ProtobufVarint32FrameDecoder when too large varint length is received
2010-06-24 02:12:48 +00:00
Trustin Lee
ab0facdee5
* Discard too long frame in a more robust manner (i.e. should continue decoding after raising TooLongFrameException)
2010-06-24 01:53:51 +00:00
Trustin Lee
bae46eca49
Discard too long frame in a more robust manner
2010-06-24 01:45:32 +00:00
Trustin Lee
c9555d01bf
Added a TODO to ProtobufVariant32FrameDecoder
2010-06-23 05:22:57 +00:00
Trustin Lee
b2ebe26a25
* Improved protocol buffers integration javadoc
...
* Changed the localtime example to use the base128 variant length header which is popular among protobuf users
2010-06-23 05:16:47 +00:00
Trustin Lee
685153663e
Fixed wrong content length for websocket handshake messages
2010-06-22 07:02:27 +00:00
Trustin Lee
7df28adfe3
Fixed wrong content length for websocket handshake messages
2010-06-22 07:01:47 +00:00
Trustin Lee
e0545ba583
Fixed issue: NETTY-330 HttpMessageDecoder cannot decode new handshake messages
...
* HttpHeaders.getContentLength() returns 10 and 18 for WebSocket handshake messages
* Updated the WebSocket server example to support the new handshake method
2010-06-21 09:39:49 +00:00
Trustin Lee
c35c9eb1c3
Mention WebSocket
2010-06-21 08:16:31 +00:00
Trustin Lee
f88108e876
Fixed a bug: NETTY-329 ChannelBuffer.slice(index, length) returns a slice with wrong reader/writerIndex
...
* HeapChannelBuffer.slice(index, length) and ByteBufferBackedChannelBuffer.slice(index, length) should update indexes when they created a slice using duplicate()
* Added relevant test cases
2010-06-21 07:00:03 +00:00
Trustin Lee
575b7fb073
More Javadoc based on community feed back
2010-06-17 14:23:59 +00:00
Trustin Lee
de90cd6a3c
System call needs to be made at least once so that it can fail when a user attempts to write on a closed channel
2010-06-16 03:33:29 +00:00
Trustin Lee
752e60a723
Suppress system calls when a user attempts to write an empty buffer
2010-06-16 03:28:30 +00:00
Trustin Lee
f753dc2b83
Replaced SslHandler.pendingEncryptedWrites with the thread-safe one
2010-06-16 03:12:00 +00:00
Trustin Lee
f2d490ef9f
Suppress system calls when a user attempts to write an empty buffer
2010-06-16 03:10:19 +00:00
Trustin Lee
4b0219ee9b
Potential fix for rare failure:
...
javax.net.ssl.SSLException: renegotiation attempted by peer; closing the connection
at org.jboss.netty.handler.ssl.SslHandler.handleRenegotiation(SslHandler.java:967)
at org.jboss.netty.handler.ssl.SslHandler.wrapNonAppData(SslHandler.java:810)
at org.jboss.netty.handler.ssl.SslHandler.handshake(SslHandler.java:347)
2010-06-16 00:21:31 +00:00
Trustin Lee
cbe26db0e4
Replaced email with homepage url
2010-06-14 11:07:44 +00:00
Trustin Lee
2571564eb2
* Updated the author tag
...
* Added svn:keywords property
2010-06-14 11:06:45 +00:00
Trustin Lee
800fcd0ca2
More tests
2010-06-14 11:03:14 +00:00
Trustin Lee
6d0fb256c6
Fixed issue: NETTY-325 (QueryStringDecoder doesn't properly handle missing query string values and other corner cases)
...
* Rewrote QueryStringDecoder based on Benoit's work
* Added a test case for QueryStringDecoder
2010-06-14 10:57:48 +00:00
Trustin Lee
5097009f8c
* Fixed an infiniloop in NioDatagramWorker which is triggered when a user writes an empty buffer.
...
* Reduced system calls on empty buffer
2010-06-07 02:11:04 +00:00
Trustin Lee
c032708ed7
Updated Javadoc
2010-06-07 01:50:02 +00:00
Trustin Lee
659eedb970
Better package description
2010-06-03 09:04:56 +00:00
Trustin Lee
4a390a1983
More Javadoc
2010-06-03 09:01:46 +00:00
Trustin Lee
3a92fb8a9e
Fixed NETTY-320 ReplayingDecoderBuffer.toByteBuffer(int, int) throws java.lang.IndexOutOfBoundsException
...
* Added missing checkIndex() call
2010-06-01 09:19:19 +00:00
Trustin Lee
a55a1c6e72
Removed unnecessary lock
2010-06-01 08:38:51 +00:00
Trustin Lee
a2ef43cf3d
Streamline LinkedTransferQueue.isEmpty()
2010-05-28 02:59:17 +00:00
Trustin Lee
11705c9915
Removed System.out
2010-05-27 12:40:50 +00:00
Trustin Lee
0d0b0c56c3
Fixed NETTY-319 HttpMessageDecoder incorrect parsing status line
...
* Specified an empty reason phrase if no reason phrase was specified
2010-05-27 12:38:54 +00:00
Trustin Lee
7d11a5369f
Proper validation for HttpResponseStatus
2010-05-27 12:34:44 +00:00
Trustin Lee
d65cd371e7
Fixed a bug where HttpTunnelingClientSocketChannel's closeFuture is not notified if the connection is closed by the client
2010-05-27 12:02:49 +00:00
Trustin Lee
be544fa899
Added a TODO for 4.0 (or 3.3?)
2010-05-19 12:23:44 +00:00
Trustin Lee
c64e6866f6
Added a FIXME for later releases
2010-05-19 11:31:25 +00:00
Trustin Lee
d51ccd2211
The fix for RtspResponseDecoder should be applied to all RTSP decoders
2010-05-19 07:51:38 +00:00
Trustin Lee
0c9202ab75
Fixed a bug where RtspResponseDecoder does not decode a response with no 'Content-Length' header properly
2010-05-19 07:42:21 +00:00
Trustin Lee
3847fb00e5
Fixed issue: NETTY-310 Memory leak in netty-3.2.0.BETA1.jar
...
* Added a special internal use only constructor to AbstractChannel, which bypasses ID allocation
* EmbeddedChannel calls the special purpose constructor to avoid leak
2010-05-19 06:29:43 +00:00
Trustin Lee
93f9c4a2d6
* Added LengthFieldBasedFrameDecoder.extractFrame()
...
* ObjectDecoder overrides extractFrame() to avoid memory copy
2010-05-13 14:13:07 +00:00
Trustin Lee
d19aa4924e
Simplified and hardened ObjectDecoder by extending LengthFieldBasedFrameDecoder
2010-05-13 13:40:36 +00:00
Trustin Lee
23dfc03060
migrating to docs.jboss.org
2010-05-07 11:21:10 +00:00
Trustin Lee
bdd213ec85
* Added missing Javadoc
...
* Proper getIntHeader() behavior
2010-05-06 07:50:19 +00:00
Trustin Lee
2c887daabe
Added missing Javadoc
2010-05-06 07:37:27 +00:00
Trustin Lee
8bb9ad26ad
Updated Javadoc
2010-05-06 07:33:26 +00:00
Trustin Lee
5edc4e16aa
* StaticChannelPipeline's constructor should stop when a null is encountered
...
* Added a test case for StaticChannelPipeline
2010-05-06 07:00:52 +00:00
Trustin Lee
56cdf73cb9
Fixed issue: NETTY-314 ProtobufEncoder and ProtobufDecoder should accept MessageLite as well as Message.
2010-05-06 04:11:11 +00:00
Trustin Lee
1793c659ca
Fixed indentation
2010-05-04 12:29:17 +00:00
Trustin Lee
13d83171fb
Updated 'before getting started'
2010-05-04 12:09:50 +00:00
Trustin Lee
66cbce8f23
Removed the first paragraph
2010-05-04 11:58:21 +00:00
Trustin Lee
58f8dd8942
Updated the broken first statement in the preface.
2010-05-04 11:49:16 +00:00
Trustin Lee
6269d21712
Fixed the oversized architecture diagram in the PDF
2010-05-04 11:22:11 +00:00
Trustin Lee
b134bfb974
Comment
2010-05-04 01:48:52 +00:00
Trustin Lee
8c490ed6e5
Wrong inception year
2010-05-04 01:47:43 +00:00
Trustin Lee
d4049710bb
* Fixed dangling HTTP header entries in the linked list
...
* Added a test case
2010-05-04 01:46:15 +00:00
Trustin Lee
b2f550cb3b
Fixed a bug where RtspResponseDecoder generates a request object instead of a response object
2010-05-03 02:21:01 +00:00
Trustin Lee
5741721f71
Fixed a bug where HEAD response is not read completely if it's transfer encoding is 'chunked'.
2010-04-16 13:32:55 +00:00
Trustin Lee
2ac79dcb74
A little optimization
2010-04-16 06:53:12 +00:00
Trustin Lee
f1bba73b22
Typo in the comment
2010-04-16 06:44:48 +00:00
Trustin Lee
d38219a85c
Fixed a bug where non-successful HEAD response is assumed to have a message body
2010-04-16 06:40:29 +00:00
Trustin Lee
640fae7963
Updated architecture diagram
2010-04-16 06:31:49 +00:00
Trustin Lee
3aa3b07a95
Hint on downcasting and multicasting
2010-04-16 05:07:37 +00:00
Trustin Lee
66882ae708
* Updated APIviz tags
...
* More help on file transfer
2010-04-16 05:01:55 +00:00
Trustin Lee
ba08d11356
* Code clean-up
...
* More strict sanity check
2010-04-16 04:22:00 +00:00
Trustin Lee
48696d909f
Updated APIviz tags
2010-04-16 04:12:43 +00:00
Trustin Lee
4e69cfe281
Exception should be raised even if count is 0
2010-04-12 11:57:46 +00:00
Trustin Lee
318a4d901f
Fixed a silly bug in file transfer - There's no way to specify the start offset in FileRegion.transferTo()
2010-04-12 11:56:52 +00:00
Trustin Lee
17a222e397
* Changed the sort order of LocalAddress.compareTo()
...
* Added a FIXME to LocalAddress.compareTo()
* Modified LocalAddress.compareTo() to throw an Error when impacted by the known bug in compareTo() - will fix this bug in the next major feature release since it will break the backward compatibility
2010-04-12 10:53:49 +00:00
Trustin Lee
2fc539a9bc
Proper LocalAddress.compareTo() implementation
2010-04-12 10:36:04 +00:00
Trustin Lee
d0d2519871
Fixed issue: NETTY-308 ChunkedInput implementations send only the first chunk
2010-04-12 10:22:51 +00:00
Trustin Lee
cac77a47b2
Fixed a wrong usage of ExecutionHandler in the example
2010-04-06 09:40:35 +00:00
Trustin Lee
8474026c92
* Misuse warnings are logged at WARN level now (with higher threshold)
...
* Extracted duplicate code into SharedResourceMisuseDetector
2010-04-06 09:23:25 +00:00
Trustin Lee
11e5e2ba56
Fixed issue: NETTY-306 bug in passing large nonchunked data through ChunketWriteHandler
2010-04-06 08:43:49 +00:00
Trustin Lee
1ae76562b7
Simplified container integration by removing unused features
2010-03-31 03:20:47 +00:00
Trustin Lee
3f7fff3fa5
HttpChunk is mutable so no need to create a new chunk
2010-03-31 03:02:58 +00:00
Trustin Lee
8eb353eb5d
HttpChunk is mutable so no need to create a new chunk
2010-03-31 03:02:20 +00:00
Trustin Lee
b210c36ef9
Do not remove 'Content-Length' header even for a message with empty content - HEAD requires that
2010-03-31 02:50:19 +00:00
Trustin Lee
745b8300f0
Do not decode when the content is empty
2010-03-31 02:48:57 +00:00
Trustin Lee
c1a70b3579
HTTPS support
2010-03-31 02:26:51 +00:00
Trustin Lee
7c139cf1b7
* Added HttpClientCodec and HttpServerCodec
...
* Additional Javadoc about handling HEAD and CONNECT requests and their responses
2010-03-31 02:19:45 +00:00
Trustin Lee
c1b1db276d
More useful Javadoc
2010-03-30 08:02:32 +00:00
Trustin Lee
4a4f129381
Better documentation
2010-03-24 05:07:27 +00:00
Trustin Lee
807291a2db
Removed outdated XNIO transport - it needs to be rewritten in the next major feature release.
2010-03-24 04:00:49 +00:00
Trustin Lee
0d3389ee52
Updated Javadoc / xref css
2010-03-17 05:53:34 +00:00
Trustin Lee
5d36109464
Fixed Javadoc errors
2010-03-16 09:39:56 +00:00
Trustin Lee
fa6f7a4e6d
Fixed a bug where the pooled send buffer is not released on a failed write
2010-03-08 04:17:28 +00:00
Trustin Lee
605d2969d2
Added @Deprecated annotation to the implementations of deprecated methods in ChannelBuffer (basically to silence nagging compiler)
2010-03-04 06:34:00 +00:00
Trustin Lee
1695e32b0f
Removed unnecessary methods
2010-03-03 23:11:39 +00:00
Trustin Lee
8c81a1c8d8
Oops, wrong validation
2010-03-03 09:17:30 +00:00
Trustin Lee
6aa6694822
Related issue: NETTY-297 Non-ssl clients connecting to ssl server should be able to fail fast
...
* More strict SSL packet validation in SslHandler
2010-03-03 09:15:06 +00:00
Trustin Lee
3bbad77075
Resolved issue: NETTY-297 Non-ssl clients connecting to ssl server should be able to fail fast
...
* More strict SSL packet validation in SslHandler
2010-03-03 09:01:38 +00:00
Trustin Lee
5558f02003
Resolved issue: NETTY-298 Make ChannelBuffer setter/writer methods to accept int for narrower types
2010-03-03 05:35:01 +00:00
Trustin Lee
a3bae359bd
Javadoc clean up
2010-02-24 00:24:41 +00:00
Trustin Lee
52ef2a5330
Upgrade your JDK to use FileRegion
2010-02-24 00:23:33 +00:00
Trustin Lee
049e97f03b
Modified HTTP file server to utilize FileRegion support properly
2010-02-23 07:29:10 +00:00
Trustin Lee
aa4b8a2a6c
* Changed the type of WriteCompletionEvent.amount from int to long
...
* Added back FileRegion since mapped buffer does not outperform transferTo()
* Refactored SocketSendBufferPool to support FileRegion
2010-02-23 07:18:58 +00:00
Trustin Lee
1989bd037b
Collection -> List
2010-02-23 05:45:53 +00:00
Trustin Lee
69450ee6ec
Doubled the default number of I/O threads which seems to be more sensible better performing default
2010-02-23 05:42:39 +00:00
Trustin Lee
b010cd15a5
Imlemented progress notification for NIO writes
2010-02-23 01:12:36 +00:00
Trustin Lee
43a603cfde
* Removed unnecessary conditional
...
* Optimized the use of memory bandwidth in NioWorker.read
2010-02-23 00:56:04 +00:00
Trustin Lee
03268034c7
Removed unnecessary conditional
2010-02-23 00:43:15 +00:00
Trustin Lee
cc3b07c655
Removed FileRegion since a FileChannel can be mapped into a ChannelBuffer. What a lovely abstraction.
2010-02-22 06:18:39 +00:00
Trustin Lee
9ecd573937
Fixed Eclipse compiler warnings
2010-02-22 06:09:54 +00:00
Trustin Lee
59052be709
Related issue: NETTY-293 sendfile() support for NIO TCP transport
...
Support for progress notification of time-consuming I/O operations
* Added FileRegion
* Added ChannelFutureProgressListener
* Added ChannelFuture.setProgress()
* Performance seems to stay same as before fortunately
2010-02-19 09:58:38 +00:00
Trustin Lee
b97648f95e
Comment fix
2010-02-19 09:18:10 +00:00
Trustin Lee
28bac1978f
This should be volatile anyhow
2010-02-19 09:08:01 +00:00
Trustin Lee
0066f9c3ff
Removed unnecessary volatiles from the examples
2010-02-19 09:02:57 +00:00
Trustin Lee
a462d0e85e
Removed volatile from some internal state member variables in decoders because they are always either:
...
1) modified from the same threads or
2) protected by happens-before condition that is met by Executor's internal synchronization constructs
2010-02-19 09:00:00 +00:00
Trustin Lee
aa8e48df9f
Removed 'volatile' from the member variables that are protected by ThreadPoolExecutor's BlockingQueue operations
2010-02-19 08:43:13 +00:00
Trustin Lee
e8c320c6c3
* Removed 'volatile' from the member variables that are protected by synchronized (this) block
...
* Updated comments regarding thread safety
2010-02-19 08:23:48 +00:00
Trustin Lee
de8671df93
Documentation fix
2010-02-19 05:13:48 +00:00
Trustin Lee
baf0978709
Fixed documentation
2010-02-19 04:49:52 +00:00
Trustin Lee
9980a25f7b
Reverted back for backward compatibility
2010-02-19 04:37:36 +00:00
Trustin Lee
81d019e76a
Reverted back for backward compatibility
2010-02-19 04:36:30 +00:00
Trustin Lee
d1c6ed6531
Added ChunkedFile interface
2010-02-19 04:18:35 +00:00
Trustin Lee
c7179aa28a
Renamed ChunkedFile to ChunkedOioFile. ChunkedFile will be added again as an interface
2010-02-19 04:11:59 +00:00
Trustin Lee
d9de1675d0
Applied send buffer pool to nio datagram transport
2010-02-19 03:28:11 +00:00
Trustin Lee
32ef9e3e52
* Implemented send buffer pooling
...
* Renamed ReadBufferPool to SocketReceiveBufferPool
2010-02-19 03:10:30 +00:00
Trustin Lee
1a04586b54
Tiny optimization
2010-02-19 02:40:55 +00:00
Trustin Lee
2f601dcbaf
WriteBuffer -> WriteRequestQueue
2010-02-19 01:41:32 +00:00
Trustin Lee
4be652ad04
Removed an unused method in ReadBufferPool
2010-02-19 01:13:38 +00:00
Trustin Lee
558c02b0df
Tiny optimization
2010-02-19 00:57:23 +00:00