Various http fixes (#132)

* Fix parsing ambiguity in Transfer-Encoding and Content-Length headers for HTTP/1.0 requests

* Fix http2 content-length handling

* fix h2 content-length support
This commit is contained in:
Nikolay Kim 2022-08-22 11:54:19 +02:00 committed by GitHub
parent 767f022a8e
commit ee4b23465b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 235 additions and 73 deletions

View file

@ -6,7 +6,7 @@
[![build status](https://github.com/ntex-rs/ntex/workflows/CI%20%28Linux%29/badge.svg?branch=master&event=push)](https://github.com/ntex-rs/ntex/actions?query=workflow%3A"CI+(Linux)")
[![crates.io](https://img.shields.io/crates/v/ntex.svg)](https://crates.io/crates/ntex)
[![Documentation](https://img.shields.io/docsrs/ntex/latest)](https://docs.rs/ntex)
[![Version](https://img.shields.io/badge/rustc-1.55+-lightgray.svg)](https://blog.rust-lang.org/2021/09/09/Rust-1.55.0.html)
[![Version](https://img.shields.io/badge/rustc-1.57+-lightgray.svg)](https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html)
![License](https://img.shields.io/crates/l/ntex.svg)
[![codecov](https://codecov.io/gh/ntex-rs/ntex/branch/master/graph/badge.svg)](https://codecov.io/gh/ntex-rs/ntex)
[![Chat on Discord](https://img.shields.io/discord/919288597826387979?label=chat&logo=discord)](https://discord.gg/zBNyhVRz)
@ -35,7 +35,7 @@ ntex = { version = "0.5", features = ["glommio"] }
## Documentation & community resources
* [Documentation](https://docs.rs/ntex)
* Minimum supported Rust version: 1.55 or later
* Minimum supported Rust version: 1.57 or later
## License