Commit graph

4224 commits

Author SHA1 Message Date
Nikolay Kim
67146e790a disable tests for win 2021-04-04 10:39:30 +06:00
Nikolay Kim
33714b3455 remove deprecated methods 2021-04-04 10:15:29 +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
Nikolay Kim
8b3655457b prep release 2021-04-03 22:49:09 +06:00
Nikolay Kim
9638f2bf58 update tests 2021-04-03 17:37:00 +06:00
Nikolay Kim
284cc4caf0 make url optional; change Ready fut 2021-04-03 17:15:24 +06:00
Nikolay Kim
13b364d598 disable some nanorand features 2021-04-03 15:02:57 +06:00
Nikolay Kim
89a7a2b390 fix doc tests 2021-04-03 14:59:02 +06:00
Nikolay Kim
111e4ec717 replace trust-dns with blocking code 2021-04-03 14:45:27 +06:00
Nikolay Kim
cb9e3ffeda reduce futures crate dependencies 2021-04-03 13:25:20 +06:00
Nikolay Kim
d56309c64f add custom Ready and Lazy futures 2021-04-02 20:40:59 +06:00
Nikolay Kim
8e76c100b4 add Ready future 2021-04-02 18:38:37 +06:00
Nikolay Kim
d0677fc7a5 remove LocalBoxFuture usage 2021-04-02 16:56:29 +06:00
Nikolay Kim
30c4f2eb9e prevent double socket registration if accept loop is in back-pressure state 2021-04-02 09:43:51 +06:00
Nikolay Kim
767ddb5a99 wake up reader on h1 payload error 2021-03-26 20:11:53 +06:00
Nikolay Kim
290f863976 Add .on_shutdown() callback to fn_service 2021-03-26 20:11:07 +06:00
Nikolay Kim
91d43c0053 prep release 2021-03-26 16:20:53 +06:00
Nikolay Kim
a17fda1045 add ws sink disconnect notification 2021-03-26 16:20:17 +06:00
Nikolay Kim
772b939bb5 add socket disconnect notification 2021-03-26 16:13:23 +06:00
Nikolay Kim
c8870728b7 fix wrong api docs 2021-03-23 09:49:31 +06:00
Nikolay Kim
6c45b97a58 use service instead of fn for per request handler 2021-03-21 21:26:17 +06:00
Nikolay Kim
402cf91f8d add per request callback for http1 2021-03-18 13:47:01 +06:00
Nikolay Kim
cbdfca0758 * allow case-insensitive request matching on scope level, add method App::finish(), add .filter() method allows to register request filters 2021-03-16 16:14:24 +06:00
Nikolay Kim
aef8b800a2 use patterns for scopes prefix definitions 2021-03-16 11:40:46 +06:00
Nikolay Kim
c448c0beb0 Use IntoPattern for prefix resources 2021-03-16 10:39:12 +06:00
Nikolay Kim
5eaaca9b2f add buffer_params() api 2021-03-15 16:44:38 +06:00
Nikolay Kim
099d7d4bc9 update socket2 2021-03-15 16:10:10 +06:00
Nikolay Kim
295286d2b7 refactor framed api 2021-03-15 16:10:06 +06:00
Nikolay Kim
8b7f11c1e7 fix expect/continue support, wake up write task 2021-03-11 11:26:41 +06:00
Nikolay Kim
ed0fdce1dd fix rust 1.45 compat 2021-03-10 03:08:18 +06:00
Nikolay Kim
45f6f470eb Fix service error handling for h1 proto 2021-03-10 02:42:50 +06:00
Nikolay Kim
d32e86957f better ws client error handling 2021-03-06 20:33:10 +06:00
Nikolay Kim
23a9c75c61 Introduce WsConnection::start_default() method and added SinkService 2021-03-06 19:35:27 +06:00
Nikolay Kim
4f64577ae0 fix 1.45 compatibility 2021-03-04 21:47:59 +06:00
Nikolay Kim
fb03807642 write task could panic if receives more that 512 bytes during shutdown 2021-03-04 20:03:53 +06:00
Nikolay Kim
cbad4da5fc add high/low watermark for http/web read/write buffers 2021-03-04 17:58:39 +06:00
Nikolay Kim
36d4fff7fb add high/low watermark for framed read/write buffers 2021-03-04 17:33:08 +06:00
Nikolay Kim
18dde16165 better example 2021-03-02 23:14:53 +06:00
Nikolay Kim
6009d0f2b4 Allow to use async fn for server configuration 2021-03-02 21:57:23 +06:00
Nikolay Kim
eb2a956362 do not box openssl accept future 2021-02-28 19:20:09 +06:00
Nikolay Kim
78dd4e5fbd Set nodelay to accept/connect sockets 2021-02-28 10:06:08 +06:00
Nikolay Kim
d58c6c6311 upgrade cookie; disable some tests 2021-02-27 07:26:25 +06:00
Nikolay Kim
32bc0708cd Remove unneeded set_nonblocking() call from server accept loop 2021-02-27 06:06:35 +06:00
Nikolay Kim
8d29fac124 partial matches keep garbage in segments 2021-02-26 14:56:43 +06:00
Nikolay Kim
cfaa2cc3ca enable serde feature for bytestring 2021-02-24 16:29:22 +06:00
Nikolay Kim
d652ae92ca bump ver 2021-02-24 14:08:58 +06:00
Nikolay Kim
a707020171 fix rt_test macros 2021-02-24 14:07:58 +06:00
Nikolay Kim
055bd730d4 fix runtime macros 2021-02-24 13:58:41 +06:00
Nikolay Kim
2d8ce48456 use new time api 2021-02-24 13:48:33 +06:00