Commit Graph

103 Commits

Author SHA1 Message Date
Naoyuki Kanezawa
50d4de4cbe Merge pull request #45 from georgekankava/release/local-variable-and-method-parameter-names-should-comply-with-a-naming-convention-fix-1
squid:S00117 - Local variable and method parameter names should comply with a naming convention
2016-02-24 17:24:15 +09:00
George Kankava
0ecdde6a77 multiple code improvements fix 3 2016-02-02 21:45:59 +04:00
George Kankava
423d61715d Multiple code improvements 2 2016-02-01 23:50:56 +04:00
George Kankava
26b5a7754a Multiple code improvements 1 2016-02-01 21:10:08 +04:00
George Kankava
86307a13be squid:S00117 - Local variable and method parameter names should comply with a naming convention. 2016-02-01 18:30:56 +04:00
nkzawa
203c934917 fix the timing of calling drain event on websocket transport 2016-01-31 03:42:14 +09:00
nkzawa
5fe896fd7e remove callbackBuffer from Socket 2016-01-31 03:03:25 +09:00
nkzawa
f75ea34440 add ping/pong events 2016-01-31 01:46:11 +09:00
nkzawa
d876b6c1bd replace timestamp with yeast 2016-01-31 01:13:03 +09:00
nkzawa
109fcef0e1 implement yeast 2016-01-31 00:59:12 +09:00
nkzawa
9363039a71 improve ipv6 support, add tests 2016-01-30 20:36:28 +09:00
Yu-Hsuan Lin
a42437ca9c okhttp 3 2016-01-15 17:36:01 +08:00
Yu-Hsuan Lin
c8bdd27b45 okhttp 2.7.0 2015-12-14 12:11:31 +08:00
nkzawa
6b49a6ed4e append the issue url to work-around 2015-10-11 13:03:53 +09:00
nkzawa
506a5acbac Merge branch 'master' of github.com:socketio/engine.io-client-java 2015-10-11 12:57:49 +09:00
nkzawa
45977f1a90 check lone surrogate (compatible with utf8.js v2.1.0) 2015-10-11 01:10:06 +09:00
ZeroBrain
9423449cfd after creating xhr instance, then xhr would start to connect.
but in connecting, network was disconnected.
so I added tyr-catch NullPointException.
2015-10-10 13:47:05 +09:00
nkzawa
0974154181 disable timeouts of websocket 2015-09-30 02:23:00 +09:00
nkzawa
acddf2f69c move package name 2015-08-31 02:34:28 +09:00
Naoyuki Kanezawa
649f53925d fix NPE 2015-08-09 05:59:59 +09:00
Naoyuki Kanezawa
65c64e08b3 change http header types 2015-07-21 02:29:15 +09:00
Naoyuki Kanezawa
2faaa468e9 hopefully fix NullPointerException when upgrading 2015-07-21 00:00:59 +09:00
Naoyuki Kanezawa
e2125f1352 don't use response to create error message 2015-06-07 01:48:08 +09:00
Yu-Hsuan Lin
fd79993920 upgrade okhttp_ws to 2.4.0 2015-05-31 04:21:05 +08:00
Naoyuki Kanezawa
d79d63c747 fix parsing query string 2015-05-06 23:54:21 +09:00
Naoyuki Kanezawa
5f2b89e6d6 remove unused check, catch an exception thrown when the socket is already closed 2015-05-02 15:31:56 +09:00
Naoyuki Kanezawa
191416cbe8 fix transport checking was always false 2015-05-02 15:29:01 +09:00
Naoyuki Kanezawa
9e4b64adcc add setDefaultHostnameVerifier 2015-05-02 15:26:48 +09:00
Yu-Hsuan Lin
a4babe599d Set HostnameVerifier in PollingXHR 2015-05-02 06:21:00 +08:00
Yu-Hsuan Lin
f4b2816cf0 Set HostnameVerifier as an Options 2015-05-02 01:31:52 +08:00
Yu-Hsuan Lin
822aaebc35 Revert "add new Options for feeding custom OkHttpClient"
This reverts commit 464b7302d4.
2015-05-02 00:59:34 +08:00
Yu-Hsuan Lin
ae1c521645 Merge branch 'master' into websocket_okhttp 2015-05-02 00:58:37 +08:00
Naoyuki Kanezawa
3144dc60ec trigger transport event upon its creation 2015-04-22 03:06:30 +09:00
Yu-Hsuan Lin
464b7302d4 add new Options for feeding custom OkHttpClient 2015-04-14 11:57:56 +08:00
Yu-Hsuan Lin
3ccc42ab2c add request header, cancel WebSocketCall 2015-04-13 04:01:04 +08:00
Yu-Hsuan Lin
b3586bb0b1 handle error using onError 2015-04-13 01:11:35 +08:00
b95500517
d86f51fda0 replace Java-WebSocket to OkHttp WebSocket 2015-03-19 09:55:52 +08:00
Naoyuki Kanezawa
2aac8b65c1 set connect timeout for polling 2015-02-07 02:40:52 +09:00
Naoyuki Kanezawa
dcfac6ff55 add Socket#id() 2015-01-25 13:51:12 +09:00
Naoyuki Kanezawa
2fcbac9bc8 make priorWebsocketSuccess private 2015-01-25 13:50:46 +09:00
Naoyuki Kanezawa
2dc81e00d6 fix default port detection 2015-01-25 05:43:27 +09:00
Naoyuki Kanezawa
96fba4e20a compatible with engine.io-client v1.4.2 2014-11-03 22:45:45 +09:00
Naoyuki Kanezawa
cf68b944d0 compatible with engine.io-client 1.4.0 and engine.io-parser 1.1.0 2014-09-21 20:04:56 +09:00
Naoyuki Kanezawa
0609ab3818 Merge pull request #6 from hellpf/master
IPv6 URL support
2014-09-21 19:46:01 +09:00
Sérgio Faria
794e24e879 The current EventThread doesn't need to be volatile
Citing the JLS (Java 7) §17.4.5:
> A call to start() on a thread happens-before any actions in
> the started thread.

Other threads calling isCurrent(), can see stale values of the static
variable, as it doesn't affect the result.

Nulling the thread variable, cannot be reordered with the new Thread because
a synchronized(EventThread.class) precedes the first task submission on a new
Executor, causing a happens-before relationship that ensures the null is
already visible to the thread on netTick (that will create the EventThread).
2014-08-28 21:42:10 +01:00
Sérgio Faria
4741886414 Refactor Emitter to remove a ConcurrentHashMap. 2014-08-28 20:35:40 +01:00
Naoyuki Kanezawa
21fb11f0c2 synchronize access to the ExecutorService 2014-08-17 01:42:52 +09:00
Naoyuki Kanezawa
bf3bc57244 add try-finally 2014-08-16 23:44:37 +09:00
Naoyuki Kanezawa
3817814809 Merge branch 'master' of github.com:nkzawa/engine.io-client.java 2014-08-16 20:04:34 +09:00
Naoyuki Kanezawa
f3057dd5d3 fix #4 gracefully shutdown all ExecutorServices 2014-08-16 20:04:20 +09:00