Commit Graph

643 Commits

Author SHA1 Message Date
cheatfate d2667409ea Fix overflow in timers test. 2018-10-03 03:56:16 +03:00
cheatfate da1fb97c7a Added `code` for TransportOsError exception.
Fixed bug with connect on Windows.
Added test for `Connection Refused`.
Bump version to 2.1.4.
2018-10-03 03:44:39 +03:00
Eugene Kabanov 610b508a3e
Merge pull request #10 from status-im/racefix
Fix race condition, when close transport happens while writing queue …
2018-10-02 23:25:15 +03:00
cheatfate 3859aab5c6 Fix race condition, when close transport happens while writing queue is not empty. 2018-10-02 13:50:14 +03:00
cheatfate 756f85576e Fix sockaddr.sin_family type conversion.
Bump version to 2.1.2.
2018-09-26 21:05:53 +03:00
cheatfate 74054428a4 Fix `closeWait()` is not closing. 2018-09-13 21:15:57 +03:00
Jacek Sieka 2964886ee0
appveyor: fix version check 2018-09-06 11:56:11 -06:00
Jacek Sieka 00d7d49ef1
readme: update license 2018-09-05 12:45:22 -06:00
Jacek Sieka e53c8d0f4e
update readme 2018-09-04 21:36:14 -06:00
Jacek Sieka 9d2222596d
update readme 2018-09-04 21:27:01 -06:00
Jacek Sieka f4780d80e7
ci: update 2018-09-04 20:29:34 -06:00
Jacek Sieka aa895489fe
appveyor: update to use common script 2018-09-03 12:12:02 -06:00
Jacek Sieka 231d0e0241
appveyor: build with status-im/Nim 2018-09-02 21:36:21 -06:00
Jacek Sieka eba3248da7
travis: disable sudo for faster build 2018-09-02 08:12:32 -06:00
cheatfate 49e965bbf4 Disable IPv6 resolve tests. 2018-09-01 02:30:53 +03:00
Jacek Sieka 54fdd0c047
travis: avoid docker, use cache 2018-08-31 17:08:03 -06:00
cheatfate c84b8cb143 Add support of TCP_NODELAY option for TCP transport.
Bump version to 2.1.0.
2018-08-27 21:41:11 +03:00
cheatfate 530905f276 Fix #8 and related issues, added more tests for it.
Fix Unix connection failed bug.
2018-08-24 15:20:08 +03:00
cheatfate f94cedb47b Attempt to fix macos tests. 2018-08-18 00:35:36 +03:00
cheatfate 98a85c5614 Fix #7. 2018-08-18 00:25:34 +03:00
cheatfate 44565b398e Improved test for #6. 2018-08-06 22:33:52 +03:00
cheatfate 9fb0eb8f36 Fix #6.
Add tests for #6.
2018-08-06 21:13:44 +03:00
cheatfate f4f98d617c Fix #9.
Add tests for #9.
Temporary disable some tests in testaddress.nim.
2018-08-06 21:12:16 +03:00
cheatfate 7718ebe1ee Workaround for multiple `waitFor` where `await` must be used.
Bump version to 2.0.7.
2018-08-06 15:15:05 +03:00
cheatfate 293f993bed Fix 32bit windows tests. 2018-07-31 13:11:47 +03:00
cheatfate 2e1f45a472 Attempt to fix stuck test on 32bit Windows. 2018-07-31 13:01:51 +03:00
cheatfate d5b887f3d8 Add more utility procedures and tests for AsyncQueue.
Bump version to 2.0.6.
2018-07-31 12:50:22 +03:00
cheatfate 7598387279 Export fastEpochTime().
Bump version 2.0.5.
2018-07-25 21:42:08 +03:00
cheatfate bd6658d3d3 Add GC markAndSweep tests. 2018-07-25 21:15:46 +03:00
cheatfate bc6d5c9a4e Bump version to 2.0.4. 2018-07-25 19:36:44 +03:00
cheatfate 416d85dbf5 More safe version of sleepAsync(). 2018-07-25 19:36:16 +03:00
cheatfate 546cd972f6 Bump version to 2.0.3. 2018-07-25 07:06:18 +03:00
cheatfate 549bab1510 Fix `yield nil`. 2018-07-25 07:05:52 +03:00
cheatfate 216fd7b744 Fix disconnect in process handling. 2018-07-24 18:43:30 +03:00
cheatfate 40bfc25ea3 Increase timeout for VM testing. 2018-07-24 17:02:32 +03:00
cheatfate f4803c61ae Improve wait() test. 2018-07-24 16:55:51 +03:00
cheatfate 25ad1e2f32 Fix Unix compilation problems. 2018-07-24 16:26:56 +03:00
cheatfate f1cf6d36fc Fix double completion issue in reading procedures. 2018-07-24 16:23:35 +03:00
cheatfate 2ef7469d71 Fix comments. 2018-07-20 12:11:38 +03:00
cheatfate 32bbbb051c Add asynchronous specific exception AsyncError.
Add AsyncTimeoutError.
Add wait[T]() procedure and tests.
Bump version to 2.0.2.
2018-07-20 11:58:01 +03:00
cheatfate c9ab35dabc Merge branch 'master' of github.com:status-im/nim-asyncdispatch2 2018-07-13 11:25:21 +03:00
cheatfate 693783b36b add closed() procedure to check if transport is closed. 2018-07-13 11:24:52 +03:00
Zahary Karadjov 4911d25807 fix a minor issue preventing the usage of the async pragma in certain generated code 2018-07-06 04:17:08 +03:00
cheatfate aa15313aa8 Fix: Windows handle error on disconnect. 2018-07-03 08:35:45 +03:00
cheatfate 50a91cef9f Update licenses badges. 2018-06-19 02:08:55 +03:00
cheatfate 7e8ecb1dd0 Fix hidden exceptions in transports. 2018-06-18 23:57:40 +03:00
cheatfate d949710d8d Fix asyncCheck. 2018-06-15 20:05:43 +03:00
cheatfate c102deac9d Fix stream.nim write() GC functions. 2018-06-15 15:09:44 +03:00
cheatfate 0ca2cd8e5c Fix GC issues with sending, according to latest Nim changes.
Changed datagram.nim API to allow sending parts of strings and seqs.
2018-06-15 13:54:26 +03:00
cheatfate 82f7b9f77f Move all remote address storage to heap. 2018-06-15 11:55:35 +03:00