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
d3a12cb476
suppress test logs
2015-04-23 02:40:32 +09: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
5cd669abe4
fix to carry environment variables
2015-02-01 21:33:01 +09:00
Naoyuki Kanezawa
a65a043c65
add tests for termination
2015-02-01 20:14:28 +09:00
Naoyuki Kanezawa
fc76fdbf0c
bump engine.io for test
2015-01-25 16:11:02 +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
b6e483f4ea
test against engine.io 1.4.2
2014-11-04 01:37:58 +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
1f8edef37f
fix tests
2014-08-17 14:01:14 +09:00
Naoyuki Kanezawa
9e24f9d922
improve test server
2014-08-17 05:34:58 +09: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
d2aecdb155
increase timeout
2014-08-16 20:24:56 +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
Andre Di Genova
20f57e345d
I forgot this was Java.
2014-08-10 03:59:16 -04:00
Andre Di Genova
29991ee00e
Android 19 on a 4.4.2 simulator seems to return a null when getHeaderFields is called on a headerless request instead of an empty map which results in an NPE.
2014-08-10 03:47:10 -04:00
Naoyuki Kanezawa
46196d57dc
don't use String#isEmpty for Android support
2014-07-27 00:26:24 +09:00
hell
a5559c2358
IPv6 URL support
2014-07-22 16:31:53 +02:00
Naoyuki Kanezawa
f823857662
fix a few interfaces
2014-07-13 15:48:53 +09:00
Naoyuki Kanezawa
3ffe7b326b
add setDefaultSSLContext #3
2014-07-08 01:17:01 +09:00
Naoyuki Kanezawa
fe2fd4413a
fix #3 enable to set SSLContext as an option
2014-07-07 22:41:59 +09:00
Naoyuki Kanezawa
b1e43ba1b2
handle utf8 decode errors
2014-06-30 10:09:41 +09:00
Naoyuki Kanezawa
f42e993234
compatible with engine.io-parser 1.0.7
2014-06-29 13:29:50 +09:00
Naoyuki Kanezawa
18cb59c446
use org.json 20090211 for Android support
2014-06-29 11:56:23 +09:00
Naoyuki Kanezawa
cdc2c87f49
compatible with engine.io-client 1.2.2
2014-06-01 20:43:31 +09:00
Naoyuki Kanezawa
7c67fa5d9b
compatible with engine.io-parser 1.0.6
2014-06-01 20:21:54 +09:00