vibul
16bf84dac1
Use WebSocketVersion enum rather than string literal
2011-12-15 16:42:25 +11:00
vibul
812a79fd52
Use websocket wire protocol version rather than specification version
2011-12-15 16:09:09 +11:00
Ryan Shelley
7037d995c9
Added support for custom headers to be added to websocket client connections
2011-12-14 19:00:36 -08:00
vibul
d9b14a0b37
Removed compile warnings.
2011-12-13 12:20:51 +11:00
Vibul Imtarnasan
8e78bd9db6
Merge pull request #119 from palmerabollo/master
...
Test WebSocketServerHandshaker17
2011-12-12 17:08:00 -08:00
norman
a4bfc4011d
Some cleanup and javadocs for the SEDA implementation. Also fixes a bug
...
in the ExecutionHandler which I introduces while working on SEDA. See
#111
2011-12-12 13:18:27 +01:00
Guido García
4092fd0efc
Test WebSocketServerHandshaker17
...
Tests that the HTTP headers (SEC_WEBSOCKET_ACCEPT,
SEC_WEBSOCKET_PROTOCOL) are ok in this version of the websocket
protocol.
2011-12-12 12:59:52 +01:00
norman
75a6414639
Add FineGrainedSedaExecutor which makes it easy to use different
...
Executors for different events. The idea is the same is in
SimpleChannelHandler. See #111
2011-12-12 08:41:50 +01:00
norman
b9e869545c
Add special subclasses of MemoryAwareThreadPoolExecutor and
...
OrderedMemoryAwareThreadPoolExecutor which should be used for SEDA
processing. See #111
2011-12-12 08:21:53 +01:00
vibul
5be24a0943
Improve encoder/decoder "replace" in Web Socket Client handshake.
2011-12-11 21:55:36 +11:00
vibul
dc1655890e
Removed io.netty.example.http.websocket because
...
io.netty.codec.http.websocket has been removed.
2011-12-11 21:13:26 +11:00
Ngoc Dao
5b9aa76efd
Fix #116
2011-12-11 20:13:35 +11:00
Ngoc Dao
209ad9278f
Use channel instead of context and cleanup unused method argument
2011-12-11 20:13:35 +11:00
Norman Maurer
427b784c6e
DefaultChannelPipeline.replace() does not correctly replace a
...
ChannelHandler if name is preserved. See #113
2011-12-11 09:21:29 +01:00
Norman Maurer
5c4702245c
Start to add handler for simple SEDA support. This handler supports to
...
offload upstream and downstream events. The SedaExecutor is responsible
for offload the events to different Executors. See #111
2011-12-10 21:28:18 +01:00
Trustin Lee
2efed0d6b1
No need to specify a default value
2011-12-09 15:11:53 +09:00
Trustin Lee
07f2c2e7da
Better handshaker naming / Remove deprecated example / Hide UTF8 classes from users
2011-12-09 14:58:36 +09:00
Trustin Lee
54b8b501ee
Remove old websocket package
2011-12-09 14:39:58 +09:00
Trustin Lee
679f33a986
More copyright updates
2011-12-09 14:28:48 +09:00
Trustin Lee
be64e2531f
Regenerate LocalTimeProtocol
2011-12-09 14:24:33 +09:00
Trustin Lee
69346bff47
Build tarball only
2011-12-09 14:20:43 +09:00
Trustin Lee
9f41a5a1f8
Update license header / Remove JBoss style
2011-12-09 14:18:34 +09:00
Trustin Lee
31cff01b71
Moving to SLF4J
2011-12-09 14:05:23 +09:00
Trustin Lee
a254bf41e7
Fewer JBoss reference
2011-12-09 13:59:41 +09:00
Trustin Lee
7f25d9d81a
Remove outdated UML / Fix image URL / etc
...
* Instead of UML diagrams, we will focus on netty-book project
* We are moving to SLF4J so we don't need jboss-beans.xml
2011-12-09 13:52:46 +09:00
Trustin Lee
59f39cae75
Remove @author and @version / Remove COPYRIGHT.txt
...
* The new copyright header replaces @author
* COPYRIGHT.txt is irrelevant to us now.
2011-12-09 13:43:34 +09:00
Trustin Lee
015daec3fa
http://jboss.org/netty/ to http://netty.io/
2011-12-09 12:46:59 +09:00
Trustin Lee
7518e98525
org.jboss.netty -> io.netty
2011-12-09 12:40:29 +09:00
Trustin Lee
6fdb7d9116
org.jboss.netty -> io.netty
2011-12-09 12:38:59 +09:00
norman
7d9879d5cc
Only create UnsafeDynamicChannelBuffer if really needed. See #108
2011-12-08 14:34:30 +01:00
norman
229c8734ed
Fields in ReplayingDecoder does not need atomic nature. See #108
2011-12-08 14:27:43 +01:00
Norman Maurer
27f9a0cee2
Merge pull request #105 from mariusaeriksen/master
...
Always cleanup() in ReplayingDecoder if we have received any messages at all.
2011-12-07 11:37:42 -08:00
marius a. eriksen
49c797fb3e
ReplayingDecoder: keep explicit track of cleanup state.
...
This fixes a bug introduced by 1f3d35bd
whereby cleanup() won't get
run if the cumulation buffer was emptied. This is important for
codecs like HTTP: In particular, empty 200 OK responses without a
Content-Length header would fail to decode.
2011-12-07 11:19:09 -08:00
Jestan Nirojan
0a99e8bb57
prepared merge with upstream
2011-12-08 00:27:23 +05:30
Jestan Nirojan
f62bb850ec
fixed a typo in a getter method
2011-12-08 00:14:04 +05:30
Jestan Nirojan
2f5f149b52
1)added some documentaion comments 2)minor refactoring
2011-12-08 00:07:55 +05:30
Jestan Nirojan
84f6f7d617
updated license in sctp classes
2011-12-07 23:32:48 +05:30
Jestan Nirojan
68379140c4
removed svn rev headers from sctp classes
2011-12-07 23:24:08 +05:30
Jestan Nirojan
724ca7a913
merged with master
2011-12-07 23:17:11 +05:30
Jestan Nirojan
40e6a73e94
Merge branch 'master' of github.com:jestan/netty
2011-12-07 22:53:33 +05:30
norman
5cb865c4ce
Use AtomicInteger.class ClassLoader for Unsafe dection. See #102
2011-12-07 13:14:42 +01:00
norman
766525431d
Rename the old LinkedTransferQueue to LegacyLinkedTransferQueue and fork
...
the "current" implementation of LinkedTransferQueue (from Doug Lea).
Introduce a QueueFactory which will load the right implementation
depending on the JVM version. This will make sure that the one with the
best performance is choosen and the code also works with java 5. See
#102
2011-12-07 12:08:39 +01:00
norman
51f69877a6
Fix compile errors
2011-12-07 07:57:56 +01:00
norman
cc761ae786
Allow to set/get an attachment on a Channel without the need of
...
ChannelLocal. See #101
2011-12-07 07:54:15 +01:00
Jestan Nirojan
3379a4c25d
1)replaced all netty link transfer queue by java 7 link transfer queue to avoid high cpu usage 2)optimized selector loop
2011-12-06 19:40:22 +05:30
Trustin Lee
a9a713ddcf
Remove DocBook from build
2011-12-03 20:02:25 +09:00
Trustin Lee
4a4e46b83b
Separate the user guide out of the project.
2011-12-03 19:54:54 +09:00
Jestan Nirojan
78c949f282
Merge remote branch 'upstream/master'
2011-12-02 03:39:09 +05:30
Jestan Nirojan
460237d3f3
changed the visibility of ctx, event in channel event runnable, so execution handler implementers can have a down stream execution handler for SEDA
2011-12-02 00:15:09 +05:30
norman
0d5c7d3d2e
Make sure the cumulation Buffer is only created if really needed. See
...
#88
2011-12-01 14:12:24 +01:00