Skip to content

Commit ea1737f

Browse files
committed
fix: Ensure socket is unpaused after COPY stream is complete
1 parent 035b4d2 commit ea1737f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/connection.js

+1
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
884884
function CopyDone() {
885885
stream && stream.push(null)
886886
stream = null
887+
socket.isPaused() && socket.resume()
887888
}
888889

889890
function NoticeResponse(x) {

0 commit comments

Comments
 (0)