Skip to content

Commit 39c888e

Browse files
committed
Flush write stream after every msg
1 parent 7d31abd commit 39c888e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function write_transport_layer(stream, response)
6666
n = length(response_utf8)
6767
write(stream, "Content-Length: $n\r\n\r\n")
6868
write(stream, response_utf8)
69+
flush(stream)
6970
end
7071

7172
function read_transport_layer(stream)

0 commit comments

Comments
 (0)