RE: upload large files- Filepart

2004-01-06 Thread Kalnichevski, Oleg
To: Commons HttpClient Project Subject: Re: upload large files- Filepart Oleg Kalnichevski wrote: Siddhartha, I believe the solution to this problem is trivial. All it takes is checking for availability of a response from the target server prior to sending each consecutive chunk of request

Re: upload large files- Filepart

2004-01-06 Thread Ortwin Glück
Kalnichevski, Oleg wrote: Can you give me more details as to why you think this may cause problems with HTTP pipelining? It won't if done right :-) You just need to make sure that you are monitoring the response corresponding to the request and not any other response from previously pipelined

Re: upload large files- Filepart

2004-01-06 Thread Eric Johnson
This problem seems like it is the perfect candidate for the ExpectContinueMethod.setUseExpectHeader() function. Isn't this exactly the scenario for which this header was intended? -Eric Oleg Kalnichevski wrote: Siddhartha, I believe the solution to this problem is trivial. All it takes is

RE: upload large files- Filepart

2004-01-06 Thread Sid Subr
that is correct unfortunately I have had the privilege to work on a webserver which is supposed to be 1.1 compliant.. I am trying hard to get them to support the 100-expect continue at the same time I want to see if I can get a work around.. and hence the mails!! --- Kalnichevski, Oleg [EMAIL

Re: upload large files- Filepart

2004-01-05 Thread Oleg Kalnichevski
Siddhartha, I believe the solution to this problem is trivial. All it takes is checking for availability of a response from the target server prior to sending each consecutive chunk of request body. A premature response from the target server detected before the request body has been transmitted

upload large files- Filepart

2004-01-03 Thread Sid Subr
from looking at the filepart code seems that this part would be creating a problem which makes the code not recoverable from the server closing the connection when authentication fails... Filepart.java for httpclient sendData(){ create a new byte array of size 4K while thereis stuff to be read