Commit graph

4085 commits

Author SHA1 Message Date
Nikolay Kim
2cd662ac6f buf size 2021-02-28 20:11:27 +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
Nikolay Kim
819f5b2eaf Use main and test proc macro from ntex-macros 2021-02-24 13:25:22 +06:00
Nikolay Kim
0d9be13180 Re-export various types 2021-02-24 12:56:34 +06:00
Nikolay Kim
8f016592fd bump version 2021-02-24 04:52:49 +06:00
Nikolay Kim
8bd63b07b3 Make TestServer::connect() async 2021-02-24 04:50:49 +06:00
Nikolay Kim
8b059754a6 update deps 2021-02-24 00:22:12 +06:00
Nikolay Kim
e04ae7cc86
Migrate to tokio 1.0 (#41)
* migrate to tokio 1.x

* update tests
2021-02-24 00:12:44 +06:00
Nikolay Kim
ddd973b808 framed state tests 2021-02-22 18:33:47 +06:00
Nikolay Kim
10ddcb0d59 fix WBackPressureEnabled/Disabled handling 2021-02-22 17:08:23 +06:00
Nikolay Kim
92dacafe06 refactor framed dispatcher write back-pressure support 2021-02-22 16:51:38 +06:00
Nikolay Kim
e4483569b8 Fix http date header update task 2021-02-22 14:52:03 +06:00
Nikolay Kim
d97f328b64 prep release 2021-02-21 16:33:40 +06:00
Nikolay Kim
0604045d03 allow to access to inner type of Connect 2021-02-20 15:33:31 +06:00
Nikolay Kim
c8a229422f prep release 2021-02-20 13:14:13 +06:00
Nikolay Kim
e46cc3292a cleanups 2021-02-20 12:48:20 +06:00
Nikolay Kim
530ef33a5c refactor http Message and ResponseHead 2021-02-20 12:24:56 +06:00
Nikolay Kim
6709090fab Do not leak request/response pools 2021-02-20 11:59:49 +06:00
Nikolay Kim
b8c05e2409 Drop Either service 2021-02-20 11:22:16 +06:00
Nikolay Kim
fb061ddb88 Rename ServerBulder::system_exit to stop_runtime 2021-02-20 11:22:10 +06:00
Nikolay Kim
a1296fc059 cleanup framed write task 2021-02-20 10:40:14 +06:00
Nikolay Kim
40b0d5e4ab remove unneeded unsafe blocks 2021-02-20 10:39:29 +06:00
Nikolay Kim
4225e093cc remove some unsafe blocks 2021-02-19 03:23:42 +06:00
Nikolay Kim
f2c51a0fa1 clippy warnings 2021-02-18 19:26:03 +06:00
Nikolay Kim
96ca5c3542 Fix KeepAlive::Os support for h1 dispatcher 2021-02-18 18:59:55 +06:00
Nikolay Kim
ff33374810 Handle EINTR in server accept loop 2021-02-18 17:59:20 +06:00
Nikolay Kim
aefa224542 Fix double registation for accept back-pressure 2021-02-18 17:54:41 +06:00
Nikolay Kim
00df8452f3 fix wake write method dsp_restart_write_task 2021-02-02 13:22:31 +06:00
Nikolay Kim
5f7b2b0eae fmt 2021-01-28 13:45:35 +06:00
Nikolay Kim
93fe2a7207 prep release 2021-01-28 13:09:56 +06:00
Nikolay Kim
4f3570a2e5 cleanup state flags 2021-01-27 22:45:52 +06:00
Nikolay Kim
7eaebd4871 prevent uneeded wakeups 2021-01-27 21:26:08 +06:00
Nikolay Kim
a6cc3e3721 Allow to wake up write io task 2021-01-26 22:38:39 +06:00
Nikolay Kim
5ce0700f4a remove logging from tests 2021-01-25 18:58:02 +06:00
Nikolay Kim
46dafe4311 remove pin 2021-01-25 18:28:31 +06:00
Nikolay Kim
814f089b26 prep release 2021-01-25 18:01:37 +06:00
Nikolay Kim
b4ccf776dd Replace actix-threadpool with tokio utils 2021-01-25 17:52:27 +06:00
Nikolay Kim
26543a4247
Refactor write back-pressure (#39)
* refactor error handling

* refactor write back-pressure
2021-01-25 17:29:44 +06:00
Nikolay Kim
f0fe2bbc59 http: Pass io stream to upgrade handler 2021-01-24 22:23:19 +06:00
Nikolay Kim
c47ec4ae25 accept shared ref in some methods of framed::State type 2021-01-24 00:02:36 +06:00
Nikolay Kim
45eeba274a prep release 2021-01-23 19:47:48 +06:00