RE: HttpClient GET request for a file 2G doesn't work

2008-03-11 Thread Eric Cantonna
Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe there is a count of bytes read/available somewhere that use an int and should use a long instead. Just an idea that crossed my mind. _ Comme 9 millions

RE: cookie or session-id is different from the same HttpClient connection?!

2008-03-11 Thread micky
Dear, I solved the cookie issues according to the article mentioned by Roland at http://www.nabble.com/forum/ViewPost.jtp?post=15912252framed=y After I GET a request to the server, the session will be established. The following sequences like POST a data or request any other pages by GET or

properly aborting a GET method?

2008-03-11 Thread George Ludwig
I am doing some web harvesting, and I'm trying to better handle the situation where a hostile website has my connection and then sends a few packets of garbage data every couple of minutes. In the loop where I read data off the input stream, I check the duration of the entire read process, and if

RE: HttpClient GET request for a file 2G doesn't work

2008-03-11 Thread sjlucas
Eric Cantonna wrote: Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe there is a count of bytes read/available somewhere that use an int and should use a long instead. Just an idea that crossed my mind. Right. But since it's HTTPClient's executeMethod()

RE: cookie or session-id is different from the same HttpClient connection?!

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 21:23 +0800, micky wrote: Dear, I solved the cookie issues according to the article mentioned by Roland at http://www.nabble.com/forum/ViewPost.jtp?post=15912252framed=y After I GET a request to the server, the session will be established. The following sequences

Re: properly aborting a GET method?

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 11:25 -0700, George Ludwig wrote: I am doing some web harvesting, and I'm trying to better handle the situation where a hostile website has my connection and then sends a few packets of garbage data every couple of minutes. In the loop where I read data off the input

RE: HttpClient GET request for a file 2G doesn't work

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 11:38 -0700, sjlucas wrote: Eric Cantonna wrote: Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe there is a count of bytes read/available somewhere that use an int and should use a long instead. Just an idea that crossed my mind.

Re: Sending serialized object

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 01:49 -0400, [EMAIL PROTECTED] wrote: Hi All, I'm new to HttpClient package. I've noticed that PostMethod class does not have a method that would return OutputStream that I could use to write the serialized object in to. This can be done using