Hello Andrew, > I'm looking for a graceful way to interrupt one or indeed all HTTP > file posts/uploads from my application. I don't need to continue these > uploads.
"graceful way to interrupt" is an oxymoron. If you don't need to continue, make sure an exception is thrown so that the HttpClient layers between your stream and your application can perform the necessary cleanups and won't wait for a response from the server or any such thing. HttpMethod.abort() is the preferred way since it will interrupt the thread even if it is currently blocked in a native IO operation. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
