Releases: http-rs/async-h1
Releases · http-rs/async-h1
v2.0.2
05 Jun 19:23
Compare
Sorry, something went wrong.
No results found
This patch fixes the encoding of 100 Continue responses.
Fixes
v2.0.1
29 May 14:23
Compare
Sorry, something went wrong.
No results found
v2.0.0
22 May 22:38
Compare
Sorry, something went wrong.
No results found
documentation
This release removes the addr param from the constructors, and upgrades http-types to 2.0.0. Creating HTTP clients and servers is now even simpler than before:
// HTTP/1.1 client
let stream = TcpStream :: connect ( "127.0.0.1:8080" ) . await ?;
let url = Url :: parse ( & format ! ( "http://{}/foo" , stream. peer_addr( ) ?) ) ?;
let req = Request :: new ( Method :: Get , url) ;
let res = async_h1:: connect ( stream. clone ( ) , req) . await ?;
println ! ( "{:?}" , res) ;
Added
Added support for Expect header #110
Added more log::trace points #97
Changed
Set Request url host from Host header #106
When we don't recognize an HTTP version include the HTTP version in the error #102
Remove the addr param from the accept functions #107
Updated to http-types v2.0.0 #105
Fixed
Don't add the Date header in the response if it already exists #96
Don't double-set Content-Length and Transfer-Encoding headers #98
Internal
Include a long chunked test #90
v1.1.2
18 Apr 14:53
Compare
Sorry, something went wrong.
No results found
Fixed
Fixed a bug where our chunked server encoder wasn't flushing buffers correctly #94
v1.1.1
18 Apr 07:45
Compare
Sorry, something went wrong.
No results found
Added
Added internal test for response with LF instead of CRLF #85
Changed
Rewrote the chunked encoder from scratch, providing more diagnostics and fixing a long-standing bug #84
We no longer send the Date header on clients #89
Fixed
Fixed handling of large chunks in the chunk encoder #83
Fixed handling of CONNECT methods #92
If the Host header already exists on a response we no longer set it #86
v1.1.0
11 Apr 13:48
Compare
Sorry, something went wrong.
No results found
Added
Configuration object for the server impl #82
Changed
Added rustfmt config #76
Refactored the server chunk encoder impl #75
Split the server and client files into encoder / decoder parts #75
Fixed
Attribution of the date impl #78
Fixed linter warnings #77
Fixed a bug where after a set number on the same connection the connection would close #82
v1.0.2
24 Mar 13:17
Compare
Sorry, something went wrong.
No results found
Fixes
Fix panic with invalid trailer #72
Append headers on client response instead of overwriting them #73
v1.0.1
15 Mar 12:19
Compare
Sorry, something went wrong.
No results found
Changes
Add fuzz testing for server::accept #68
Simplify the main accept loop for the server #65
Fixes
Fix stream freezing when body ends unexpectedly #69
Fix unbounded header parsing #62