1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 00:43:00 +01:00
Commit Graph

245 Commits

Author SHA1 Message Date
Nikolay Kim
d39c018c93 do not handle upgrade and connect requests 2018-10-13 23:57:31 -07:00
Nikolay Kim
47b47af01a refactor ws codec 2018-10-10 13:20:00 -07:00
Nikolay Kim
1407bf4f7f simplify h1 codec messages 2018-10-09 10:39:55 -07:00
Nikolay Kim
2b4870e65b fix tests on stable 2018-10-08 16:10:07 -07:00
Nikolay Kim
f99a723643 add Default impl for ServiceConfig 2018-10-08 15:52:12 -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
30db78c19c use TakeItem instead of TakeRequest 2018-10-08 07:55:01 -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
c0699a070e add TakeRequest service; update ws test case 2018-10-05 15:40:56 -07:00
Nikolay Kim
7e135b798b add websocket transport and test 2018-10-05 14:30:40 -07:00
Nikolay Kim
8c2244dd88 rename HttpResponse 2018-10-05 11:04:59 -07:00
Nikolay Kim
fbf67544e5 remove unused code 2018-10-05 08:03:25 -07:00
Nikolay Kim
c99f9eaa63
Update test_h1v2.rs 2018-10-05 05:59:02 -07:00
Nikolay Kim
829dbae609 cleanups and tests 2018-10-04 21:14:18 -07:00
Nikolay Kim
4ca711909b refactor types 2018-10-04 20:02:10 -07:00
Nikolay Kim
6aa2de7b8d remove actix-web artifacts 2018-10-04 17:00:27 -07:00
Nikolay Kim
13b0ee7355 stopping point 2018-10-04 16:22:00 -07:00
Nikolay Kim
b0677aa029 fix stable compatibility 2018-10-02 19:42:24 -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
7c78797d9b proper stop for test_ws_stopped test 2018-10-01 21:30:00 -07:00
Nikolay Kim
84edc57fd9 increase sleep time 2018-10-01 21:19:27 -07:00
Nikolay Kim
1bac65de4c add websocket stopped test 2018-10-01 20:15:26 -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
d65c72b44d use server keep-alive timer as slow request timer 2018-09-15 09:55:38 -07:00
Nikolay Kim
4ca9fd2ad1 remove debug print 2018-09-03 22:09:12 -07:00
Nikolay Kim
f0f67072ae Read client response until eof if connection header set to close #464 2018-09-03 21:35:59 -07: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
Robert G. Jakabosky
487519acec Add client test for 'Connection: close' as reported in issue #495 2018-09-01 00:34:19 +08:00
Nikolay Kim
1716380f08 clippy fmt 2018-08-23 09:48:01 -07:00
Kornel
bdc9a8bb07 Optionally support tokio-uds's UnixStream as IoStream (#472) 2018-08-17 19:04:15 +03: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