mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -05:00
fix ws: missing flush
This commit is contained in:
parent
cced01e343
commit
fe9596f4fe
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ module Writer = struct
|
|||
write_header_ self;
|
||||
|
||||
IO.Output.output self.oc self.buf 0 self.offset;
|
||||
IO.Output.flush self.oc;
|
||||
self.offset <- 0
|
||||
|
||||
let flush_ (self : t) =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue