Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a LazyOpenStream instead of try_fopen r+ #1377

Merged

Conversation

jeskew
Copy link
Contributor

@jeskew jeskew commented Jan 25, 2016

It looks like the stream handler will immediately open a stream with an 'r+' flag, while the curl handler will create a LazyOpenStream with a 'w+' flag. This will resolve #1375.

/cc @mtdowling @jeremeamia

@jeremeamia
Copy link
Member

That makes sense.

@mtdowling
Copy link
Member

:shipit:

jeskew added a commit that referenced this pull request Jan 25, 2016
…eamhandler-sinks

Use a LazyOpenStream instead of try_fopen r+
@jeskew jeskew merged commit 1ddfa56 into guzzle:master Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sink does not create new file
3 participants