Skip to content

Make sure we do not rewind a non-seekable stream #71

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

Merged
merged 2 commits into from
Jan 16, 2017
Merged

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jan 16, 2017

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets Relates to #72
Documentation
License MIT

What's in this PR?

If we try to create a stream from a non-seekable resource we should not throw an exception.

@Nyholm Nyholm mentioned this pull request Jan 16, 2017
@joelwurtz
Copy link
Member

I'm not sure we really want to rewind a stream, IMO this logic should be handled by the user providing the stream.

@Nyholm
Copy link
Member Author

Nyholm commented Jan 16, 2017

I was unsure about this as well. That is why I created #72.

@dbu dbu merged commit a89f53c into master Jan 16, 2017
@dbu dbu deleted the Nyholm-non-seekable branch January 16, 2017 16:00
@dbu dbu removed the in progress label Jan 16, 2017
@dbu
Copy link
Contributor

dbu commented Jan 16, 2017

the fix in itself is save, and good. lets discuss the general question of rewinding in #72

@Nyholm
Copy link
Member Author

Nyholm commented Jan 16, 2017

Thank you for merging

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.

4 participants