https://bz.apache.org/bugzilla/show_bug.cgi?id=58833
Dan Fournier <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33924|0 |1 is obsolete| | --- Comment #3 from Dan Fournier <[email protected]> --- Created attachment 33930 --> https://bz.apache.org/bugzilla/attachment.cgi?id=33930&action=edit patch for the text truncation The previous patch assumed interrupt would only be called on the StreamPumper by the PumpStreamHandler.finish() method; this is incorrect. The normal completion of spinThreads() will call killAll(running) which will call Thread.interrupt() on the StreamPumpers if they have not completed. The patch will ignore Thread.interrupted() when the inputStream still has unwritten data and stop() has been called on the StreamPumper. The read from the inputStream should not block since the is.read() will only read the number of bytes returned by is.available(). -- You are receiving this mail because: You are the assignee for the bug.
