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

Implement #close on HTTP::Response::Streamer #704

Merged
merged 1 commit into from Jun 17, 2017

Conversation

janko
Copy link
Contributor

@janko janko commented May 31, 2017

Since HTTP::Response::Streamer is returned instead of a HTTP::Connection, and HTTP::Connection responds to #close, HTTP::Response::Streamer should then also respond to #close.

I encountered this error when some code wanted to manually close the connection:

response.connection.close

Since HTTP::Response::Streamer is returned instead of a
HTTP::Connection, and HTTP::Connection responds to #close,
HTTP::Response::Streamer should then also respond to #close.
@janko janko force-pushed the add-close-to-http-response-streamer branch from ed3dffa to d6a7370 Compare May 31, 2017 15:06
@bblimke
Copy link
Owner

bblimke commented Jun 17, 2017

@janko-m Thank you for this pull request! :)

@bblimke bblimke merged commit d27f53b into bblimke:master Jun 17, 2017
@janko janko deleted the add-close-to-http-response-streamer branch June 18, 2017 03:49
@bblimke
Copy link
Owner

bblimke commented Oct 7, 2017

Released as version 3.1.0. I'm sorry for the delay releasing it.

@janko
Copy link
Contributor Author

janko commented Oct 8, 2017

No problem, thank you for the release 🙂

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.

None yet

2 participants