| author | |
| committer | |
| log | 3127bd79fb8106c3fdf487486c686a0551c5efa8 |
| tree | a3a24020ea7716c387c4bc7e49b1280070743aa6 |
| parent | 611a1fdd6df81a95a74162a0ebdd5afba94d29d4 |
It appears to be implemented incorrectly in the wild and causes the read
connection to be closed even though that is a direct violation of RFC
8446 Section 6.1.
The writeEnd function variants are still there, ready to be used.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/http/Client.zig+1-1| ... | @@ -47,7 +47,7 @@ pub const Request = struct { | ... | @@ -47,7 +47,7 @@ pub const Request = struct { |
| 47 | try req.stream.writeAll(req.headers.items); | 47 | try req.stream.writeAll(req.headers.items); |
| 48 | }, | 48 | }, |
| 49 | .https => { | 49 | .https => { |
| 50 | try req.tls_client.writeAllEnd(req.stream, req.headers.items, true); | 50 | try req.tls_client.writeAll(req.stream, req.headers.items); |
| 51 | }, | 51 | }, |
| 52 | } | 52 | } |
| 53 | } | 53 | } |