Nikolay Kim
8eb9eb4247
flush io on complete
2018-08-08 09:12:32 -07:00
Nikolay Kim
8e462c5944
use write instead format
2018-07-12 10:35:09 +06:00
Nikolay Kim
185e710dc8
do not drop content-encoding header in case of identity #363
2018-07-06 08:24:36 +06:00
Nikolay Kim
8058d15624
clippy warnings
2018-07-05 13:16:16 +06:00
Nikolay Kim
6fd686ef98
cleanup warnings
2018-07-04 21:01:27 +06:00
Nikolay Kim
fec6047ddc
refactor HttpRequest mutability
2018-07-02 23:35:32 +06:00
Nikolay Kim
8e8a68f90b
add empty output stream
2018-06-24 22:05:44 +06:00
Nikolay Kim
33260c7b35
split encoding module
2018-06-24 10:42:20 +06:00
Nikolay Kim
40ca9ba9c5
simplify write buffer
2018-06-24 10:30:58 +06:00
Nikolay Kim
45682c04a8
refactor content encoder
2018-06-24 08:54:01 +06:00
Nikolay Kim
756227896b
update set_date impl
2018-06-23 10:13:09 +06:00
Jef
234c60d473
Fix some unsoundness
...
This improves the sound implementation of `fn route`.
Previously this function would iterate twice but we
can reduce the overhead without using `unsafe`.
2018-06-20 10:53:18 +02:00
Nikolay Kim
a69c1e3de5
remove unsafe from scope impl
2018-06-19 23:46:58 +06:00
Nikolay Kim
261ad31b9a
remove some unsafe code
2018-06-19 07:44:01 +06:00
Nikolay Kim
a64205e502
refactor TransferEncoding; allow to use client api with threaded tokio runtime
2018-05-29 16:32:39 -07:00
Nikolay Kim
68eb2f26c9
Allow to use path without traling slashes for scope registration #241
2018-05-23 13:21:29 -07:00
Nikolay Kim
483db7028c
expose low level data
2018-05-20 20:37:19 -07:00
Nikolay Kim
45e9aaa462
rustfmt 0.7
2018-05-17 12:20:20 -07:00
Nikolay Kim
f82fa08d72
various optimizations
2018-05-15 16:49:03 -07:00
Nikolay Kim
c72d1381a6
clippy warnings
2018-04-29 09:09:08 -07:00
Nikolay Kim
de49796fd1
clippy warnings; fmt
2018-04-28 22:55:47 -07:00
Nikolay Kim
f8af3ef7f4
refactor keep-alive
2018-04-22 15:28:04 -07:00
Nikolay Kim
113f5ad1a8
add rustfmt config
2018-04-13 16:02:01 -07:00
Nikolay Kim
f5636f321b
drop deprecated code
2018-03-29 11:06:44 -07:00
Nikolay Kim
ae6c9cb7fa
re-arrange exports, some doc string updates
2018-03-29 10:44:26 -07:00
Nikolay Kim
a56e5113ee
process transfer-encoding before content-length, fix tests on 32bit platform
2018-03-24 09:22:34 -07:00
Nikolay Kim
6cd40df387
Fix server websockets big payloads support
2018-03-19 17:27:03 -07:00
Nikolay Kim
35ee5d36d8
actix 0.5.5, ws test
2018-03-19 13:12:36 -07:00
Nikolay Kim
e7ec0f9fd7
ws tests and proper write payload ref
2018-03-19 09:30:58 -07:00
Nikolay Kim
e0c8da567c
various optimizations
2018-03-18 11:05:44 -07:00
Nikolay Kim
6657446433
Allow to set read buffer capacity for server request
2018-03-12 10:01:56 -07:00
Nikolay Kim
6c709b33cc
return error on write zero bytes
2018-03-10 10:42:46 -08:00
Nikolay Kim
05f5ba0084
refactor keep-alive; fixed write to socket for upgraded connection
2018-03-09 16:21:14 -08:00
Nikolay Kim
2853086463
add write buffer capacity config
2018-03-09 10:00:15 -08:00
Nikolay Kim
a7bf635158
unify headers and body processing for client response and server request
2018-02-27 15:03:28 -08:00
Nikolay Kim
72aa2d9eae
clippy warnings
2018-02-26 14:33:56 -08:00
Nikolay Kim
ab5ed27bf1
refactor and simplify content encoding
2018-02-25 11:43:00 +03:00
Nikolay Kim
6ee14efbe2
optimize http message serialization
2018-02-19 17:21:04 -08:00
Nikolay Kim
edd114f6e4
allow to set default content encoding on application level
2018-02-18 22:23:17 -08:00
Nikolay Kim
3109f9be62
special handling for upgraded pipeline
2018-02-10 00:05:20 -08:00
Nikolay Kim
58a5d493b7
re-eanble write backpressure for h1 connections
2018-01-24 20:12:49 -08:00
Nikolay Kim
91c44a1cf1
Fix HEAD requests handling
2018-01-20 16:12:38 -08:00
Nikolay Kim
a7c24aace1
flush is useless
2018-01-14 19:28:34 -08:00
Nikolay Kim
89a89e7b18
refactor shared bytes api
2018-01-14 17:00:28 -08:00
Nikolay Kim
7060f298b4
use more binary
2018-01-14 14:40:39 -08:00
Nikolay Kim
33dbe15760
use Binary for writer trait
2018-01-14 13:50:38 -08:00
Nikolay Kim
e482b88741
refactor http protocol selection procedure
2018-01-11 21:48:36 -08:00
Nikolay Kim
ac89880c0a
move encoding to server
2018-01-11 18:41:33 -08:00
Nikolay Kim
8a058efb4e
move server protocol impl to submodule
2018-01-11 18:35:05 -08:00