You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2019/12/23 00:01:23 UTC

[GitHub] [httpcomponents-core] rschmitt opened a new pull request #169: ReactiveDataConsumer: Synchronize `flushToSubscriber`

rschmitt opened a new pull request #169: ReactiveDataConsumer: Synchronize `flushToSubscriber`
URL: https://github.com/apache/httpcomponents-core/pull/169
 
 
   It is possible for two threads to race in such a way that a call to a
   method like `ReactiveDataConsumer#streamEnd` will never result in a call
   to `Subscriber#onComplete` from either thread. These races are solved by
   synchronizing the `flushToSubscriber` method, which is currently only
   protected against reentrant calls from the same thread.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[GitHub] [httpcomponents-core] rschmitt merged pull request #169: ReactiveDataConsumer: Synchronize `flushToSubscriber`

Posted by GitBox <gi...@apache.org>.
rschmitt merged pull request #169: ReactiveDataConsumer: Synchronize `flushToSubscriber`
URL: https://github.com/apache/httpcomponents-core/pull/169
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org