Trustin Lee
|
06a6b9b3a9
|
Remove Selector spinning optimization
- Needs more experiments
|
2012-05-25 09:25:10 -07:00 |
|
Norman Maurer
|
be20b50512
|
Add a ContextBoundUnmarshallerProvider. See #324
|
2012-05-24 16:19:09 +02:00 |
|
norman
|
22282cf3e2
|
Add a ThreadLocalMarshallerProvider and add test cases. See #324
|
2012-05-24 14:18:12 +02:00 |
|
norman
|
cc97380170
|
Fix class naming. See #324
|
2012-05-24 10:23:11 +02:00 |
|
norman
|
1bc52cbd8c
|
Merge back fix for #360
|
2012-05-24 08:45:48 +02:00 |
|
Norman Maurer
|
98a8bd25bb
|
Add testcases for all marshal encoder and decoder. See #324
|
2012-05-23 21:48:50 +02:00 |
|
Norman Maurer
|
bc308310e0
|
Rename classes to reflect the real test coverage. See #324
|
2012-05-23 21:10:12 +02:00 |
|
Norman Maurer
|
6b0a6db3f5
|
Follow the same pattern as we have in the serialization package. So we have some compatible jboss marshalling impl and one optimized. See #324
|
2012-05-23 21:04:58 +02:00 |
|
Norman Maurer
|
c5f6af6584
|
Some refactoring for the jboss marshalling support to allow easier reuse of components. See #324
|
2012-05-23 20:38:58 +02:00 |
|
Norman Maurer
|
b0ff61cded
|
Added messages to all IndexOutOfBoundsExceptions. See #359
|
2012-05-23 17:04:12 +02:00 |
|
Norman Maurer
|
35897027c5
|
Make sure we handle the sleepTime of 0 correctly in all cases. Thanks to @fredericBregier for review. See #356
|
2012-05-22 23:09:07 +02:00 |
|
Norman Maurer
|
df82853c11
|
Only send event upstream once the Ssl handshake was completed successfull. See #358
|
2012-05-22 22:51:22 +02:00 |
|
Norman Maurer
|
b994cde221
|
Add workaround to let the sleep work correctly in windows too. See #356
|
2012-05-22 22:42:02 +02:00 |
|
Norman Maurer
|
2c7c67ef4c
|
Fix compilation error
|
2012-05-22 22:34:50 +02:00 |
|
norman
|
17dca37380
|
Fix more typos..
|
2012-05-22 14:25:18 +02:00 |
|
norman
|
d7aa5c6d8a
|
Fix type
|
2012-05-22 14:16:39 +02:00 |
|
norman
|
9024bc8704
|
Allow to bind a client channel in a seperate step. This can be useful if you want to pass an object on connect to your handlers. Kind of related to #275
|
2012-05-22 13:35:20 +02:00 |
|
norman
|
5f28d01507
|
Make sure the test also work on ipv6 interfaces
|
2012-05-22 10:03:33 +02:00 |
|
Jeff Pinner
|
706d4d8598
|
SPDY: add SPDY/3 support
|
2012-05-21 21:58:56 -07:00 |
|
Norman Maurer
|
8d5f29639c
|
Fix checkstyle
|
2012-05-20 17:35:30 +02:00 |
|
Norman Maurer
|
f120e55855
|
Merge branch '3' of https://github.com/fredericBregier/netty into 3
|
2012-05-20 16:56:43 +02:00 |
|
Norman Maurer
|
90fe2ac675
|
Fix checkstyle
|
2012-05-20 15:09:05 +02:00 |
|
Trustin Lee
|
b79639f710
|
SelectorUtil.select() spins to get less latency
- This seems to boost performance dramatically when the number of
connections is very small.
|
2012-05-20 18:50:10 +09:00 |
|
Frédéric Brégier
|
5c8c0f2903
|
remove unecessary super()
|
2012-05-20 11:33:51 +03:00 |
|
Frédéric Brégier
|
e2facc51ae
|
Change Executor to Timer from Netty, in reference to Issue #345
|
2012-05-20 11:29:58 +03:00 |
|
Frédéric Brégier
|
82d8d8192e
|
Change Executor to Timer from Netty, in reference to Issue #345
|
2012-05-20 11:27:20 +03:00 |
|
Frédéric Brégier
|
fdd2a9ccfd
|
Change Executor to Timer from Netty, in reference to Issue #345
|
2012-05-20 11:26:26 +03:00 |
|
Frédéric Brégier
|
9ba9107267
|
Change Executor to Timer from Netty, in reference to Issue #345
|
2012-05-20 11:25:28 +03:00 |
|
Frédéric Brégier
|
f3a7029c0f
|
Change Executor to Timer from Netty, in reference to Issue #345
|
2012-05-20 11:24:51 +03:00 |
|
Frédéric Brégier
|
21284c430e
|
Change Executor to Timer from Netty, in reference to Issue #345
|
2012-05-20 11:24:12 +03:00 |
|
Norman Maurer
|
4bf2257d1a
|
Try to add a testcase to reproduce #343
|
2012-05-19 20:51:25 +02:00 |
|
Norman Maurer
|
33df31d7b7
|
Fix formatting
|
2012-05-19 20:39:00 +02:00 |
|
Norman Maurer
|
a2b3fc8367
|
Remove @Override annotation from interface implements
|
2012-05-19 20:34:24 +02:00 |
|
Frédéric Brégier
|
16e271325d
|
Proposal for fix related to 1rst issue of #345
Thread.sleep(wait) => Thread.sleep((wait/10)*10)
(see http://www.javamex.com/tutorials/threads/sleep_issues.shtml)
|
2012-05-19 18:18:31 +03:00 |
|
Frédéric Brégier
|
d2cf217378
|
Proposal for fix related to 1rst issue of #345
Thread.sleep(wait) => Thread.sleep((wait/10)*10)
(see http://www.javamex.com/tutorials/threads/sleep_issues.shtml)
|
2012-05-19 18:16:59 +03:00 |
|
Norman Maurer
|
2a05afd418
|
Remove @Override annotation from interface implements
|
2012-05-18 22:16:17 +02:00 |
|
Norman Maurer
|
ce391d36f4
|
Merge branch '3' of https://github.com/blucas/netty into 3
|
2012-05-18 21:29:28 +02:00 |
|
Norman Maurer
|
17cdc98499
|
Make sure setHandshakeComplete() is called before the handler is replaced. See #332
|
2012-05-18 21:27:19 +02:00 |
|
blucas
|
c052f90410
|
#337 back-port ipfilter and traffic to 3 branch (Fix test package method override)
|
2012-05-18 18:00:16 +01:00 |
|
blucas
|
31eb8595be
|
#337 back-port ipfilter and traffic to 3 branch (Fix test package)
|
2012-05-18 17:57:30 +01:00 |
|
blucas
|
98b06c6237
|
#337 back-port ipfilter and traffic to 3 branch
|
2012-05-18 17:33:19 +01:00 |
|
norman
|
288ed13b6b
|
Add a replace(..) method to FrameDecoder and also to ReplayDecoder as it now extend FrameDecoder. This also fix #332.
|
2012-05-18 11:21:29 +02:00 |
|
norman
|
e841e85bdc
|
Make all methods of SslBufferPool public so a subclass can be placed in another package. See #336
|
2012-05-18 08:04:25 +02:00 |
|
norman
|
231dc284d7
|
Use the correct ChannlBufferFactory when creating new ChannelBuffers. See #335
|
2012-05-18 07:43:43 +02:00 |
|
norman
|
ab5939e205
|
Remove silly import, sorry. See #329
|
2012-05-18 07:40:24 +02:00 |
|
norman
|
b76c996298
|
Make sure SslHandler also works if SslBufferPool use non heap ByteBuffers. See #329
|
2012-05-18 07:38:38 +02:00 |
|
norman
|
09e86c9c9b
|
Fix checkstyle
|
2012-05-18 07:36:38 +02:00 |
|
Jeff Pinner
|
ba76d5b515
|
SPDY: fix for mozilla firefox bug 754766
|
2012-05-17 11:36:57 +09:00 |
|
Norman Maurer
|
0136cbad1e
|
Add missing support
|
2012-05-15 22:16:27 +02:00 |
|
norman
|
80a2ae635b
|
Use a prelocation size of 1. Thanks to @fredericBregier fir spotting this
|
2012-05-15 13:53:42 +02:00 |
|
norman
|
f603494424
|
Make sure CompositeChanneBuffer does not throw a UnsupportedOperationException if discardReadBytes() discard the whole content of the buffer. See #325
|
2012-05-15 13:14:23 +02:00 |
|
Norman Maurer
|
ab1cf37f7c
|
Only some javadoc
|
2012-05-14 21:21:52 +02:00 |
|
Norman Maurer
|
94a5f3dbc7
|
Adjust javadocs as the usage has changed
|
2012-05-14 20:18:21 +02:00 |
|
Norman Maurer
|
7468340842
|
Merge pull request #324 from netty/jboss_marshalling
Add JBoss Marshalling support. Yay!
|
2012-05-14 11:12:37 -07:00 |
|
Norman Maurer
|
7b7c585cf3
|
Hide the TooBigObjectException and just throw a TooLongFrameException
|
2012-05-14 20:10:58 +02:00 |
|
Norman Maurer
|
6be409a4f6
|
Remove whitespace
|
2012-05-14 18:07:36 +02:00 |
|
Norman Maurer
|
0fa60c82fa
|
Hide ChannelBufferByteInput, ChannelBufferByteOutput and LimitingByteInput
|
2012-05-14 17:34:11 +02:00 |
|
Trustin Lee
|
ef51cf1c8e
|
Backport pretty hexdump from next-api
|
2012-05-15 00:15:50 +09:00 |
|
norman
|
1f866fc7ad
|
Add decoder/encoder for jboss marshalling
Use property for version
|
2012-05-14 17:15:45 +02:00 |
|
Trustin Lee
|
d24c48cbfb
|
Code clean up
|
2012-05-14 23:06:14 +09:00 |
|
Trustin Lee
|
b6aa509f32
|
Add ChannelFuture.sync() and syncUninterruptibly()
- Deprecate rethrowIfFailed() which is inferior to the new ones
|
2012-05-14 22:24:45 +09:00 |
|
norman
|
127b89f276
|
Fix checkstyle errors
|
2012-05-14 07:27:36 +02:00 |
|
Jeff Pinner
|
226c2f7243
|
SPDY: remove frame size limit in frame decoder
|
2012-05-12 20:00:00 -07:00 |
|
vibul
|
1bf045a7ba
|
Fixed bug where subprotocol not sent by client
|
2012-05-12 21:06:12 +10:00 |
|
Frédéric Brégier
|
49142f36c8
|
Merge pull request #318 from fredericBregier/3
3 Issue #317 fix through this commit (addContent ignore initial content)
|
2012-05-10 11:31:44 -07:00 |
|
Frédéric Brégier
|
614bd93348
|
Revert for Java 5 compatibility
|
2012-05-10 21:24:11 +03:00 |
|
Frédéric Brégier
|
11b139ace7
|
Revert for Java 5 compatibility
|
2012-05-10 21:21:19 +03:00 |
|
Frédéric Brégier
|
fb5eb0afd9
|
Revert for Java 5 compatibility
|
2012-05-10 21:20:08 +03:00 |
|
Frédéric Brégier
|
79f32ecba9
|
Fix for issue similar to #317
|
2012-05-10 20:58:57 +03:00 |
|
Frédéric Brégier
|
3cbc0b5f32
|
remove unecessary .name() in String methods
|
2012-05-10 20:56:05 +03:00 |
|
Frédéric Brégier
|
eac75ddfbb
|
remove unecessary .name() to Charset in String methods
|
2012-05-10 20:54:40 +03:00 |
|
Frédéric Brégier
|
b05fe03615
|
Remove unecessary .name() on Charset in String methods
|
2012-05-10 20:53:22 +03:00 |
|
Frédéric Brégier
|
a690166c77
|
Fix for issue #317
|
2012-05-10 20:51:33 +03:00 |
|
norman
|
33cee3dc9d
|
Backport support for nio udp multicast to 3 branch. See #216
|
2012-05-10 10:15:40 +02:00 |
|
norman
|
d920c6dc95
|
Backport support for nio udp multicast to 3 branch. See #216
|
2012-05-10 09:35:24 +02:00 |
|
Norman Maurer
|
cfc52b9d49
|
Add more tests for ChunkedWriteHandler
|
2012-05-06 19:30:50 +02:00 |
|
Norman Maurer
|
ccfa196b3b
|
Add test for fix of regression in ChunkedWriteHandler. See #310
|
2012-05-06 19:30:41 +02:00 |
|
Norman Maurer
|
ea5cb8ae2b
|
Fix regression in ChunkedWriteHandler. See #310
|
2012-05-06 19:30:29 +02:00 |
|
Norman Maurer
|
78ab007e1b
|
Fix regression in ChunkedWriteHandler. See #310
|
2012-05-06 19:30:14 +02:00 |
|
norman
|
924f0df93f
|
MemoryAwareThreadPoolExecutor needs to notify ChannelFuture's of the not-executed ChannelEventRunnable on shutdownNow(). See #309
|
2012-05-04 14:41:54 +02:00 |
|
norman
|
b5706d54f7
|
Make sure the ChannelFuture's of the MessageEvent's are notified on channelClosed(..) event and on removal of the handler from the ChannelPipeline. See #308
|
2012-05-04 13:47:30 +02:00 |
|
norman
|
9ebff3abf2
|
Make sure we fire the event from the io-thread. See #306
|
2012-05-04 13:46:23 +02:00 |
|
norman
|
f5eb6b61cd
|
Fix checkstyle. See #307
|
2012-05-04 13:45:02 +02:00 |
|
norman
|
85a280b356
|
Let ChannelLocal implement Iterable. See #307
|
2012-05-04 13:20:08 +02:00 |
|
norman
|
3a99550132
|
Refactor ChunkedWriteHandler to remove synchronization which can have bad side effects like deadlocks. See #297 and #301
|
2012-05-04 10:05:17 +02:00 |
|
norman
|
2a249c14b1
|
Notify ChannelFuture's of queued writes if the SslHandler gets removed from the ChannelPipeline. See #306
|
2012-05-04 09:49:37 +02:00 |
|
norman
|
33ff0421e2
|
Fail all queued writes if the ChunkedWriteHandler is removed from the ChannelPipeline. See #304
|
2012-05-04 09:37:11 +02:00 |
|
norman
|
769275e751
|
Fail all pending writes on channelClosed(..). See #305
|
2012-05-04 09:29:59 +02:00 |
|
Norman Maurer
|
250f1667b9
|
Allow to register ChannelFutureListener's that get notified once the inbound of the SSLEngine is closed. See #137
|
2012-05-03 16:39:35 +02:00 |
|
norman
|
7d2d742a43
|
Make sure ChunkedInput.close() is not called before the write is complete. See #303
|
2012-05-03 09:17:37 +02:00 |
|
norman
|
abc2877f91
|
Fix compile errors. See #299
|
2012-05-03 09:16:45 +02:00 |
|
Frédéric Brégier
|
9ab14fba6d
|
Merge pull request #299 from fredericBregier/3
3 update branch 3 from very same issues and improvements fixed for #290 #291 #292
|
2012-05-02 06:26:15 -07:00 |
|
norman
|
308afcaa40
|
Fix small race which can lead to resumeTransfer() to not kick in. See #300
|
2012-05-02 12:13:00 +02:00 |
|
Frédéric Brégier
|
26b4586af6
|
Same small fix on readUnsigned for skipControlCharacters
|
2012-05-02 12:36:48 +03:00 |
|
norman
|
97069027a8
|
Make sure the exception event is fired from within an io thread. See #298
|
2012-05-02 11:29:20 +02:00 |
|
Frédéric Brégier
|
80c6f65731
|
Fix same optimization than from Branch Master issue #292 to branch 3
|
2012-05-02 10:30:35 +03:00 |
|
Frédéric Brégier
|
faf596f691
|
Fix same optimization than from Branch Master issue #292 to branch 3
|
2012-05-02 10:22:43 +03:00 |
|
Frédéric Brégier
|
871a26b164
|
Fix same issue from branch Master issue #291 for branch 3
|
2012-05-02 10:20:16 +03:00 |
|
Frédéric Brégier
|
b6abfa70db
|
Fix same issue from branch Master issue #291 for branch 3
|
2012-05-02 10:19:43 +03:00 |
|
Frédéric Brégier
|
1313300264
|
Fix same issue than branch Master issue #290 for branch 3
|
2012-05-02 10:18:24 +03:00 |
|
Frédéric Brégier
|
5ef153f4c1
|
Fix same issue than branch master #290 for branch 3
|
2012-05-02 10:17:13 +03:00 |
|
norman
|
a688f9212e
|
Remove workaround for ipv6 link-localaddresses as it not work on most os / jdk versions. See #267 and #295
|
2012-05-02 07:35:35 +02:00 |
|
norman
|
49d59e36f5
|
Remove workaround for ipv6 link-localaddresses as it not work on most os / jdk versions. See #267 and #295
|
2012-05-02 07:35:12 +02:00 |
|
Norman Maurer
|
b614f81bf7
|
We need to set the exception on each MessageEvent. See #293
|
2012-05-01 12:02:47 +02:00 |
|
Norman Maurer
|
ea38734b13
|
Optimize AbstractNioWorker.cleanUpWriteBuffer(..). See #293
|
2012-04-29 20:10:51 +02:00 |
|
Norman Maurer
|
ca19df80f5
|
Remove volatile keyword as it is not needed
|
2012-04-29 13:43:52 +02:00 |
|
Norman Maurer
|
5219a59597
|
Fix up code to work with java5. See #286
|
2012-04-29 13:38:56 +02:00 |
|
Vibul Imtarnasan
|
ced80f3ae2
|
Merge pull request #286 from veebs/3HttpPostBody
Backport post request body and file upload to 3.x branch
|
2012-04-28 15:37:30 -07:00 |
|
norman
|
681c5dd0d0
|
Enable gathering writes support for 3.5.x . See #271 and #269
|
2012-04-27 10:25:09 +02:00 |
|
norman
|
a67194fc2c
|
Disable gathering writes till we want to release 3.5.0.Final
|
2012-04-27 08:57:52 +02:00 |
|
norman
|
3454cbbc03
|
Fix checkstyle
|
2012-04-27 08:57:12 +02:00 |
|
vibul
|
78593ab271
|
remove volatile
|
2012-04-27 15:45:10 +10:00 |
|
norman
|
8507be1a71
|
Mark constructor as @deprecated. See #283
|
2012-04-27 07:29:05 +02:00 |
|
Norman Maurer
|
99da06bfd1
|
Merge pull request #285 from veebs/3WsMaxFrameLength
Issue #283 - (3.x) Support max frame length for web socket to limit chance of DOS attack
|
2012-04-26 22:22:21 -07:00 |
|
vibul
|
7c72a91e6b
|
We need to keep the old constructor to not break the API.
|
2012-04-27 10:22:56 +10:00 |
|
vibul
|
45d58e9459
|
Removed @Override to make it work with java 5.
|
2012-04-27 09:57:54 +10:00 |
|
vibul
|
979bca4b35
|
As per Noman's request: There is not need for volatile here as we only
handle upstream events.
|
2012-04-27 09:52:01 +10:00 |
|
vibul
|
e469980236
|
Reapply files form master to keep formatting.
|
2012-04-27 09:51:18 +10:00 |
|
vibul
|
e8b016461c
|
Reapply changes to HttpHeaders without indenting problems so that we can
make sure of additions.
|
2012-04-27 09:48:15 +10:00 |
|
vibul
|
66b4735acd
|
Replaced tabs with 4 spaces.
|
2012-04-27 09:32:35 +10:00 |
|
Norman Maurer
|
7c95d475d7
|
Use ThreadRenamingRunnable in Boss and Workers again. See #289
|
2012-04-26 21:52:13 +02:00 |
|
norman
|
7c5ae2787d
|
Make sure netty detects the right java version when running on android. See #282
|
2012-04-26 15:31:04 +02:00 |
|
norman
|
1d4e5ac66d
|
Make sure netty detects the right java version when running on android. See #282
|
2012-04-26 15:27:58 +02:00 |
|
norman
|
8777c3c02b
|
OioWorker failed to fire channelConnected event for OioAcceptedSocketChannel which is fixed now. This also fix a race which can could lead to missing events. See #287
|
2012-04-26 14:41:47 +02:00 |
|
norman
|
880b01e45f
|
OioWorker failed to fire channelConnected event for OioAcceptedSocketChannel which is fixed now. This also fix a race which can could lead to missing events. See #287
|
2012-04-26 14:30:20 +02:00 |
|
norman
|
86217b692a
|
Fix formatting
|
2012-04-26 11:56:58 +02:00 |
|
norman
|
0a1c76b0f7
|
Add back UnsafeDynamicChannelBuffer to make it possible to use next netty release again in infinispan
|
2012-04-26 11:27:23 +02:00 |
|
vibul
|
802e5366b2
|
Backport post request body and file upload to 3.x branch
|
2012-04-26 10:44:37 +10:00 |
|
vibul
|
763f22463e
|
Issue #283 - Support max frame length for web socket to limit chance of DOS attack
|
2012-04-26 10:09:22 +10:00 |
|
norman
|
c6ce31db96
|
NioDatagramWorker.ChannelRegistionTask should handle ClosedChannelException gracefully. See #281 and #277
|
2012-04-25 09:21:33 +02:00 |
|
Norman Maurer
|
7e00f614d3
|
Remove benchmakr which use used as proof of concept
|
2012-04-24 20:20:17 +02:00 |
|
Norman Maurer
|
b4c00f0441
|
Merge pull request #280 from netty/cumulation_optimization
Make the cumulation usage more memory efficient
|
2012-04-24 11:15:45 -07:00 |
|
Norman Maurer
|
f0f152085a
|
Merge pull request #271 from netty/gathering_write_support
Use gathering writes if java version is >= 7 . See #269
|
2012-04-24 11:06:30 -07:00 |
|
norman
|
79f3efd89f
|
Remove unused import
|
2012-04-24 13:03:58 +02:00 |
|
norman
|
c9da4931c7
|
Add the factory to create the buffer
|
2012-04-24 13:01:49 +02:00 |
|
norman
|
bfeb9ffd9a
|
No need for a dynamicbuffer anymore
|
2012-04-23 13:17:30 +02:00 |
|
norman
|
d126059fb4
|
Correctly calculate the writable bytes and use a heap buffer to hold the bytes that are left
|
2012-04-23 11:41:27 +02:00 |
|
norman
|
33715ede50
|
Make the cumulation usage more efficient in terms of memroy usage
|
2012-04-23 10:25:05 +02:00 |
|
Norman Maurer
|
172f24cfa8
|
Upgrade and Connection header must be matched in a case-insensitive manner in WebSocket 08 and 13. See #278
|
2012-04-22 12:53:00 +02:00 |
|
Norman Maurer
|
0b26a5a2f0
|
Fix possible NPE. See #274
|
2012-04-21 16:13:27 +02:00 |
|
Norman Maurer
|
c134a522c3
|
Allow to specify the local address when connect. See #276
|
2012-04-21 15:51:51 +02:00 |
|
Norman Maurer
|
f83ba2feb9
|
Make sure we always cleanup once ReplayingDecoder handles a message. See #259
|
2012-04-20 20:10:50 +02:00 |
|
Norman Maurer
|
670c4fa42f
|
Enable gathering writes by default. See #269
|
2012-04-19 17:52:35 +02:00 |
|
Norman Maurer
|
510692d7e7
|
Add benchmark for gathering writes. See #269
|
2012-04-19 17:45:41 +02:00 |
|
Norman Maurer
|
5dbc207b5b
|
Correctly handle the stripping of the zoneId / scopeId in all cases. See #267
|
2012-04-19 16:40:02 +02:00 |
|
Norman Maurer
|
1779032218
|
Use LinkedTransferQueue that ships with java7 when running on java >= 7. See #273
|
2012-04-19 13:24:46 +02:00 |
|
Norman Maurer
|
c5ab2f5dad
|
Use gathering writes in CompositeChannelBuffer if jdk >= 7. See #267
|
2012-04-19 13:12:28 +02:00 |
|
Norman Maurer
|
1a53f9e0bd
|
Allow to disable the use of sun.misc.Unsafe via a System property. See #272
|
2012-04-19 11:58:33 +02:00 |
|
Norman Maurer
|
2cea0dee73
|
Only log if logging level is enabled
|
2012-04-19 11:39:50 +02:00 |
|
Norman Maurer
|
cbb8654193
|
Use gathering writes if java version >= 7 and the ChannelBuffer is an instanceof CompositeChannelBuffer. See #267
|
2012-04-18 21:49:28 +02:00 |
|