Merge pull request #57 from c-cube/fix-56

fix missing closing crlf in chunked streams
This commit is contained in:
Simon Cruanes 2023-02-21 21:14:39 -05:00 committed by GitHub
commit 4fdce87dad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,4 +327,6 @@ let output_chunked (oc:out_channel) (self:t) : unit =
);
output_string oc "\r\n";
done;
(* write another crlf after the stream (see #56) *)
output_string oc "\r\n";
()