Commit Graph

2845 Commits

Author SHA1 Message Date
norman
37d10f3ec3 [maven-release-plugin] prepare for next development iteration 2012-08-16 11:00:57 +02:00
norman
22433f9841 [maven-release-plugin] prepare release netty-3.5.4.Final 2012-08-16 11:00:45 +02:00
Norman Maurer
9ef39ac7cf Merge pull request #526 from jamestyrrell/3
[#494] Automatically adding chunked encoding header breaks streaming
2012-08-16 01:30:56 -07:00
James Tyrrell
e5a7fa2c96 [#494] Automatically adding chunked encoding header breaks streaming 2012-08-16 18:23:22 +10:00
Norman Maurer
3f709efcea Merge pull request #522 from jpinner/utf8_encode_uri_3
Fix #521: Encode URI using UTF-8 charset
2012-08-16 00:22:19 -07:00
norman
24f1b54c86 Only cache the localAddress if its a non wildcard address, so its possible to retrieve the 'real' adress later once the channel is fully bound/connected. See #524 2012-08-16 07:38:38 +02:00
Jeff Pinner
4f001f3246 Fix #521: Encode URI using UTF-8 charset 2012-08-15 14:04:30 -07:00
Norman Maurer
b6264c02d9 Make sure that it continue to try to read from the socket even if the SocketTimeoutException was triggered because of the SO_TIMEOUT. See #520 2012-08-15 22:39:40 +02:00
Norman Maurer
d3d5a931d0 Set the SO_TIMEOUT on the underlying Socket so we will be able to run submitted tasks in the IO-Thread even if the read operation would block because of nothing to read. See #520 2012-08-15 22:29:03 +02:00
norman
88124d88ce Remove synchronized blocks to optimize BufferedWriteHandler. See #519 2012-08-15 15:02:53 +02:00
Norman Maurer
f1ba4f23a6 Merge pull request #513 from CruzBishop/3-fix-510
3: Fixed a typo in ObjectEchoClientHandler
2012-08-14 03:00:25 -07:00
Cruz Julian Bishop
8af95f0897 Fixed a typo in ObjectEchoClientHandler
This fixes #510 in branch 3

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
2012-08-14 19:54:52 +10:00
Norman Maurer
3a3c5de76b Merge branch '3' of github.com:netty/netty into 3 2012-08-12 10:59:04 +02:00
Norman Maurer
6d87b7629e Fix NPE in DefaultChannelPipeline if toString() is called with an empty pipeline. See #505 2012-08-12 10:58:43 +02:00
Trustin Lee
6d5a332667 Fix a buf in CompositeChannelBuffer.setBytes() where -1 is not returned 2012-08-09 17:50:27 +09:00
Norman Maurer
ce4cf5e619 Merge pull request #495 from CruzBishop/intellij-in-gitignore
3: Adds the IntelliJ project directory to .gitignore.
2012-08-08 23:05:09 -07:00
norman
eb8757f1cb Fix bug which leads to return HttpMessageEncoder implementations null if encoding a HttpChunk which is the last one. This vilates the OneToOneEncoder contract and so leads to a missing notification of the write future. See #493 2012-08-09 08:02:27 +02:00
Norman Maurer
02f53c2b12 Merge pull request #499 from CruzBishop/3-perf
Replaces two manual array copies
2012-08-08 22:28:09 -07:00
Cruz Julian Bishop
618ddb42e3 Replaces two manual array copies
This is a potential performance boost, but there shouldn't
be too much of a difference.

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
2012-08-09 09:51:43 +10:00
Cruz Julian Bishop
9e4118cd4a Adds the IntelliJ project directory to .gitignore.
I'm trying to move away from Netbeans, so I thought
I should ignore this instead of accidentally adding it later on

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
2012-08-09 08:11:17 +10:00
norman
e0a88a0f15 Share some more code 2012-08-01 09:00:13 +02:00
norman
9f285d1819 Make sure the ByteBuffer is copied on NioDatagramWorker.read(..). See #485 2012-08-01 08:43:41 +02:00
Norman Maurer
40685a030d Use the right ByteOrder for the ByteBuffer on read(..). See #484 2012-07-31 20:35:50 +02:00
Norman Maurer
95cf6a4a71 Use SocketReceiveBufferAllocator to allocate the ByteBuffer which is used to read from the DatagramChannel. See #483 2012-07-31 20:32:03 +02:00
Norman Maurer
7dcae71b09 Merge pull request #481 from netty/receive_buffer
Optimize ByteBuffer usage for receiving bytes from the channel. See #480
2012-07-31 10:55:04 -07:00
norman
c28e3c7300 Make the code more compact. See #480 2012-07-30 14:29:50 +02:00
norman
947a12555a Make the code more compact. See #480 2012-07-30 14:28:28 +02:00
norman
f129ee1e28 Use a percentual calculation to see if a new buffer should get allocated. See #480 2012-07-30 14:18:34 +02:00
norman
d772e3cc74 Fix class name, seems like eclipse did not rename it correctly. See #480 2012-07-30 14:04:33 +02:00
norman
d2fa983d32 Rename class to better reflect its usage. See #480 2012-07-30 13:57:33 +02:00
norman
3070247ca7 Optimize ByteBuffer usage for receiving bytes from the channel. See #480 2012-07-30 13:52:56 +02:00
norman
236b0da210 Allow to set Expires attribute to a date in the past. This may break the behavior of old implementations, so it need some notes in the announcement of the version. See #479 2012-07-30 11:13:42 +02:00
norman
5706d6a2ec Mark not used queue impls as @deprecated as these are not needed anymore. See #477 2012-07-30 11:10:00 +02:00
Norman Maurer
26b513236f Replace usage of QueueFactory with ConcurrentLinkedQueue and LinkedBlockingQueue. See #477 2012-07-28 21:35:48 +02:00
norman
5189bb1f3f Don't close the Selector if no keys are registered. See #471 2012-07-24 15:22:19 +02:00
norman
2c318d397b [maven-release-plugin] prepare for next development iteration 2012-07-23 12:12:30 +02:00
norman
fd363ce969 [maven-release-plugin] prepare release netty-3.5.3.Final 2012-07-23 12:12:16 +02:00
norman
96182f97e8 Fix race-condition which could lead to a NPE or Exception while register a Channel with a Worker. See #469 2012-07-23 11:21:32 +02:00
norman
36acda0be9 Remove System.err.pritnln(..) statements. See #468 2012-07-23 10:19:35 +02:00
Norman Maurer
a76e8a8e36 Merge pull request #468 from fredericBregier/3
Fix issue when SSL is used on top of the Multipart. See #468
2012-07-23 01:18:22 -07:00
Frédéric Brégier
458f983d9d Fix to standard support with no more forceChunk 2012-07-23 11:11:45 +03:00
Frédéric Brégier
666bf1ffe4 Revert SSL issue on Multipart to force Chunk mode if isMultipart is true 2012-07-23 11:07:26 +03:00
norman
055434dbe1 Merge branch '3' of ssh://github.com/netty/netty into 3 2012-07-23 09:25:47 +02:00
norman
54ad935ec5 Fix race-condition which could lead to a NPE or Exception while register a Channel with a Worker. See #469 2012-07-23 09:25:26 +02:00
Trustin Lee
cb2b2830b2 Fix an infinite loop in CompositeChannelBuffer.setBytes()
.. which occurs when a channel is closed during I/O
2012-07-23 15:33:14 +09:00
norman
c059d13108 Fix race-condition which could lead to a NPE while register a Channel with a Worker. See #469 2012-07-23 07:48:03 +02:00
Frédéric Brégier
258f5b00fa Fix for SSL 2012-07-22 19:38:54 +03:00
Frédéric Brégier
b60a9f6532 Fix for SSL example 2012-07-22 19:36:36 +03:00
Frédéric Brégier
2d6dbd5a92 Fix for SSL example 2012-07-22 19:35:18 +03:00
Frédéric Brégier
a78318149e Fix for ssl example 2012-07-22 19:33:58 +03:00