Rob Ede
7e990e423f
add http/1.0 GET parsing tests
2022-07-01 08:24:45 +01:00
Rob Ede
8f9a12ed5d
fix parsing ambiguities for HTTP/1.0 requests ( #2794 )
...
* fix HRS vuln when first CL header is 0
* ignore TE headers in http/1.0 reqs
* update changelog
* disallow HTTP/1.0 requests without a CL header
* fix test
* broken fix for http1.0 post requests
2022-07-01 08:23:40 +01:00
Rob Ede
80d222aa78
use tracing in actix-http
2022-03-10 03:12:29 +00:00
Rob Ede
8ddb24b49b
prepare awc release 3.0.0 ( #2684 )
2022-03-08 16:51:40 +00:00
Rob Ede
5ca42df89a
fix stuck connection when handler doesn't read payload ( #2624 )
2022-02-03 07:03:39 +00:00
Rob Ede
1bc1538118
use tokio::main in client example
2022-01-19 21:36:14 +00:00
Rob Ede
17f636a183
split request and response modules ( #2530 )
2021-12-19 17:05:27 +00:00
Rob Ede
406f694095
standardize rustfmt max_width
2021-12-08 06:01:11 +00:00
Rob Ede
2d053b7036
remove actix_http::http
module ( #2488 )
2021-12-05 14:37:20 +00:00
Rob Ede
c4b20df56a
convert all remaining IETF RFC links to new format
2021-12-02 03:45:04 +00:00
fakeshadow
ff07816b65
update httparse for uninit header parsing ( #2374 )
2021-08-29 01:42:22 +01:00
Rob Ede
e965d8298f
HRS security fixes ( #2363 )
2021-08-12 20:18:09 +01:00
Igor Aleksanov
262c6bc828
Various refactorings ( #2281 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Rob Ede
4442535a45
clippy
2021-04-13 12:44:38 +01:00
Rob Ede
4fc7d76759
s/websocket/WebSocket in docs
2021-02-12 00:27:20 +00:00
Rob Ede
c1af5089b9
add 431 and 451 status codes
2021-02-11 22:58:40 +00:00
Rob Ede
949d14ae2b
clean up header map ( #1964 )
2021-02-09 22:59:17 +00:00
fakeshadow
7cfed73be8
fix memory usage for h1 and read bug on buffer size. ( #1929 )
2021-02-07 03:20:35 +00:00
Rob Ede
2d4a174420
fmt
2021-01-04 01:01:35 +00:00
Rob Ede
21f6c9d7a5
improve code readability
2021-01-04 00:49:02 +00:00
Rob Ede
9a9d4b182e
document all remaining unsafe usages ( #1642 )
...
adds some debug assertions where appropriate
2020-09-03 10:00:24 +01:00
masnagam
701bdacfa2
Fix illegal chunked encoding ( #1615 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-07-21 17:24:56 +01:00
Rob Ede
6dc47c4093
fix soundness concern in h1 decoder ( #1614 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-07-21 16:25:33 +01:00
Rob Ede
0ec335a39c
bump MSRV to 1.42 ( #1616 )
2020-07-21 16:40:30 +09:00
Rob Ede
5b0f7fff69
fix spelling errors in doc comments
2020-04-21 04:09:35 +01:00
Yuki Okushi
f27dd19093
Fix Clippy warnings
2020-02-27 12:39:04 +09:00
Nikolay Kim
8c54054844
Use .advance() intead of .split_to()
2019-12-19 09:56:14 +06:00
Nikolay Kim
3d64d565d9
fix warnings
2019-12-13 11:46:02 +06:00
Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +06:00
Nikolay Kim
205a964d8f
upgrade to tokio 0.2
2019-12-05 23:35:43 +06:00
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
2019-11-26 11:25:50 +06:00
Nikolay Kim
8cba1170e6
make actix-http compile with std::future
2019-11-21 16:02:17 +06:00
Yuki Okushi
c1f99e0775
Remove mem::uninitialized()
( #1090 )
2019-09-16 07:52:23 +09:00
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
f429d3319f
Read until eof for http/1.0 responses #771
2019-04-24 11:57:40 -07:00
Nikolay Kim
aa78565453
use objects pool for HttpRequest; optimize nested services call
2019-04-07 23:06:21 -07:00
Nikolay Kim
748289f0ff
use custom headers map; more optimizations
2019-04-06 15:02:02 -07:00
Nikolay Kim
3872d3ba5a
refactor h1 dispatcher
2019-04-06 08:12:58 -07:00
Nikolay Kim
fbedaec661
add expect: 100-continue support #141
2019-04-05 16:46:44 -07:00
Nikolay Kim
c59937784e
add client websockets support
2019-03-27 18:53:19 -07:00
Nikolay Kim
3edc515bac
refactor RequestHead/ResponseHead
2019-03-27 10:38:01 -07:00
Nikolay Kim
c7ad677804
Merge actix-http project
2019-03-26 11:54:35 -07:00