Commit Graph

1765 Commits

Author SHA1 Message Date
Trustin Lee
8a574a7eb6 Removed the two unnecessary methods - CharBuffer implements CharSequence already 2010-01-14 09:49:02 +00:00
Trustin Lee
e1c2c453c5 Removed unnecessary empty lines in the program listing 2010-01-14 03:38:43 +00:00
Trustin Lee
1313ca5b17 Updated the getting started guide to avoid user confusion on pipeline configuration 2010-01-14 03:31:35 +00:00
Trustin Lee
3b5dd3676e More red tapes in the documentations 2010-01-14 02:59:40 +00:00
Trustin Lee
48f74e7cd6 Updated all examples to use ChannelPipelineFactory instead of the default pipeline 2010-01-14 02:57:42 +00:00
Trustin Lee
f67b06a931 Updated Javadoc about Bootstrap.pipeline / pipelineFactory properties so that users don't make mistake 2010-01-14 01:53:26 +00:00
Trustin Lee
149a6cef71 [maven-release-plugin] prepare for next development iteration 2010-01-11 10:15:11 +00:00
Trustin Lee
a0e3cc6510 [maven-release-plugin] prepare release netty-3.2.0.ALPHA3 2010-01-11 10:14:29 +00:00
Trustin Lee
4ab3e248e7 A little bit of documentation 2010-01-09 12:12:50 +00:00
Trustin Lee
f67de23214 Javadoc 2010-01-09 12:00:24 +00:00
Trustin Lee
9525717475 Package description 2010-01-09 11:37:05 +00:00
Trustin Lee
1142a1aa06 Fixed a cosmetic problem in NioDatagramWorker.read() - In some platform, ClosedChannelException is raised on DatagramChannel.receive() depending on timing, and it's safe to ignore. 2010-01-09 08:54:21 +00:00
Trustin Lee
9f12398073 Fixed NotYetConnectedException 2010-01-09 08:44:32 +00:00
Trustin Lee
052a109bc9 Fixed an assertion error where NioSocketChannel.setConnected() is called on a closed channel 2010-01-09 08:38:12 +00:00
Trustin Lee
41af2d111e Added assertion message 2010-01-09 08:34:22 +00:00
Trustin Lee
4ef936bea1 Reverted back previous check-in related with state update, which seems unnecessary 2010-01-09 08:21:28 +00:00
Trustin Lee
0acffadd29 Replaced flag update methods with simple assignment 2010-01-09 07:57:18 +00:00
Trustin Lee
4668cb792e Update the state flag if read or write fails 2010-01-09 07:53:23 +00:00
Trustin Lee
60d3502ba1 Removed the lock aquisition against SocketChannel when isConnected() and isBound() is called, because it causes unnecessary contention 2010-01-09 06:38:14 +00:00
Trustin Lee
c8fc3a1135 * Fixed a bug where a user can break Netty when he or she calls setSuccess() on AbstractChannel.closeFuture
* UnfailingChannelFuture is not used anymore - deleting
2010-01-09 05:40:40 +00:00
Trustin Lee
e2086cb754 Fixed a potential bug where close future might not be notified 2010-01-09 05:39:23 +00:00
Trustin Lee
d924439330 Sorted cases in switch statements just in case compiler makes a mistake 2010-01-09 05:38:34 +00:00
Trustin Lee
9c0e9e1780 Workaround for a compiler bug (unsorted switch cases) 2010-01-09 05:30:39 +00:00
Trustin Lee
a1d7a75ff4 Line wrap at 80 2010-01-09 00:52:20 +00:00
Trustin Lee
6e228216b4 better documentation 2010-01-08 23:12:00 +00:00
Trustin Lee
a8d9e044d2 17 -> BUCKET_SIZE 2010-01-08 14:11:18 +00:00
Trustin Lee
4999fabbcc NPE check 2010-01-08 13:29:39 +00:00
Trustin Lee
d7be7be552 Initial check-in of the WebSocket implementation and its example 2010-01-08 08:45:56 +00:00
Trustin Lee
9f8fa65a14 * Use HttpRequest.isKeepAlive() instead of long conditionals
* Use HttpChunkAggregator because we don't want to complicate the example
2010-01-08 08:33:48 +00:00
Trustin Lee
f926c0adc0 Use HttpRequest.isKeepAlive() instead of long conditionals 2010-01-08 08:31:52 +00:00
Trustin Lee
4ede085edc * Replaced TreeMap with custom linked hash map for storing HTTP headers
* Added HttpMessage.getHeaders() and HttpChunkTrailer.getHeaders()
2010-01-08 08:29:37 +00:00
Trustin Lee
58086a865f Code clean up 2010-01-07 09:19:19 +00:00
Trustin Lee
46e9fe364a Fixed issue: NETTY-272 HttpMessageEncoder should not prepend/append extra data around HttpChunk content if Transfer-Encoding is not chunked.
* OneToOneEncoder should ignore null because HttpMessageEncoder returns null when HttpChunk.isLast() is true.
2010-01-07 09:08:15 +00:00
Trustin Lee
661acd24c8 Fixed issue: NETTY-272 HttpMessageEncoder should not prepend/append extra data around HttpChunk content if Transfer-Encoding is not chunked.
* HttpMessageEncoder now does not add any extra data around HttpChunk content if Transfer-Encoding is not 'chunked'
* Moved the utility code that checks the existance of 'Transfer-Encoding: chunked' to HttpCodecUtil so that both HttpMessageEncoder and DefaultHttpMessage can use it
2010-01-07 09:05:38 +00:00
Trustin Lee
491baa0c7b Added the header constants related with WebSocket 2010-01-07 07:57:14 +00:00
Trustin Lee
bda5887238 Added Channels.pipeline(ChannelHandler...) 2010-01-07 06:41:15 +00:00
Trustin Lee
d26dc2791f Added a FIXME marker for StaticChannelPipeline 2010-01-07 05:44:44 +00:00
Trustin Lee
0596aaac48 Extracted int-to-string conversion to ConversionUtil 2010-01-07 05:33:50 +00:00
Trustin Lee
bfc3b3999d Educational information about UDP packet length limitation 2010-01-06 12:13:40 +00:00
Trustin Lee
96da66960a Fixed a bug: NETTY-270 DatagramChannelConfig.setOption("receiveBufferSizePredictorFactory",..) does not work.
* Added a missing if statement
2010-01-06 12:03:18 +00:00
Trustin Lee
6dcc714704 Indentation 2009-12-30 03:20:22 +00:00
Trustin Lee
aae6dce046 Indentation 2009-12-30 03:14:50 +00:00
Trustin Lee
7036654647 * Resolved issue: NETTY-269 (Add ChannelBuffers.copiedBuffer() that accepts char[], CharBuffer, and CharSequence)
* Rewrote toString() and copiedBuffer() implementation
* Removed unnecessary methods in CharsetUtil
2009-12-29 07:24:24 +00:00
Trustin Lee
33766a1f4f Removed the deprecated tests 2009-12-29 05:54:38 +00:00
Trustin Lee
24b59bbfa9 Resolved issue: NETTY-268 (Use Charset instead of String to represent a character set.)
* Replaced String charsetName with Charset
* Added o.j.n.util.CharsetUtil
2009-12-29 05:52:00 +00:00
Trustin Lee
55078d87bd Documentation 2009-12-29 03:07:20 +00:00
Trustin Lee
a07d24ec3e Fixed issue: NETTY-267 ChannelGroupFuture.iterator() should iterate in the order where the I/O actually occurred.
* Replaced HashMap with LinkedHashMap in DefaultChannelGroup and DefaultChannelGroupFuture
2009-12-29 02:29:41 +00:00
Trustin Lee
0314234a41 Spacing 2009-12-29 01:34:00 +00:00
Trustin Lee
437cc0211c '\n' -> "\r\n" 2009-12-24 03:18:00 +00:00
Trustin Lee
3ff8cd46c9 * Backported LinkedTransferQueue from the latest upstream revision (1.71)
** Replaced the use of sun.misc.Unsafe with Atomic*FieldUpdater
** Added ThreadLocalRandom
2009-12-24 03:10:34 +00:00