Hi,
In case of 200 (or any other return code), I'd like to be able to not
read headers body because I simply don't care as it's not an error and
I want to avoid fill memory with the content.
Is there any was to do that? (with non async or async)
Thanks,
--
Olivier Lam
so BTW _ is not valid according to http://www.ietf.org/rfc/rfc2396.txt
So forget my question :-)
2013/3/4 Olivier Lamy :
> Hi Folks,
> recently Maven Wagon upgraded to last 4.2.3 client.
>
> Now url containing '_' doesn't work anymore.
> Exception says :
>
>
.com";
When testing:
URI uri = new URI("https://foo_bar.online.com";);
String host = uri.getHost();
host is null so I understand the complain :-).
Is there any related change to use URI ?
Do I have any workaround ?
Thanks
--
Olivier Lamy
Talend: http://coders.talend.
2013/1/28 Oleg Kalnichevski :
> On Mon, 2013-01-28 at 23:42 +0100, Olivier Lamy wrote:
>> Hi,
>> Is there any way to retrieve a file which is larger than Integer.MAX_VALUE ?
>> ContentLengthInputStream has a cast which can be bigger than
>> Integer.MAX_VALUE
>>
Hi,
Is there any way to retrieve a file which is larger than Integer.MAX_VALUE ?
ContentLengthInputStream has a cast which can be bigger than Integer.MAX_VALUE
if (pos + len > contentLength) {
len = (int) (contentLength - pos);
}
Thanks,
--
Olivier Lamy
Talend: http://coders.talend.com
h
Hi,
Is there any way to handle SSLv3 (see related maven issue
https://jira.codehaus.org/browse/MNG-5363 ) ?
Or what is the best way to achieve that ?
Thanks for any advice
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy
Cause() to return ConnectTimeoutException
Thanks,
--
Olivier
2010/1/7 Oleg Kalnichevski :
> On Thu, 2010-01-07 at 11:14 +0100, Olivier Lamy wrote:
>> Hi,
>> Sure, I will.
>> If I want to provide a patch do I have to do it on the 4.0.x branch or trunk
>> ?
>>
&g
Hi,
Sure, I will.
If I want to provide a patch do I have to do it on the 4.0.x branch or trunk ?
Thanks,
--
Olivier
2010/1/6 Oleg Kalnichevski :
> Olivier Lamy wrote:
>>
>> Sure.
>> It's just I found this more elegant/readable code using the retry
>> handler mec
Sure.
It's just I found this more elegant/readable code using the retry
handler mechanism rather than writing catch/loop as with http client
3.x.
--
Olivier
2010/1/6 Ken Krugler :
>
> On Jan 6, 2010, at 12:49pm, Olivier Lamy wrote:
>
>> NO.
>> ConnectionTimeOutExce
root problem.
>
> -- Ken
>
>
> On Jan 6, 2010, at 12:27pm, Olivier Lamy wrote:
>
>> Thanks for reply.
>> Yes I already use this for this type of exception.
>> But this doesn't catch the ConnectionTimeOut.
>>
>> --
>> Olivier
>>
>
is "Read timeout" exception ,
>
> GetMethod httpGet = new GetMethod(url);
> httpGet.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, new
> DefaultHttpMethodRetryHandler(10, true));
>
> Is there another way to handle this exception?
>
> Khosro.
>
>
&g
Hi,
I'm using http-client 4.0.1.
Is there any way to use HttpRequestRetryHandler to handle retry on
ConnectTimeoutException ? (I did it with http client 3 )
Thanks,
--
Olivier
-
To unsubscribe, e-mail: httpclient-users-unsubscr.
Yes I see that
look to be already logged :
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6865265.
--
Olivier
2009/9/11 Oleg Kalnichevski :
> On Fri, Sep 11, 2009 at 05:15:31PM +0200, Olivier Lamy wrote:
>> It was new stuff we introduced in new version which break under heavy load.
It was new stuff we introduced in new version which break under heavy load.
So I have to search somewhere else :-(.
Thanks for your time,
--
Olivier
2009/9/11 Oleg Kalnichevski :
> On Fri, Sep 11, 2009 at 04:29:20PM +0200, Olivier Lamy wrote:
>> Hi Folks,
>> I have added a comme
Hi Folks,
I have added a comment and attached a jvm error pid.
Is there any know issue regarding deadlock issue with the final 4.0 ?
(with heavy load).
Thanks
--
Olivier
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.
Hi,
You can have a look at the continuum code which do this with httpclient 4.x. [1]
Line with comment :
// https scheme
schemeRegistry.register( new Scheme( "https", new
EasySSLSocketFactory(), 443 ) );
HTH,
--
Olivier
[1]
https://svn.apache.org/repos/asf/continuum/trunk/continuu
2008/12/2 Oleg Kalnichevski <[EMAIL PROTECTED]>:
> Olivier Lamy wrote:
>>
>> Hi,
>> I'm trying to write a custom ssl socket to handle self signed
>> certificates).
>>
>> I have the following exception :
>> Caused by: java.lang.Ille
Hi,
I'm trying to write a custom ssl socket to handle self signed certificates).
I have the following exception :
Caused by: java.lang.IllegalStateException: Unable to establish route.
planned = HttpRoute[{}->https://localhost:443]
current = HttpRoute[{s}->https://localhost:443]
Any ideas ?
Thank
2008/8/23 Oleg Kalnichevski <[EMAIL PROTECTED]>:
> On Sat, 2008-08-23 at 00:06 +0200, Olivier Lamy wrote:
>> Hi,
>> Is there any plan to published an aggregated javadoc [1] with the next
>> release ? (currently it's hard to naviguate in all modules or I
>
Hi,
Is there any plan to published an aggregated javadoc [1] with the next
release ? (currently it's hard to naviguate in all modules or I
haven't found it :-) in the site ).
Second question : is there class which can validate my url (as boolean
validate(String url) ) ?
And is there a class to ext
Hi,
[X] migrate to SLF4J
Thanks,
--
Olivier
2008/6/2 Oleg Kalnichevski <[EMAIL PROTECTED]>:
> Folks,
>
> We are currently considering whether we should continue using
> commons-logging or migrate to SLF4J or java.util.logging. Please let us
> what your preference is. We are going to make the fin
21 matches
Mail list logo