Nikolay Kim
b80ee71785
use new new service api
2019-02-22 14:21:35 -08:00
Nikolay Kim
d180b2a1e3
update tests
2019-02-18 18:46:30 -08:00
Nikolay Kim
118606262b
refactor payload handling
2019-02-13 13:52:11 -08:00
Nikolay Kim
a7a2d4cf5c
fix warns
2019-02-07 19:53:48 -08:00
Nikolay Kim
cd83553db7
simplify payload api; add missing http error helper functions
2019-02-07 11:37:33 -08:00
Nikolay Kim
55a29d3778
add h2 server support
2019-02-06 11:44:15 -08:00
Nikolay Kim
c3d3e8b465
move TestServer to separate crate
2019-01-27 11:07:48 -08:00
Nikolay Kim
aaae368ed9
use new actix crates
2018-12-10 18:08:33 -08:00
Nikolay Kim
e9121025b7
convert to 2018 edition
2018-12-06 14:32:52 -08:00
Nikolay Kim
1a322966ff
handle response errors
2018-11-21 07:49:24 -08:00
Nikolay Kim
ab3e12f2b4
set server response version
2018-11-20 11:23:05 -08:00
Nikolay Kim
186d3d727a
add kee-alive tests
2018-11-20 10:55:50 -08:00
Nikolay Kim
3901239128
unify requedt/response encoder
2018-11-19 14:57:12 -08:00
Nikolay Kim
1ca6b44bae
add TestServer
2018-11-18 21:48:20 -08:00
Nikolay Kim
adad203314
refactor encoder/decoder impl
2018-11-18 17:52:56 -08:00
Nikolay Kim
8fea1367c7
re-introduce Body type, use Body as default body type for Response
2018-11-18 13:48:42 -08:00
Nikolay Kim
d39c018c93
do not handle upgrade and connect requests
2018-10-13 23:57:31 -07:00
Nikolay Kim
2b4870e65b
fix tests on stable
2018-10-08 16:10:07 -07:00
Nikolay Kim
3984ad45df
separate ResponseLength::Zero is not needed
2018-10-08 15:33:38 -07:00
Nikolay Kim
805e7a4cd0
impl response body support
2018-10-08 15:24:51 -07:00
Nikolay Kim
13193a0721
refactor http/1 dispatcher
2018-10-07 09:59:40 -07:00
Nikolay Kim
9c4a55c95c
simplify H1Service configuration
2018-10-07 08:28:38 -07:00
Nikolay Kim
dda5b399ca
add content-length test
2018-10-06 21:32:01 -07:00
Nikolay Kim
87b83a3403
update tests, remove unused deps
2018-10-06 21:07:32 -07:00
Nikolay Kim
6aa2de7b8d
remove actix-web artifacts
2018-10-04 17:00:27 -07:00
Nikolay Kim
2710f70e39
add H1 transport
2018-10-02 17:30:29 -07:00
Nikolay Kim
ae5c4dfb78
refactor http channels list; rename WorkerSettings
2018-10-02 15:25:32 -07:00
Nikolay Kim
d7379bd10b
update server ssl tests; upgrade rustls
2018-10-02 13:41:33 -07:00
Nikolay Kim
b59712c439
add ssl handshake timeout tests
2018-10-02 11:32:43 -07:00
Nikolay Kim
724668910b
fix ssh handshake timeout
2018-10-02 11:18:59 -07:00
Nikolay Kim
61c7534e03
fix stream flushing
2018-10-02 10:43:23 -07:00
Nikolay Kim
f3ce6574e4
fix client timer and add slow request tests
2018-10-02 00:19:28 -07:00
Nikolay Kim
368f73513a
set tcp-keepalive for test as well
2018-10-01 22:25:53 -07:00
Nikolay Kim
c674ea9126
add StreamConfiguration service
2018-10-01 22:23:02 -07:00
Nikolay Kim
16945a554a
add client shutdown timeout
2018-10-01 20:04:16 -07:00
Nikolay Kim
c1e0b4f322
expose internal http server types and allow to create custom http pipelines
2018-10-01 14:43:06 -07:00
Nikolay Kim
9f1417af30
refactor http service builder
2018-09-27 18:33:29 -07:00
Nikolay Kim
a63d3f9a7a
cleanup ServerFactory trait
2018-09-27 18:33:29 -07:00
Nikolay Kim
6a61138bf8
enable ssl feature
2018-09-27 18:33:29 -07:00
Douman
0dc96658f2
Send response to inform client of error ( #515 )
2018-09-21 07:24:10 +03:00
Nikolay Kim
968c81e267
Handling scoped paths without leading slashes #460
2018-09-02 08:14:54 -07:00
Robert Gabriel Jakabosky
0425e2776f
Fix Issue #490 ( #498 )
...
* Add failing testcase for HTTP 404 response with no reason text.
* Include canonical reason test for HTTP error responses.
* Don't send a reason for unknown status codes.
2018-09-01 12:00:32 +03:00
Nikolay Kim
1716380f08
clippy fmt
2018-08-23 09:48:01 -07:00
Kornel Lesiński
a8405d0686
Fix tests on Unix
2018-08-17 13:13:48 +01:00
Nikolay Kim
eb1e9a785f
allow to use fn with multiple arguments with .with()/.with_async()
2018-08-16 20:29:06 -07:00
Douman
900fd5a98e
Correct settings headers for HTTP2
...
Add test to verify number of Set-Cookies
2018-08-04 18:05:41 +03:00
Jan Michael Auer
e61ef7dee4
Use zlib instead of deflate for content encoding ( #442 )
2018-08-03 14:56:26 +02:00
Nikolay Kim
e9c1889df4
test timing
2018-08-01 16:41:24 -07:00
Nikolay Kim
58230b15b9
use one thread for accept loop; refactor rust-tls support
2018-07-31 19:51:26 -07:00
Nikolay Kim
185e710dc8
do not drop content-encoding header in case of identity #363
2018-07-06 08:24:36 +06:00