Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
14c7877fa2 improve tests 2017-07-13 16:48:40 +09:00
nkzawa
b031572ddb adjust test timeout 2017-07-12 01:48:40 +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
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
b08aa7d19f test: bump socket.io 2016-09-19 15:13:26 +02:00
nkzawa
e7cc10808c test: use TLSv1 for node 0.12 or higher 2016-06-13 22:38:15 +09:00
nkzawa
ba723d0460 add tests 2016-02-01 01:50:09 +09:00
nkzawa
48420a6c6f improve manager disconnection and cleanup 2016-02-01 01:03:49 +09:00
nkzawa
1fd635bb47 bump socket.io for tests 2016-02-01 00:53:24 +09:00
nkzawa
0d4d455704 add ping and pong events 2016-02-01 00:48:57 +09:00
nkzawa
599eb98c6e fix disconnection while in opening state 2016-01-31 23:55:53 +09:00
nkzawa
f7810c19d3 create a new connection when path is the same 2016-01-31 17:33:28 +09:00
nkzawa
4aed6c68af don't create json array twice 2016-01-30 00:02:06 +09:00
Ciro S. Costa
f0832ffc61 Fixes event type when emitting binary_ack
When submitting binary data in an Ack to the server the packet's type
was not the expected (should be 6 - binary_ack - and not 3 - ack).

This commit introduces tests as well a fix for the given problem.
2016-01-27 12:11:22 -03:00
Naoyuki Kanezawa
a3f2b8cd00 Merge pull request #259 from DevFactory/release/collection-isempty-fix-1
Code Quality Improvement - Collection.isEmpty() should be used to test for emptiness
2015-12-18 11:51:44 +09:00
Naoyuki Kanezawa
1ef3b2cae7 Merge pull request #258 from DevFactory/release/redundant-field-initializer-fix-1
Code Quality Improvement - Redundant Field Initializer
2015-12-18 11:49:36 +09:00
Naoyuki Kanezawa
669696fee4 Merge pull request #257 from DevFactory/release/constructors-should-only-call-non-overridable-methods-fix-1
Code Quality Improvement - Constructors should only call non-overridable methods
2015-12-18 11:48:36 +09:00
Naoyuki Kanezawa
57d8e5ebff Merge pull request #256 from DevFactory/release/objects-should-be-compared-with-equals()-fix-1
Code Quality Improvement - Objects should be compared with "equals()"
2015-12-18 11:44:44 +09:00
Naoyuki Kanezawa
9b33f23875 Merge pull request #255 from DevFactory/release/exception-handlers-fix-1
Code Quality Improvement - Exception handlers should preserve the original exception
2015-12-18 11:42:36 +09:00
nkzawa
8c29b2ef9c fix backoff calucuration #245 2015-12-14 11:43:44 +09:00
nkzawa
9cdf6c0bbd change lint settings and fix warnings 2015-12-13 04:00:08 +09:00
nkzawa
28f20a3032 longer timeout 2015-12-13 02:53:08 +09:00
nkzawa
bc45e15d03 suppress cast warnings 2015-12-13 02:52:55 +09:00
Christian Ivan
fff5cb3e25 Code Quality Improvement - Constructors should only call non-overridable methods
update
2015-12-06 15:56:21 +07:00
Christian Ivan
2143774a1e Code Quality Improvement - Exception handlers should preserve the original exception
Update

Update
2015-12-06 15:38:31 +07:00
Christian Ivan
eac538dfe0 Code Quality Improvement - Objects should be compared with "equals()"
Update
2015-12-02 23:11:17 +07:00
Christian Ivan
2b7a40b96a Code Quality Improvement - Redundant Field Initializer 2015-12-02 17:25:37 +07:00
Christian Ivan
d364404501 Code Quality Improvement - Collection.isEmpty() should be used to test for emptiness 2015-12-02 17:17:46 +07:00
nkzawa
34277c5d47 fix the case reconnection doesn't work 2015-10-11 12:03:58 +09:00
nkzawa
cfa2d5bf41 bump socket.io for tests 2015-10-11 01:27:51 +09:00
nkzawa
33a47da3f6 bump engine.io-client 2015-08-31 11:25:07 +09:00
nkzawa
d0039f7910 move package name 2015-08-31 03:23:03 +09:00
Naoyuki Kanezawa
6eeaf6a6e3 bump engine.io-client 2015-08-09 06:35:56 +09:00
Naoyuki Kanezawa
589a9e21a7 fix javadoc 2015-06-28 02:09:26 +09:00
Naoyuki Kanezawa
f8c723289e fix not to throw URISyntaxException 2015-06-28 02:00:54 +09:00