Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HoneyryderChuck committed Sep 29, 2023
1 parent 62868f6 commit 9271ae3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/httpx/response/buffer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def try_upgrade_buffer
aux.rewind
::IO.copy_stream(aux, @buffer)
aux.close
# ensures pointer is at the end file.
# TODO: remove this once trufleruby fixes support.
@buffer.seek(0, IO::SEEK_END)
end

else
Expand Down

0 comments on commit 9271ae3

Please sign in to comment.