Commit graph

78 commits

Author SHA1 Message Date
Nikolay Kim
ed9a545cbd migrate ntex-io 2021-12-24 01:18:56 +06:00
Nikolay Kim
329ad46377 Introduce Sealed type instead of Box<dyn Filter> 2021-12-23 15:51:35 +06:00
Nikolay Kim
85a9485bac prep release 2021-12-22 18:22:08 +06:00
Nikolay Kim
211eb00715 get read buf from inner filter for ssl filters 2021-12-22 17:52:16 +06:00
Nikolay Kim
95b7290e36 cleanup h1 dispatcher 2021-12-22 15:48:59 +06:00
Nikolay Kim
73c5a5faac cleanups RD_PAUSED state 2021-12-22 15:43:29 +06:00
Nikolay Kim
8bbbfde22d cleanup Filter trait 2021-12-22 13:50:14 +06:00
Nikolay Kim
fd97208a01 change recv/poll_recv api 2021-12-22 02:13:02 +06:00
Nikolay Kim
0b98468c1a update default generic type for ssl filters 2021-12-21 21:52:22 +06:00
Nikolay Kim
52d6c6580e add async .read_ready() method 2021-12-21 20:20:49 +06:00
Nikolay Kim
6c68a59e99 refactor io api and backpressure api 2021-12-21 14:22:57 +06:00
Nikolay Kim
8f4eb4e6bb rename write_ready to flush 2021-12-21 01:42:29 +06:00
Nikolay Kim
72d14dfbcc rename DefaultFilter to Base 2021-12-20 20:39:20 +06:00
Nikolay Kim
ed57a964b6 cleanup ntex-io api 2021-12-20 18:43:12 +06:00
Nikolay Kim
a57da1b3f3 prep release and update tests 2021-12-19 11:15:21 +06:00
Nikolay Kim
1ccb87ea51 Remove ReadFilter/WriteFilter traits 2021-12-19 10:44:12 +06:00
Nikolay Kim
1af728eb01 impl rustls acceptor; update filter trait 2021-12-19 03:22:55 +06:00
Nikolay Kim
d7083c15d8 add ntex-io changes 2021-12-18 20:40:33 +06:00
Nikolay Kim
8166fde2e0 prep ntex-io release 2021-12-18 20:31:43 +06:00
Nikolay Kim
6698c829fb move mpsc to ntex-util 2021-12-18 20:25:56 +06:00
Nikolay Kim
b8a8e98c1c allow to replace async runtime 2021-12-18 11:46:11 +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
3ed5580f86 add io query system 2021-12-17 09:52:00 +06:00
Nikolay Kim
399b238621 restore h2 impl 2021-12-17 09:52:00 +06:00
Nikolay Kim
3dbba47ab1 use ntex-io instead of framed 2021-12-17 09:51:54 +06:00
Nikolay Kim
dafd339817
Add openssl filter (#69)
* add ntex-openssl

* cleanup io api

* add filter shutdown
2021-12-14 22:38:47 +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