github.com/tokio-rs/tokio-core
I/O primitives and event loop for async I/O in Rust
https://github.com/tokio-rs/tokio-core
3dd4178bb5c2bbc9e4043a068c548f0e74dcdb43 authored over 8 years ago
000e9b5ab95a1cf58bac7f65f4917053d4562979 authored over 8 years ago
50f007a49be726b55e5857bd854a4c22d912ab6d authored over 8 years ago
`Encode`/`Decode` -> `Codec` in docs
7b7b3a817b4c9a4f08cd0601b55e990dc3da0638 authored over 8 years ago24d941d67622d13e36a90cf7aee8de5df87f288e authored over 8 years ago
b9f7808f6e56aef94e7f19fb0c16871c4aeb6232 authored over 8 years ago
Add From<Vec<u8>> and Clone impls to EasyBuf
0588204048f7562b9f31dc4bd5afba19bd5c7f69 authored over 8 years ago46d68f739aceec86d0ac0c540dbe11e42f4df81b authored over 8 years ago
9bb1366f3392a352c7e422bf87391b5dd7fa34d2 authored over 8 years ago
ef89def8081547808a52ba8e5382dded07c11bb7 authored over 8 years ago
edf6a57450fce6a147b483ec2a8ba94c2f59de7a authored over 8 years ago
Implement `TcpListener::accept()`
68a8f26b405e3260b5721cf04d8440bbffa3259b authored over 8 years agoinitialize slabs with capacity of one
e0990e8a5aabef4e42f0ca07200e584c1eb29e79 authored over 8 years ago1864ecc46f87b2daef023443a6987b1b9553a62e authored over 8 years ago
7abe6db0ae13219a15aa5d62174552945f9e9269 authored over 8 years ago
Instead hold a pending Future of the next `TcpStream`.
936727fa528c527f48baeabb4d6b2d0195d274b3 authored over 8 years ago38df0d7f0ff072ba5ed676a34eaf8f6546f3e236 authored over 8 years ago
f036691681ae7868fc60480f99b9f2b62f1a63eb authored over 8 years ago
Using Linux's `epoll(7)` interface, a `EPOLLHUP` condition is
signalled for the reading end of a...
Note that this brings in a lot of machinery just for the sake of
wrapping file descriptors as Po...
3b38e518cab98fc7d1aa2e55b5df91df1d22c713 authored over 8 years ago
7f96b7e9e4859832e848edac658ff42ca73b7ad7 authored over 8 years ago
b89150c4642b066a0155b6f5c9251e8be64b5059 authored over 8 years ago
e970e9a79c5121ea21e74a58b51a4541ca59919c authored over 8 years ago
1a48b79474402435f371c31f3121f9ec6cd9aab7 authored over 8 years ago
* Move to `std::net` as it's all purely UDP related
* Rename to `UdpCodec` and `UdpFramed` to gi...
0d10b0e05a920f9d8b5d05d8c078419dabad9464 authored over 8 years ago
56c2c31bcf545f5715429b6aa6924bde76f06c4d authored over 8 years ago
1a6753df1ffb84fb76d51446ba22394765b07477 authored over 8 years ago
2cb600bd19fb655c69ded7ac3cb2e86172c6285b authored over 8 years ago
Remove `Framed::split` because it's now in futures crate
b2ac1d8f931e36ee142a8ab2bb1af92547b9611a authored over 8 years agob12d32ce1cfc361255e3b938ed660a3e3d437f6d authored over 8 years ago
e27abd38418089e54aa0fd55ad1f5be8fee26826 authored over 8 years ago
dcf994d517a43d5cd9d34433b8aaf578717d25a3 authored over 8 years ago
ab3915d47d607a3e3585b8270d8ecb69d7a4249e authored over 8 years ago
161811de8b59b66f156599807c779c89ba261817 authored over 8 years ago
71d8672aab2b6c4712942783920e01db578eac9c authored over 8 years ago
4994f762a9f62e68a5e616d1e56387ac54a2b01b authored over 8 years ago
1305f105cbc065d9e881b18833658c1a11fbea03 authored over 8 years ago
592a99bca4e760d00057fc3927c3c6f164e353e2 authored over 8 years ago
The `futures::sync::mpsc` module should entirely supplant it.
0f49a69a06a8ed0595ed3b272720cfc03df71df2 authored over 8 years agoGrammar in README.md
bd86bab42da9724238cfeb65c4502f9bf73acf4e authored over 8 years agobc16ad039d32fc53498d9bcb7d4700fa51f89445 authored over 8 years ago
Clean up Sink implementation on Framed
1bc389901655576b6287ae59b987dae074a40525 authored over 8 years agoThis commit makes a few changes to the Sink implementation on Framed:
* Backpressure is impleme...
46dd38b7d766995e983b395dceca74a7f746ce6a authored over 8 years agoReintroduce "decoder" and "encoder" for Decode and Encode, merging them into Codec
89a9ab6d3498357dedd1db25124dcb9b6531a074 authored over 8 years agotraits into `Codec`
A previous commit refactored such that `Encode` and `Decode` are
implemented...
Remove references to EasyFramed and easy module.
21851dd25c9e2ccaa2d7d7bcde945b9eda05e359 authored over 8 years ago06a4c5e2d5cb5e9439dbbf416bd91c47bd9eefee authored over 8 years ago
f6241b63304319559cb992055b0a9b6791794c80 authored over 8 years ago
092574b7deb930f222a0531e4cabc0a990d4256c authored over 8 years ago
6e7410567c71f0d34d1e16d7c9cd9b555da371b7 authored over 8 years ago
3d69a8b7d0d653457096e9b95a6138ff5691386c authored over 8 years ago
bbea632e043ce2a45cf26fb4c9e2c26bb2e63a4c authored over 8 years ago
6b888ea20f3cabaf572938d904b2abe3144afa38 authored over 8 years ago
7ae124077e840bdb1d585ab4c5c7088fe010773c authored over 8 years ago
17faf329e0959e87439656fbac6e3b3d7d292324 authored over 8 years ago
91347f44a58817be439b66ddd66feaf0bf09132b authored over 8 years ago
Correct client invocation example
da3544f468b6133fa9a9274f15cdf2d9082e9d01 authored over 8 years agobe7992e639736ff9d6d59d0e27ed1c40e71e026c authored over 8 years ago
71baa4967ddd40e2b0a43aaa81f2c8fc3ac93063 authored over 8 years ago
307ba7a8679023180f10f0d951fcf25edcd1ac95 authored over 8 years ago
Warmup round before actually performing the test seems to eliminate
variance.
45fc13071c95064b5d9bdf29f080758355c7da48 authored over 8 years ago
Refactor framing to use Streams and Sinks
c459b9835c051e1c917d660ee2e1f2f1737cf823 authored over 8 years ago
- Gets rid of `easy` module, instead providing framing support directly
in the `io` module.
-...
36e3dbf41850ee5e790a3dbbe82f855669669848 authored over 8 years agoDepend directly on git version of futures-rs
3eac142e5f79da80d7027c622749c74fb3a41d47 authored over 8 years ago
Cargo replace directives are not meant for libraries, since they are not
transitively inherited ...
Polish tokio-core in prep for overall 0.1 release
60796f40fdd3ea4e06f8d2f44a91ce3ec1208f93 authored over 8 years agofce913c04da4ba159adaea68870192ededa3fba6 authored over 8 years ago
4744a2e48be1874d3cf03ff0ace27fcdf0ace8a2 authored over 8 years ago
Fix some typos.
6dc8333fb21b8385da5a992a1c22819d10844735 authored over 8 years agof96d37ccf321c4e7166eef66e7d6fa7b1205cb29 authored over 8 years ago
Simply echo example: split() can now happen on the main task.
79136ca21121fe640c27283d661f5cb2f9e930e1 authored over 8 years ago556143b7c6e6631ee34625f5361f595e2fe0733f authored over 8 years ago
614887b8c15943b4afae494af83a815058f128a3 authored over 8 years ago
To be moved into separate repo.
8e7ed8ae21e448c664d42b48091472d86bbbc2c7 authored over 8 years ago
Typically this happens automatically as the `E` in `PollEvented<E>` is an owned
reference (e.g. ...
4615c3ea788e409df1923b75699afb1a518f5702 authored over 8 years ago
237bcead7a923e048e4cc27e04d68dc60af69fb0 authored over 8 years ago
This commit makes a few tweaks to the new `easy` module:
- Rename `Parse` to `Decode`, and `Ser...
503f4a040540f1b8c9d3360e14ab3f62cc80e1ea authored almost 9 years ago623ce443d89cd9ffa2c1adae8d2eb75538802d01 authored almost 9 years ago
Add methods to extract inner from EasyFramed
88fb0b32af645fce8744aac55bd115361f16a67e authored almost 9 years agoFix typo in TcpStream and UdpSocket documentation
bb22ef5f82f080c17c86af743126d508daabec0f authored almost 9 years agoc9554fa1746b5ca54952570123f1d2f44917a8f9 authored almost 9 years ago
a1dfa14034a3e0c9103d00cde667ab1de3d26c1f authored almost 9 years ago
Fix typo and awkward sentences.
37a2bed4cfbe49e8e783291dcfd974b28ce95ab9 authored almost 9 years ago4a07828095c8de9f39a0880634d28d2482a708f9 authored almost 9 years ago
Allow start and end of window to match length of underlying slice.
cefdb0c321e7600e9d532759dec40cf0294c2868 authored almost 9 years ago4719fbdb28d8f20c44aed7a6ceab61997961f01f authored almost 9 years ago
6d6c2aa390a54b3f201f2f00177b8a99d4f8c2a1 authored almost 9 years ago
Move Framed from tokio-proto to core
2c5e4ebba881ad8ce25fb6abb924cf4cbe299832 authored almost 9 years ago
This commit extracts the concrete implementation of `FrameIo` in tokio-proto to
tokio-core under...
rename Read to ReadOnce and expose it
3ced812993787bc240f66e18d56b49c951acb38e authored almost 9 years ago67895279523686c78faa47b38b2ab349d62bcc52 authored almost 9 years ago
fix(examples): Fix typos in chat example
eecf3d129cf0e31ad9af38a001d9cbd9eddf29ee authored almost 9 years ago
Rephrase a sentence to not contain the word `join` when we are actually using
`select` to preven...
bc2f857236952ba055aa098c1420b1eb53efeaa2 authored almost 9 years ago
688b67c8d86828c34083d15d5df3b89d14f62261 authored almost 9 years ago
227f454c522a3a30acc07f3198bfbf3725f853b3 authored almost 9 years ago