- 24 Dec, 2018 4 commits
-
-
- 20 Dec, 2018 1 commit
-
-
Peter Saxton authored
-
- 30 Nov, 2018 2 commits
-
-
Alan Somers authored
Prefer pass-by-value over pass-by-reference, but only for private functions. Suppress the warning generally, because it's triggered by public functions that can't be changed backwards-compatibly.
-
Toby Lawrence authored
Signed-off-by:
Toby Lawrence <toby@nuclearfurnace.com>
-
- 29 Nov, 2018 1 commit
-
-
Stjepan Glavina authored
-
- 28 Nov, 2018 2 commits
-
-
Povilas Balciunas authored
In real world we will register TcpListener for readable events. Let's make example reflect that as well.
-
Povilas Balciunas authored
* Integrate lazycell 1.2.0 into the project ...rather than getting it from the crates.io. The problem is that latest lazycell doesn't work with rust 1.18.0 anymore that mio supports. This commit only adds the origincal lazycell.rs without any modifications. I want commits to show the changes I made to the lazycell.rs 1.2.0. * Fix lazycell to work with rust 1.18.0 * Removed example, which wouldn't compile, because lazycell wasn't detected. * Simply use std instead of libcore. * Removed associated constant, which is still an experimental feature in rust 1.18.0. * Fix android builds * Delete doc examples for deprecated code
-
- 05 Sep, 2018 3 commits
-
-
Carl Lerche authored
-
Carl Lerche authored
When a registration is signalled from a side thread and the main thread is blocke in `poll`, a pipe is used to interrupt the blocked `poll` call. However, this pipe write is expensive and should only be made when `poll` is blocked. To avoid spurrious calls, the readiness queue tracks a `sleep_token`. When a node is scheduled, it checks if the `sleep_token` is present. If it is, it writes to the pipe to wake up the main thread. Currently, the `sleep_token` isn't cleared when the blocking call to `poll` wakes up naturally. This results in the next registration signal to write to the pipe even though the main thread is not blocked. This patch clears the `sleep_token` when the blocking call returns. Fixes #785
-
Roman authored
-
- 21 Aug, 2018 3 commits
-
-
Eliza Weisman authored
The timer module has been deprecated since 0.6.5, and its tests sometimes fail spuriously. This branch removes them. Signed-off-by:
Eliza Weisman <eliza@buoyant.io>
-
Carl Lerche authored
This also disables error on warning unless testing.
-
Eliza Weisman authored
Signed-off-by:
Eliza Weisman <eliza@buoyant.io>
-
- 20 Aug, 2018 1 commit
-
-
Eliza Weisman authored
The iOS simulator has stopped running on Travis. Closes #863, #864.
-
- 05 Jul, 2018 1 commit
-
-
Igor Gnatenko authored
Signed-off-by:
Igor Gnatenko <i.gnatenko.brain@gmail.com>
-
- 03 Jul, 2018 2 commits
-
-
Carl Lerche authored
-
Thibaut Lorrain authored
socketlen_t is defined as an u32 in libc 0.2.42, this conditionnal compilation is not needed anymore and creates a compilation error. Closes #851, #852
-
- 22 Jun, 2018 2 commits
-
-
Carl Lerche authored
* Fix unused clone lint warning * Disable aarch64-linux-android until net2 is fixed.
-
Alan Somers authored
It uses BuildBot now. Fixes #738
-
- 25 Apr, 2018 4 commits
-
-
Félix Saparelli authored
-
Carl Lerche authored
-
David Hotham authored
winapi versions earlier than 0.2.6 don't successfully compile Discovered via `cargo update -Z minimal-versions`
-
bgermann authored
This adds the travis build support as requested in #807.
-
- 04 Apr, 2018 1 commit
-
-
Alan Somers authored
All of these issues could theoretically affect any operating system, especially the duplicate port assignment. * Fix a port mismatch in TcpStream doc test * Fix a duplicate port assignment in another tcp doc test * Better debuggabilty in test_close_on_drop * Don't fail connect_error if connect(2) fails synchronously
-
- 08 Mar, 2018 4 commits
-
-
Carl Lerche authored
-
Carlos Neira authored
-
Alexandre Cavalcante authored
-
Brian Smith authored
No `TimerError` will ever be constructed but these types are part of the public API so they have to be preserved in a minimal form. Signed-off-by:
Brian Smith <brian@briansmith.org> Signed-off-by:
Igor Gnatenko <i.gnatenko.brain@gmail.com>
-
- 07 Mar, 2018 1 commit
-
-
Carl Lerche authored
This patch provides a new constructor for `Ready` that returns a value representing readiness for all operations. This is useful for registering interest on all operations or for using the value as a mask. This patch also provides `usize` conversions for `Ready`. This allows storing and loading a `Ready` value in an `AtomicUsize`.
-
- 26 Feb, 2018 2 commits
-
-
Alex Sayers authored
Closes #811
-
Sean McArthur authored
-
- 12 Feb, 2018 1 commit
-
-
Khaled Karam authored
-
- 06 Feb, 2018 1 commit
-
-
Carl Lerche authored
-
- 05 Feb, 2018 1 commit
-
-
Alan Somers authored
In a shared-IP FreeBSD jail, "127.0.0.1" is just an alias for the jail's IP, causing the net::udp::UdpSocket::local_addr test to fail. Disable that test on FreeBSD.
-
- 30 Jan, 2018 2 commits
-
-
Carl Lerche authored
The current API for converting a std TcpListener to a mio TcpListener requires passing in a SocketAddr. This is because Windows requires the address family when initialzing the listener. However, the TcpListener already knows its socket address at this point, so it should not be a required argument.
-
Ansley Peduru authored
-
- 26 Jan, 2018 1 commit
-
-
Michael Neumann authored
There is no EVFILT_LIO on DragonFly. Commit 00d85730 failed to compile on DragonFly. There seems to be no (official) LIO support, at least it is not mentioned anywhere in manpages etc. With this commit, mio can be build again on DragonFly and all tests pass.
-