mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
Merge pull request #57 from c-cube/fix-56
fix missing closing crlf in chunked streams
This commit is contained in:
commit
4fdce87dad
1 changed files with 2 additions and 0 deletions
|
|
@ -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";
|
||||
()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue