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 2020/09/25 20:54:07 UTC

[GitHub] [httpcomponents-core] cweld510 commented on pull request #224: Prevent an output request in AbstractHttp1StreamDuplexer from being erased when it occurs simultaneously with a call to onOutput

cweld510 commented on pull request #224:
URL: https://github.com/apache/httpcomponents-core/pull/224#issuecomment-699150116


   Here's a thread dump I got from pausing IntelliJ during the deadlock:
   [threads_report.txt](https://github.com/apache/httpcomponents-core/files/5285321/threads_report.txt)
   
   For context, the first thread (bzWebTest@12788) is the thread running our test. We execute a call using a variant of AbstractClassicEntityProducer that exposes a ContentOutputStream. Our test thread writes to the output stream. I've removed the part of the callstack that relates to our code.
   
   The output stream wraps an output buffer of type BzSharedOutputBuffer. This class is completely identical to SharedOutputBuffer; we made it to incorporate [this fix](https://github.com/apache/httpcomponents-core/pull/204) because it hadn't been released yet.


----------------------------------------------------------------
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



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