Commit graph

212 commits

Author SHA1 Message Date
Nikolay Kim
9b02ab9ffd Prepare release 2022-01-17 01:07:08 +06:00
Nikolay Kim
429073f9ff Add Io::take() helper method 2022-01-16 12:06:06 +06:00
Nikolay Kim
a563aca46b Update tests 2022-01-12 22:22:45 +06:00
Nikolay Kim
1df005f53f Refactor Filter trait, fix read buffer processing 2022-01-12 22:07:10 +06:00
Nikolay Kim
eac1f068fb Add optional simd utf8 validation 2022-01-09 19:43:49 +06:00
Nikolay Kim
b41c668ed2 Remove unneeded boxed types 2022-01-09 18:46:40 +06:00
Nikolay Kim
f975b4fd10 update changes 2022-01-03 22:10:51 +06:00
Nikolay Kim
bf808d4d18
Move util services to ntex-util (#89)
* move util services to ntex-util

* update versions
2022-01-03 21:59:35 +06:00
Nikolay Kim
847f2738dd
Refactor async runtimes support (#88)
* refactor async runtimes support
2022-01-03 21:24:49 +06:00
Nikolay Kim
44b00682e0 Unregister keep-alive timer after request is received 2022-01-02 02:49:55 +06:00
Nikolay Kim
2cc1c0e3d1 Unify keep-alive timers 2021-12-30 18:18:33 +06:00
Nikolay Kim
ca72be32e9 Add Io::poll_status_update() method to use instead of register_dispatcher() 2021-12-30 16:42:43 +06:00
Nikolay Kim
f91c50854e update cookie to 0.16 2021-12-30 02:35:08 +06:00
Nikolay Kim
a2623cdc29 IoRef::close() method initiates io stream shutdown 2021-12-29 23:30:33 +06:00
Nikolay Kim
dc17d00ed9 Cleanup Filter trait, removed closed,want_read,want_shutdown methods 2021-12-29 15:10:24 +06:00
Nikolay Kim
c5d43eb12d tune error handling 2021-12-29 09:42:36 +06:00
Nikolay Kim
59eedcc51c Cleanup internal flags on io error 2021-12-29 01:55:09 +06:00
Nikolay Kim
7a54d61376 default spawn 2021-12-29 00:25:27 +06:00
Nikolay Kim
56ed50c6e8
Initial impl for async-std support (#87)
* initial impl for async-std support
2021-12-28 23:58:01 +06:00
Nikolay Kim
d23bb69fff improve tokio streams support 2021-12-28 11:39:05 +06:00
Nikolay Kim
deaa2656ff fix write for openssl filter 2021-12-28 11:16:23 +06:00
Nikolay Kim
89f758f8c4 Fix error handing for nested filters 2021-12-28 00:08:35 +06:00
Nikolay Kim
aca40ad6ff Do not swallow decoded read bytes in case of filter error 2021-12-27 18:28:50 +06:00
Nikolay Kim
54bdbde40f use IoBoxed for Framed 2021-12-27 00:34:27 +06:00
Nikolay Kim
a598b741c7 Rename RecvError::StopDispatcher to RecvError::Stop 2021-12-26 23:23:57 +06:00
Nikolay Kim
19c6a2b731 Release write buf after error 2021-12-26 19:25:46 +06:00
Nikolay Kim
c801a9ea57 Add Framed type 2021-12-26 19:25:46 +06:00
Nikolay Kim
7e3a4c2d00 Better error information for .poll_recv() method 2021-12-26 19:25:40 +06:00
Nikolay Kim
079a1c9cbf Fix read filters ordering 2021-12-26 19:25:07 +06:00
Nikolay Kim
531bafbae2 prep release 2021-12-26 19:25:06 +06:00
Nikolay Kim
093ddadfab Make IoBoxed into spearate type 2021-12-26 19:25:06 +06:00
Nikolay Kim
b459a76df3 remove deprecated code 2021-12-26 19:25:06 +06:00
Nikolay Kim
cc55a4bbd3 update tests 2021-12-24 04:30:17 +06:00
Nikolay Kim
f0f899a36e update ServiceFactory api 2021-12-24 03:53:39 +06:00
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