Nikolay Kim
5d9a653f70
Refactor web websockets support ( #97 )
...
* Refactor ws handling
2022-01-23 19:56:56 +06:00
Nikolay Kim
14a1cd0b12
Add time::query_system_time(), it does not use async runtime
2022-01-17 21:27:49 +06:00
Nikolay Kim
fcf7022059
Add Pool::shrink_to_fit() method
2022-01-12 22:06:03 +06:00
Nikolay Kim
cb25c8d0b9
Add poll_recv/recv helper methods
2022-01-09 18:56:03 +06:00
Nikolay Kim
9cb52bd37b
Add time::timeout_checked, if duration is zero then timeout is disabled
2022-01-04 18:40:38 +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
8b3a1bc474
Fix borrow error when timer get dropped immidietly after start
2021-12-27 23:14:52 +06:00
Nikolay Kim
38258c5019
add Receiver::poll_recv() method
2021-12-21 17:11:10 +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
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
91ee6762e7
move low level utils to separate crate
2021-04-04 01:20:18 +06:00