mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
fix missing closing crlf in chunked streams
This commit is contained in:
parent
c81ca48fbd
commit
6f03c521a6
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";
|
output_string oc "\r\n";
|
||||||
done;
|
done;
|
||||||
|
(* write another crlf after the stream (see #56) *)
|
||||||
|
output_string oc "\r\n";
|
||||||
()
|
()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue