DO NOT REPLY [Bug 24560] - HttpClient loops endlessly while trying to retrieve status line

2003-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Reading Chunked Stream using HttpClient

2003-12-11 Thread Srinivas Vemula
Hi, We have a an application which sends chunked input stream for a URL request. We are using HttpClient to get the response. The chunked response sent by the application is actually a motion image. The motion image is retrieved by the first GET command operation and will be send as the s

Re: Reading Chunked Stream using HttpClient

2003-12-11 Thread Ortwin Glück
Srinivas, I understand that you do not mean HTTP's chunked transfer encoding by the term "chunked stream" and "chunked input". I guess you are using a Multipart-MIME like content encoding. HttpClient does NOT however deal with the content and does not provide any means to parse the contents fo

Re: Reading Chunked Stream using HttpClient

2003-12-11 Thread Srinivas Vemula
Odi, Yes, you are right. If we access the URL from broweser, it opens up a file dialog box and starts filling in bytes and there is no end to it unless we close the window. We are able to read the stream with get.getResponseBodyAsStream(). The stream is image bytes delimited by an

Re: Reading Chunked Stream using HttpClient

2003-12-11 Thread Ortwin Glück
Srinivas Vemula wrote: We are able to read the stream with get.getResponseBodyAsStream(). The stream is image bytes delimited by an ascii string "--myboundary", So I guess i just need figure out an easy way of cutting this stream into bytes for every occurence of that string. Just wrap th

RE: [Bug 25370] - exception during writeRequest leaves the conn ection un-released

2003-12-11 Thread Rezaei, Mohammad A.
I'm forwarding this to the list. The conversation that originally started on Bug 25370 took a turn and uncovered a potentially critical problem. The original bug was about releasing the connection back to the pool. This conversation is about closing the underlying socket under the same situation. I

DO NOT REPLY [Bug 24560] - HttpClient loops endlessly while trying to retrieve status line

2003-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu