Commit graph

115 commits

Author SHA1 Message Date
Nikolay Kim
8bbbfde22d cleanup Filter trait 2021-12-22 13:50:14 +06:00
Nikolay Kim
38258c5019 add Receiver::poll_recv() method 2021-12-21 17:11:10 +06:00
Nikolay Kim
d1071a1f18 update tls filters 2021-12-19 10:55:42 +06:00
Nikolay Kim
d7083c15d8 add ntex-io changes 2021-12-18 20:40:33 +06:00
Nikolay Kim
4d5395c89a deps 2021-12-18 20:28:44 +06:00
Nikolay Kim
6698c829fb move mpsc to ntex-util 2021-12-18 20:25:56 +06:00
Nikolay Kim
087078da51 allow to replace signals impl 2021-12-18 18:11:53 +06:00
Nikolay Kim
aa5f6e4b55
Replace mio with polling for accept loop (#71)
* replace mio with poller for accept loop
2021-12-18 00:49:27 +06:00
Nikolay Kim
6bc654762d cleanup api; update tests 2021-12-17 09:52:00 +06:00
Nikolay Kim
841ad736d4
Refactor framed io (#67)
* refactor framed io

* allow to add filters

* move io code to separate module

* add into_boxed()

* remove uneeded IO_STOP state

* simplify on_disconnect storage

* cleanup io state

* add io connector
2021-12-13 17:19:43 +06:00
Nikolay Kim
2188d92725
Refactor ntex::time (#68)
* move time to util crate

* update changes
2021-12-10 18:20:16 +06:00
Nikolay Kim
42b8292ecd
Refactor bytes impl (#64)
* remove mut api for Bytes

* refactor Vec layout

* track allocations in memory pools

* integrate memory pools to framed

* add pool async readiness polling

* optimize readiness check

* use memory pool in framed dispatcher
2021-12-02 21:09:10 +06:00
Nikolay Kim
3bcd870565 better names for util functions 2021-04-11 11:57:57 +06:00
Nikolay Kim
7b0a74fc61 update tests 2021-04-04 01:24:44 +06:00
Nikolay Kim
91ee6762e7 move low level utils to separate crate 2021-04-04 01:20:18 +06:00