Skip to content

Flush destination IO in IO.copy_stream#4207

Merged
headius merged 1 commit intojruby:masterfrom
grddev:flush-dst-in-copy-stream
Oct 6, 2016
Merged

Flush destination IO in IO.copy_stream#4207
headius merged 1 commit intojruby:masterfrom
grddev:flush-dst-in-copy-stream

Conversation

@grddev
Copy link
Contributor

@grddev grddev commented Oct 6, 2016

Previously, any buffered IO was ignored when copying to the destination stream.

Untagged a couple of specs that are no longer failing with the additional flush.

Tested this against 9.1.5.0, 9.0.5.0, 1.7.26, and 1.7.19, and buffered IO was ignored in all instances.

Previously, any buffered IO was ignored when copying to the destination stream.

Untagged a couple of specs that are no longer failing with the additional flush.
@headius
Copy link
Member

headius commented Oct 6, 2016

Very nice, thanks!

@headius headius merged commit 98918e4 into jruby:master Oct 6, 2016
@headius headius added this to the JRuby 9.1.6.0 milestone Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants