Commit Graph

280 Commits

Author SHA1 Message Date
Damien Arrachequesne
48bf83f34c chore(release): prepare for next development iteration 2020-12-10 16:02:02 +01:00
Damien Arrachequesne
89ef9d09ce chore(release): prepare release socket.io-client-1.0.1 2020-12-10 16:01:09 +01:00
Damien Arrachequesne
9df7b759b0 chore: bump engine.io-client version
Diff: https://github.com/socketio/engine.io-client-java/compare/engine.io-client-1.0.0...engine.io-client-1.0.1
2020-12-10 15:43:05 +01:00
Damien Arrachequesne
7cb4dc9316 chore: bump Socket.IO server version
We'll migrate to v3 in a second time.
2020-12-10 15:43:05 +01:00
Damien Arrachequesne
b733f96e0e test: fix test with ping-pong latency
Randomly receiving a latency of 0 ms would make the test fail.
2020-12-10 12:23:33 +01:00
Alireza Ghaffari
567372ecfa fix: handle case where URI.getHost() returns null (#484)
It seems that URI.getHost() might return null on some Samsung devices.

Related: https://stackoverflow.com/questions/39645789/android-websocket-connection-failed-galaxy-s4
2020-12-10 12:20:06 +01:00
Ifedapo .A. Olarewaju
858907f9be docs: add import hints to readme (#586) 2020-12-10 12:16:32 +01:00
Kushtrim Pacaj
54b73114d1 fix: don't process socket.connect() if we are already re-connecting (#577) 2020-12-10 11:47:20 +01:00
Damien Arrachequesne
91c0a85c0f ci: migrate to GitHub Actions
Due to the recent changes to the Travis CI platform (see [1]), we will
now use GitHub Actions to run the tests.

Note: the certificate was updated because it failed with newer Node.js versions

```
_tls_common.js:129
      c.context.setCert(cert);
                ^

Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
    at Object.createSecureContext (_tls_common.js:129:17)
    at Server.setSecureContext (_tls_wrap.js:1328:27)
```

Reference: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-java-with-maven

[1]: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
2020-12-10 11:20:23 +01:00
Imran Abdulmalik
0f3ad9bb45 docs: socket.io 3.x support notice (2) (#640) 2020-12-08 11:11:36 +01:00
yujiosaka
d7e807b7f9 docs: state socket.io 2.x support (#627) 2020-12-08 11:09:39 +01:00
twofingerrightclick
63eefa2bfd docs: socket.io 3.x support notice (#639)
Inform users that socket.io 3.x is not supported yet.
2020-12-08 10:58:52 +01:00
Naoyuki Kanezawa
4bcbba4948 Merge pull request #540 from zhxnlai/patch-1
Fix broken link in README
2019-03-15 10:06:15 +09:00
Zhixuan Lai
52a0c3d09e Fix broken link 2018-07-16 17:20:13 -07:00
nkzawa
964a66fc1c remove warning 2017-07-14 15:46:09 +09:00
nkzawa
65daeb2369 [maven-release-plugin] prepare for next development iteration 2017-07-14 15:14:06 +09:00
nkzawa
45fd4fbdd8 [maven-release-plugin] prepare release socket.io-client-1.0.0 2017-07-14 15:13:55 +09:00
nkzawa
84830a463b version 2017-07-14 15:03:16 +09:00
nkzawa
3c0808b6f9 prepare release 2017-07-14 14:54:54 +09:00
Naoyuki Kanezawa
05f6a2afd2 Merge pull request #439 from socketio/fix/compatible-v2
Make compatible with Socket.IO v2
2017-07-14 14:23:34 +09:00
nkzawa
eeadb50aa9 clean up imports 2017-07-14 14:22:44 +09:00
nkzawa
6e5fab39de Merge branch 'master' into fix/compatible-v2 2017-07-14 14:20:39 +09:00
nkzawa
ad4449bfee explicitly clear onDecoded callback 2017-07-14 14:11:27 +09:00
nkzawa
2ec4167eb8 add tests 2017-07-14 12:40:22 +09:00
nkzawa
3d98ed9fe9 simplify custom encoder/decoder 2017-07-14 11:50:25 +09:00
Naoyuki Kanezawa
9b5c684349 Merge pull request #423 from sergey-davydov/donotformateventdata
Add condition to log only if fine level is loggable
2017-07-14 11:25:20 +09:00
nkzawa
7279919ef9 enable to implement custom parser 2017-07-14 11:24:43 +09:00
Naoyuki Kanezawa
9d24cd00c7 Merge pull request #438 from shobhitpuri/patch-1
Updated README.md
2017-07-14 09:36:16 +09:00
Shobhit Puri
072b585973 Updated README.md
- Updated the library to latest version in the sample code.
- Fixed a typo in the sample method call for static methods.
2017-07-13 19:10:56 -04:00
nkzawa
06068654c3 improve Socket#emit 2017-07-14 00:09:44 +09:00
nkzawa
b1935ea6b3 run tests against socket.io 2.0.3 2017-07-13 23:00:21 +09:00
nkzawa
29b0f36542 update Parser 2017-07-13 22:59:50 +09:00
nkzawa
f6bb7678b6 fix generating Id 2017-07-13 21:54:33 +09:00
nkzawa
3f4890da14 use engine.io-client 1.0.0-SNAPSHOT 2017-07-13 21:54:08 +09:00
nkzawa
14c7877fa2 improve tests 2017-07-13 16:48:40 +09:00
nkzawa
d29b4fb4f7 update travis settings 2017-07-13 15:48:05 +09:00
nkzawa
111b9b566f [maven-release-plugin] prepare for next development iteration 2017-07-12 02:55:12 +09:00
nkzawa
dbd9553732 [maven-release-plugin] prepare release socket.io-client-0.9.0 2017-07-12 02:54:59 +09:00
nkzawa
9312e312d6 update History.md 2017-07-12 02:36:47 +09:00
nkzawa
d0b7d03717 bump version 2017-07-12 02:28:56 +09:00
nkzawa
d04874340b bump engine.io-client 2017-07-12 02:28:28 +09:00
nkzawa
b031572ddb adjust test timeout 2017-07-12 01:48:40 +09:00
nkzawa
4a05786563 bump jsonassert 2017-07-12 01:43:54 +09:00
Naoyuki Kanezawa
f3e3c7446c Merge pull request #436 from socketio/fix/socket.io-client-1.7.4
make compatible with socket.io-client 1.7.4 (node client)
2017-07-12 01:36:18 +09:00
nkzawa
4811368854 send query on connecti 2017-07-12 01:09:11 +09:00
nkzawa
2925cdb4e3 bump socket.io version on test 2017-07-11 22:03:56 +09:00
nkzawa
302827ae99 update README 2017-07-11 21:57:01 +09:00
nkzawa
9d6947a015 bump engine.io-client 2017-07-11 21:54:48 +09:00
Sergey Davydov
229a820bf5 Add condition to log only if fine level is loggable
Even if FINE level is not loggable String.format() works every time and
tries to format string with all the events. Sometimes it causes
OutOfMemory exceptions.
2017-05-28 13:01:18 +03:00
nkzawa
8f8c138a61 [maven-release-plugin] prepare for next development iteration 2016-12-12 18:09:46 +09:00