Nikita Koksharov
3cb91649f9
refactoring
4 years ago
梁嘉祺
452870d6af
bugfix: node just publish one leave msg on client which joined multi rooms disconnect
5 years ago
梁嘉祺
8441045ed5
bugfix: multy node with redisson receive multy same message
5 years ago
johnlai
64d507937f
fix namespace bug
5 years ago
Nikita Koksharov
d439c74b1e
refactoring
5 years ago
Nikita Koksharov
2f22e0aa69
license updated
5 years ago
Yosi Attias
9655c257d4
Make "Event" class publish
In order to create custom serialization code (using `JsonSupport`) I
need to be able to create `Event` classes
6 years ago
Yosi Attias
f3621a915c
Add support for event interceptors which catch all events
6 years ago
Nikita Koksharov
bc24bddce4
license header added
6 years ago
Volodymyr Masliy
75d08d405d
Fix cross-namespace broadcast happens on single ns
Given mutable nature of Packet object and a fact that single Packet
instance is created in BroadcastOperations before sending it all
clients, when event is emitted to room where clients with different
namespaces are joined, then all of them will receive that event on
single namespace.
By using withNs method, Packet copy will be created, effectively, solving
the issue
6 years ago
Nikita Koksharov
bbb0c8f9a2
license header updated
6 years ago
Nikita Koksharov
f28fecb865
Redisson 3.9+ compatibility fixed
6 years ago
Nikita Koksharov
50080f9377
Jackson 2.7+ compatibility fixed
6 years ago
nonofr
83f3dc5d04
Fix CompositeIterable
Make it compatible with Spliterator/Stream in java8 by returning a new
iterator each time iterator() is called
6 years ago
yuanxiangz
4485a00039
Fix #593 : add randomSession config
6 years ago
Redliver
98467ccb38
fix invalid namespace
socketio.js 2.0 + netty-socketio-1.7.16
reason:
namespace request payload contains url query string info, like
`8:40/chat,`
`49:40/chatroom?uid=ba7822bee25940ada9d2a987670afc5d,`
it does'n match `/chat` or `/chatroom` in namespacehub
fix:
sub the query string
7 years ago
Nikita
809931707c
Redisson compatibility fixed #602
7 years ago
zhaolianwang
bcb057fa62
subType
7 years ago
zhaolianwang
09d580325c
fix nullpoint
https://github.com/mrniko/netty-socketio/issues/596
reason:
WebSocketTransport line 144 : Packet packet = new Packet(PacketType.MESSAGE); //subType =null
PacketEncoder line 288: byte subType = toChar(packet.getSubType().getValue()); //NullPointerException
fix
WebSocketTransport
Packet packet = new Packet(PacketType.MESSAGE);
packet.setSubType(PacketType.MESSAGE);
7 years ago
Nikita
49ad31f4c6
license header added
7 years ago
lubinwang
3a11421c1e
Fix concurrency issue
7 years ago
lubinwang
92ef9b58d5
release inactive long-polling channel from ClientsBox to avoid memory leak
7 years ago
hangsu.cho
2608b24d80
[ #547 ] add apache license comment
7 years ago
hangsu.cho
16dc14a7fa
[ #547 ] process websocket CloseFrame
- If an endpoint receives a Close frame and did not previously send a
Close frame, the endpoint MUST send a Close frame in response.
7 years ago
Nikita
2628a6c92b
WebSocketTransport NPE fixed. #556
7 years ago
Nikita
9ccdb36019
Fixed - sessionId also should be read from io header #505 #526
7 years ago
Joel Koh
5eaaf5a73a
fixed disconnect null pointer
7 years ago
Joel Koh
10e7d0fa3a
fixed underlying connection not closing on ping timeout
7 years ago
dzn
5ad451ca89
#503 fix the "fin_close" problem
7 years ago
Tanghd
69bde655eb
implements onPingException
7 years ago
Nikita
d03646a5c3
javadoc errors fixed
7 years ago
henryorz
30bb876249
remove ISO_8859_1 encode in PacketDecoder
7 years ago
Tanghd
b07497ebf0
add ThreadFactory for HashedWheelTimer
7 years ago
lovebing
cf76065027
Rename addPingListeners to addPingListener
7 years ago
lovebing
d3f63cb9d8
add PingListener
7 years ago
henryorz
17bd4586e3
remove comment
7 years ago
henryorz
9414a990af
fix bugs of decode while polling
7 years ago
vonway
c7782760aa
Fix NumberFormatException when b64 is bool value.
Cause:
- when the b64 is set as bool value like "http://<hostaddress>/socket.io/1/?EIO=2&transport=polling&b64=true",
Exception [java.lang.NumberFormatException: For input string: "true"] will throw.
Because it try to parse a string "true" to Integer.
Fix:
- take true as 1 and take false as 0
7 years ago
xudong82113
34bf4d7541
restore sessionId from io Cookie. #505
8 years ago
Nikita
1ab1abffef
ByteBuffer leak fixed
8 years ago
Robert Elek
fcc7d33df8
Issue #481 - changed SO_LINGER to be handled as child channel (not server channel) option
8 years ago
Robert Elek
05ec7d3e22
changed SO_LINGER to be handled as child channel (not server channel) option
8 years ago
sergeygrigorev
b32ae8ce61
Add local socket address for the connection #484
* add local address to HandshakeData
8 years ago
Robert Elek
66d769c462
stylistic fixes, method typo, import grouping
8 years ago
Robert Elek
36867d7f0c
improved websocket write promise handling - issue #402
8 years ago
Robert Elek
a9e0aae4da
fix for issue #402 , marking channel promise as success twice
8 years ago
Sergey Bushik
28a7fb8331
Skip body parsing if attachments aren't loaded
8 years ago
Sergey Bushik
a31da6080f
Fixed regression introduced after BINARY_ACK change
8 years ago
Sergey Bushik
a748461389
Add support for BINARY_ACK(6, true) packet, which is used when the arguments for an ACK function contain binary data; encodes packet in the BINARY_EVENT style documented in https://github.com/socketio/socket.io-protocol
8 years ago
Robert Elek
ef59f7083a
Added option to change the SSL KeyFactoryAlgorithm using Configuration.
Also fixed some javadoc @param inconsistencies.
9 years ago