hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Coleman <nick.cole...@leanlogistics.com>
Subject RE: DO NOT REPLY [Bug 16904] - Input Stream closed, Output Stre am valid, no detection by socket
Date Sat, 08 Feb 2003 17:32:48 GMT
Thank you for the directions for how to submit this problem...  Attached are
the file I created.

> Feedback to your patch:
> It will buffer the whole response which is not good. Imagine a 1GB
response. You would not want this to be buffered, would you.

By using the Piped Streams I have limited the buffer size haven't I?

>thread.interrupt() does not kill a thread. It only sets the interrupted
flag. You are not checking for this flag. So the >interrupt call will stay
unnoticed.

You're right about this, but at some point the input stream will be closed
and thread will exit. (It's definitely not the most elegant way...

I'll try to work on a test case in the meantime.




Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message