Skip to content

Commit 2458b88

Browse files
authored
Merge pull request #59 from julia-vscode/flush-writes
Flush write stream after every msg
2 parents 7d31abd + 39c888e commit 2458b88

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)