Skip to content

Commit 87c7db6

Browse files
authored
Use eof, not wait_for_decrypted_data (#61)
Fixes #60
1 parent 6ec9df2 commit 87c7db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buffered_socket.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function fill_in(bio::BufferedTLSSocket, atleast::Int)
4848
if bytes_read > 0
4949
avail += Base.write(bio.in, first(bio.readbuff, bytes_read))
5050
else
51-
MbedTLS.wait_for_decrypted_data(bio.sock)
51+
eof(bio.sock)
5252
end
5353
end
5454
end

0 commit comments

Comments
 (0)