Commit Graph

620 Commits

Author SHA1 Message Date
Yin Guanhao 5c720b0112 Test TCP connect failed case 2020-05-15 12:18:39 +08:00
Yin Guanhao f267ab1152 Correctly detect TCP connection failures on Windows 2020-05-15 10:13:47 +08:00
Stjepan Glavina 661c7db6e2 Bump to v0.1.5 2020-05-14 20:32:47 +02:00
Stjepan Glavina 807456699a Fix broken doc links 2020-05-14 20:32:12 +02:00
Stjepan Glavina 2ff45ece44 Fix re-registration 2020-05-14 20:25:33 +02:00
Stjepan Glavina ee6a0bce4d rename an argument 2020-05-14 20:00:33 +02:00
Stjepan Glavina a5c89a9727
Merge pull request #110 from jadireddi/smol_96_repl_soct_with_notf
change to modify socket with notifier.
2020-05-14 10:58:18 -07:00
Jagadesh Adireddi 19a1a11583 change to modify socket with notifier. 2020-05-12 18:58:01 +05:30
Stjepan Glavina 2071f2a481
Merge pull request #106 from stjepang/blocking
Replace the blocking executor with blocking crate
2020-05-12 00:32:01 -07:00
Stjepan Glavina edc10a429b
Merge pull request #109 from polachok/timer-resolution
fix: high cpu usage for timer
2020-05-12 00:30:22 -07:00
Alexander Polakov 9ec3067ba2 fix: high cpu usage for timer 2020-05-12 00:00:23 +03:00
Stjepan Glavina 5905c76930
Merge pull request #107 from 0xflotus/patch-1
(docs): added 'l' letter to cancellation
2020-05-11 05:46:42 -07:00
0xflotus fffd3d46ac
(docs): added 'l' letter to cancellation 2020-05-11 14:42:57 +02:00
Stjepan Glavina 0916b0b2f8 Use a published version of blocking 2020-05-11 12:31:49 +02:00
Stjepan Glavina 77494aaa2d Replace the blocking executor with blocking crate 2020-05-11 12:29:43 +02:00
Stjepan Glavina bc3293203f
Merge pull request #92 from joshtriplett/use-duration
Use Duration functions rather than computing seconds/nanoseconds by hand
2020-05-08 13:31:17 -07:00
Josh Triplett 7c15dba27c Use Duration functions rather than computing seconds/nanoseconds by hand
Duration already provides functions to get the whole seconds and the
subseconds in various units, so use those directly.
2020-05-08 12:47:45 -07:00
Stjepan Glavina f340dce8ca
Merge pull request #86 from polachok/eventfd
Use eventfd for IoEvent on linux
2020-05-08 11:11:18 -07:00
Stjepan Glavina 9737bb8403
Update Cargo.toml 2020-05-08 11:10:49 -07:00
Stjepan Glavina c5c18d3dc0
Create FUNDING.yml 2020-05-08 18:26:52 +02:00
leo-lb 6dabee5326
Add CI build caching (#69)
* Add CI build caching

* Use current week number as cache-key

Inspired from: f1ab0d0603/.github/workflows/ci.yml (L20)
2020-05-08 07:23:25 +02:00
Stjepan Glavina d1d0ace184 Minor cleanup 2020-05-07 16:36:48 +02:00
Stjepan Glavina ef701a4128 Check for EINPROGRESS in UnixStream::connect 2020-05-07 16:36:10 +02:00
Stjepan Glavina 34fcc57a7f Format comments 2020-05-07 16:33:44 +02:00
Stjepan Glavina f5224470f6
Merge pull request #90 from jadireddi/Smol_60_socket_conn_err_enhance
Enhance tcp socket conn error message.
2020-05-07 07:31:26 -07:00
Jagadesh Adireddi 8a6b4b89b0 handling connection in progress check separately for both unix and windows os. 2020-05-07 14:11:33 +05:30
Jagadesh Adireddi 8671dbb4d5 Refactor libc dependency. 2020-05-07 12:35:55 +05:30
Jagadesh Adireddi f3de5b91aa Add libc to dependency. 2020-05-07 11:34:13 +05:30
Jagadesh Adireddi 1547d075de Change to enhance tcp socket conn error message. 2020-05-06 21:21:36 +05:30
Alexander Polakov d910299003 Use eventfd for IoEvent on linux 2020-05-05 01:46:53 +03:00
Alexander Polakov 24a2a107d3 Add spawn bench 2020-05-05 01:43:36 +03:00
Stjepan Glavina 11da938867
Merge pull request #85 from wolf4ood/timer-tests
Unit tests for timer.rs
2020-05-04 15:33:49 -07:00
wolf4ood b1e04c07a2 Added timer tests 2020-05-04 23:26:48 +02:00
Stjepan Glavina e48a8787f4
Update README.md 2020-05-03 18:28:19 +02:00
Stjepan Glavina f4b73c3908
Merge pull request #80 from stjepang/micros-kqueue
Use microsecond precision with kqueue
2020-05-03 08:53:43 -07:00
Stjepan Glavina b1ce21307f Use microsecond precision with kqueue 2020-05-03 17:28:09 +02:00
Stjepan Glavina 44eaae4a4a
Merge pull request #74 from wolf4ood/fix-test-async-io
Fixes Address already in use error in tests
2020-05-03 05:22:20 -07:00
wolf4ood 1f00cdb480 Fixes Address already in use error on second test run 2020-05-03 00:29:15 +02:00
Stjepan Glavina 74b8276e99
Merge pull request #70 from stjepang/explain-threaded-executors
Explain single vs multi-threaded executors
2020-05-02 12:35:13 -07:00
Stjepan Glavina 3e2d0d5c31 Reword the comment a bit 2020-05-02 21:33:27 +02:00
Stjepan Glavina c736faacd3 Elaborate on block_on 2020-05-02 20:44:56 +02:00
Stjepan Glavina 5650eec615
Merge pull request #73 from wusyong/unit-test
Unit tests for async_io.rs
2020-05-02 11:03:48 -07:00
YuWeiWu c7b0e128ca
Add unix attributes to imports 2020-05-03 00:04:47 +08:00
YuWeiWu 6164feb7f7
Move to tests directory 2020-05-02 23:47:32 +08:00
YuWeiWu d725f70c2d
Add uds tests 2020-05-02 19:08:41 +08:00
YuWeiWu d3c39fe878
Add udp unit test 2020-05-02 00:04:02 +08:00
YuWeiWu ff967922e8
Add tcp unit tests 2020-05-01 23:06:17 +08:00
Stjepan Glavina 984ed3bf1b
Merge pull request #71 from svartalf/ci-coverage-parallel
Mark grcov execution as parallel runs
2020-05-01 05:17:54 -07:00
Stjepan Glavina 67dbd0cc3b Remove unused dev-dependency 2020-05-01 14:00:19 +02:00
svartalf 83da362dc6 Mark grcov execution as parallel runs 2020-05-01 14:20:02 +03:00