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

Errors in the pipeline post response header delivery were lost. #342

Merged
merged 2 commits into from
Mar 24, 2015

Conversation

NiteshKant
Copy link
Member

HttpClient response processing unsubscribes from the TCP connection input subject after the HTTP response headers are delivered. The errors in the pipeline were only trapped by the ObservableAdapter and forwarded to the subscriber of the input subject. In this case, since, the input subject is unsubscribed, the error does not get propagated to the subscriber of the HttpClient.submit().

This change makes ClientRequestResponseConverter intercept errors in the pipeline and propagate it to the subscriber of the response content.

Nitesh Kant added 2 commits March 24, 2015 12:01
HttpClient response processing unsubscribes from the TCP connection input subject after the HTTP response headers are delivered.
The errors were only trapped by the `ObservableAdapter` and forwarded to the subscriber of the input subject. In this case, since, the input subject is unsubscribed, the error does not get propagated to the subscriber of the `HttpClient.submit()`.

This change makes `ClientRequestResponseConverter` intercept errors in the pipeline and propagate it to the subscriber of the response content.
NiteshKant added a commit that referenced this pull request Mar 24, 2015
Errors in the pipeline post response header delivery were lost.
@NiteshKant NiteshKant merged commit 27a8ec3 into ReactiveX:0.x Mar 24, 2015
@NiteshKant NiteshKant modified the milestone: 0.4.8 Mar 24, 2015
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

1 participant