Re: IllegalArgumentException when URL contains []

2013-02-03 Thread Philippe Mouawad
Hello Oleg, Thanks for answer. Is there some helper class in HttpClient for this ? Regards Philippe On Sun, Feb 3, 2013 at 10:33 PM, Oleg Kalnichevski wrote: > On Sun, 2013-02-03 at 22:24 +0100, Philippe Mouawad wrote: > > Hello, > > Calling httpRequest = new HttpGet(uri); wi

Re: IllegalArgumentException when URL contains []

2013-02-03 Thread Philippe Mouawad
Thanks Oleg ! On Sun, Feb 3, 2013 at 11:04 PM, Oleg Kalnichevski wrote: > On Sun, 2013-02-03 at 22:47 +0100, Philippe Mouawad wrote: > > Hello Oleg, > > Thanks for answer. Is there some helper class in HttpClient for this ? > > > > You can use URIBuilder in order to

HTTPClient 4 : Request hangs for 4-5 seconds when using IP's is used without reverse DNS only on Windows

2013-02-04 Thread Philippe Mouawad
Hello, We had an issue reported in JMerer related to HttpClient version 4.X.X which does not happen in version 3.1. Thread dump shows thread hangs within InetAddress$1.getHostByAddr: "Thread Group 1-1" prio=6 tid=0x038f3c00 nid=0xd80 runnable [0x03b7f000] java.lang.Thread.State: RUNNABLE

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

2013-04-14 Thread Philippe Mouawad
Hello , We had a report recently on JMeter project: - https://issues.apache.org/bugzilla/show_bug.cgi?id=54759 Investigations didn't help us solve issue that seems to occur on this particular website: https://clui.xstratacoal.com.au And even with JAVA Pure API. See the 2 snippet attached

Re: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

2013-04-14 Thread Philippe Mouawad
String[] { "SSLv3" }); Is there a better way to fix this ? Thanks Regards Philippe On Sun, Apr 14, 2013 at 3:50 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hello , > > We had a report recently on JMeter project: > >- https://issues.apache.org

Re: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

2013-04-16 Thread Philippe Mouawad
Hello Oleg, Created: https://issues.apache.org/jira/browse/HTTPCLIENT-1343 Regards Philippe Follow me on Twitter <http://twitter.com/philmdot> On Mon, Apr 15, 2013 at 12:42 PM, Oleg Kalnichevski wrote: > On Sun, 2013-04-14 at 17:07 +0200, Philippe Mouawad wrote: > > A

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-24 Thread Philippe Mouawad
building HTTP-aware > client applications such as web browsers, web service clients, or > systems that leverage or extend the HTTP protocol for distributed > communication. > > > - > To unsubscribe, e-mail:

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-24 Thread Philippe Mouawad
Hello, Well I just want to be sure it does not affect 4.3 and only 4.3 Beta1. Regards Philippe On Wed, Apr 24, 2013 at 2:02 PM, sebb wrote: > On 24 April 2013 12:18, Oleg Kalnichevski wrote: > > > On Wed, 2013-04-24 at 12:58 +0200, Philippe Mouawad wrote: > > >

Re: [ANNOUNCEMENT] HttpComponents HttpClient 4.2.5 GA release

2013-04-24 Thread Philippe Mouawad
Wed, 2013-04-24 at 13:02 +0100, sebb wrote: > > On 24 April 2013 12:18, Oleg Kalnichevski wrote: > > > > > On Wed, 2013-04-24 at 12:58 +0200, Philippe Mouawad wrote: > > > > Hello, > > > > Just a clarification, does > > > > HTTPCLIENT-1

DELETE with body

2013-07-12 Thread Philippe Mouawad
Hello, We have a need to send some body inside DELETE method. - https://issues.apache.org/bugzilla/show_bug.cgi?id=55255 The same as : curl -XDELETE 'http://localhost:9200/twitter/tweet/_query' -d '{ "term" : { "user" : "kimchy" } } ' According to specs, it is possible. Looking at org.a

MTOM + XOP

2013-07-14 Thread Philippe Mouawad
Hello, I would like to implement MTOM+XOP requests. I would like a confirmation there is nothing already existing in HttpClient/Mime or Core. My first analysis shows I would need to have: - XopBodyPart (similar to FormBodyPart) which would be the whole request - XopEntity (similar to Multip

Re: DELETE with body

2013-07-14 Thread Philippe Mouawad
restclient/http/EntityEnclosingDelete.java > > Subhash. > > > On Sat, Jul 13, 2013 at 12:45 AM, Philippe Mouawad < > philippe.moua...@gmail.com> wrote: > > > Hello, > > We have a need to send some body inside DELETE method. > > > >- https://issues.apache.org

Re: MTOM + XOP

2013-07-15 Thread Philippe Mouawad
Thanks Oleg On Mon, Jul 15, 2013 at 9:29 AM, Oleg Kalnichevski wrote: > On Sun, 2013-07-14 at 13:07 +0200, Philippe Mouawad wrote: > > Hello, > > I would like to implement MTOM+XOP requests. > > I would like a confirmation there is nothing already existing in > &

Handling of redirects in HttpClient

2013-08-06 Thread Philippe Mouawad
r.parse(URI.java:3029) at java.net.URI.(URI.java:577) at org.apache.http.impl.client.DefaultRedirectStrategy.createLocationURI(DefaultRedirectStrategy.java:195) ... 14 more It succeeds with Java Implementation. -- Cordialement. Philippe Mouawad.

Re: Handling of redirects in HttpClient

2013-08-07 Thread Philippe Mouawad
, is this fine or not ? Thanks Regards Philippe On Wednesday, August 7, 2013, Oleg Kalnichevski wrote: > On Tue, 2013-08-06 at 22:58 +0200, Philippe Mouawad wrote: > > Hello, > > > > We have an issue with redirection handling in HttpClient 4.2.5 > > We have a JSP

Re: Handling of redirects in HttpClient

2013-08-07 Thread Philippe Mouawad
ed, 2013-08-07 at 09:41 +0200, Philippe Mouawad wrote: > > Hello Oleg, > > Sorry it's not clear. > > Using Httpclient, we call this jsp which ad you can see does a > redirection > > with unsafz characters in url, redirection fails with the mentionned > > excepti

Re: Handling of # in redirects

2013-08-08 Thread Philippe Mouawad
Note it is not limited to redirects but also to direct URLs On Thu, Aug 8, 2013 at 11:35 AM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hello, > > I submitted a while ago a bug on fragment handling in URLs: > >- https://issues.apache.org/jira/browse/HTTPC

Handling of # in redirects

2013-08-08 Thread Philippe Mouawad
n you confirm this is a feature ? Thanks -- Cordialement. Philippe Mouawad.

Re: Handling of # in redirects

2013-08-08 Thread Philippe Mouawad
Thu, Aug 8, 2013 at 12:59 PM, Oleg Kalnichevski wrote: > On Thu, 2013-08-08 at 11:35 +0200, Philippe Mouawad wrote: > > Hello, > > > > I submitted a while ago a bug on fragment handling in URLs: > > > >- https://issues.apache.org/jira/browse/HTTPCLIENT-1286 &g

Re: Handling of # in redirects

2013-08-08 Thread Philippe Mouawad
Thu, 2013-08-08 at 13:35 +0200, Philippe Mouawad wrote: > > Hello Oleg, > > Maybe my question was not cear. > > > > I was saying that using this URL in a Sampler: > > > >- GET http://en.wikipedia.org/wiki/Fragment_identifier%23Examples > > > > The

HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2013-12-08 Thread Philippe Mouawad
Hello, Profiling JMeter, I noticed an important number of SocketTimeoutException being triggered without any impact on response status. I investigated it a bit deeper and find out it affected only HttpClient implementations. Looking a bit deeper, it is due to connection stale check which is enable

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2013-12-10 Thread Philippe Mouawad
Hello Oleg, Thanks for answer. Wouldn't it be interesting to add some threshold or delay between each check instead of doing check on each request ? Regards Philippe On Mon, Dec 9, 2013 at 11:59 AM, Oleg Kalnichevski wrote: > On Sun, 2013-12-08 at 21:32 +0100, Philippe Mouaw

Re: Size of HTTPClient jar

2013-12-30 Thread Philippe Mouawad
--- > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > -- Cordialement. Philippe Mouawad.

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-14 Thread Philippe Mouawad
Wed, Dec 11, 2013 at 9:50 AM, Oleg Kalnichevski wrote: > On Tue, 2013-12-10 at 21:38 +0100, Philippe Mouawad wrote: > > Hello Oleg, > > Thanks for answer. > > Wouldn't it be interesting to add some threshold or delay between each > > check instead of doing check o

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-15 Thread Philippe Mouawad
Hello , yes that's it. regards On Saturday, February 15, 2014, Oleg Kalnichevski wrote: > > On Fri, 2014-02-14 at 15:42 +0100, Philippe Mouawad wrote: > > Hello Oleg, > > We set this configuration in JMeter 2.11, we got recently this bug report > > rela

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-15 Thread Philippe Mouawad
nt to limit the number of requests per connection ? Thanks Regards Philippe On Sat, Feb 15, 2014 at 12:49 PM, Oleg Kalnichevski wrote: > On Sat, 2014-02-15 at 11:23 +0100, Philippe Mouawad wrote: > > Hello , > > yes that's it. > > > > regards > > > > The

HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-15 Thread Philippe Mouawad
By default we disable retry but it can be controlled by a parameter. Thanks for the info on ConnectionReuseStrategy, it will be a way to handle these kind of issues. Regards On Sat, Feb 15, 2014 at 3:12 PM, Oleg Kalnichevski > wrote: > On Sat, 2014-02-15 at 14:46 +0100, Philippe M

Re: HttpClient 4.2.6 : ManagedClientConnectionImpl way of checking stale connection and Performances

2014-02-16 Thread Philippe Mouawad
16:01 +0100, Philippe Mouawad wrote: > > By default we disable retry but it can be controlled by a parameter. > > > > I have say you may want to have a retry handler enabled by default if > the stale check is off. At the very least you may want to retry > idempotent reques

Regarding Cookies validation with BrowserCompatSpec

2014-04-08 Thread Philippe Mouawad
:8081/ (*Illegal path attribute "/ssc". Path of origin: "/")* My understanding of rule 5.2.4 is that we should Let cookie-path be the attribute-value. So we should not have this error -- Cordialement. Philippe Mouawad.

Re: Regarding Cookies validation with BrowserCompatSpec

2014-04-16 Thread Philippe Mouawad
Hello, Any answer on this ? Thanks On Tue, Apr 8, 2014 at 11:12 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hello Oleg, all, > We have a bug report at JMeter Project: > >- https://issues.apache.org/bugzilla/show_bug.cgi?id=56358 > > Analyzing bug, i

Unexpected end of ZLIB input stream exception

2014-05-12 Thread Philippe Mouawad
Hello, Is there a know issue related to ZLIB management in HTTPClient 4.2.3 ? We have a report of this exception triggering : java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(Unknown Source) at java.util.zip.InflaterInputStream.read(Unknown Source

httpClient.getConnectionManager() performance with HTTP only

2014-05-13 Thread Philippe Mouawad
Hello, We have a report of Performance issue when using HttpClient4 with HTTP. User noticed cacert was read very frequently. I traced the calls and it is due to : HttpClient#getConnectionManager() => public synchronized final ClientConnectionManager getConnectionManager() { if (connM

Re: HTTPClient 4 : Request hangs for 4-5 seconds when using IP's is used without reverse DNS only on Windows

2014-08-26 Thread Philippe Mouawad
Oleg Kalnichevski wrote: > On Mon, 2013-02-04 at 22:25 +0100, Philippe Mouawad wrote: > > Hello, > > > > We had an issue reported in JMerer related to HttpClient version 4.X.X > > which does not happen in version 3.1. > > > > Thread dump shows thr

Re: httpClient.getConnectionManager() performance with HTTP only

2014-12-28 Thread Philippe Mouawad
Hi, Related to this topic, once we switch to 1 instance of HttpClient shared by all threads, how can we reset SSLContext ? We need this feature within jmeter to simulate SSL handshake per client , we currently do : httpClient.getConnectionManager().shutdown(); Which by the way is rather very ineffi

Re: httpClient.getConnectionManager() performance with HTTP only

2014-12-29 Thread Philippe Mouawad
Hi Oleg, Thanks for answers. Clarifications below inline. Regards On Mon, Dec 29, 2014 at 10:04 AM, Oleg Kalnichevski wrote: > On Sun, 2014-12-28 at 22:09 +0100, Philippe Mouawad wrote: > > Hi, > > Related to this topic, once we switch to 1 instance of HttpClient shared >

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-16 Thread Philippe Mouawad
anks a lot for your time and help. Regards On Mon, Dec 29, 2014 at 3:15 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hi Oleg, > Thanks for answers. > Clarifications below inline. > Regards > > On Mon, Dec 29, 2014 at 10:04 AM, Oleg Kalnichevski > wrote: &

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Philippe Mouawad
On Fri, Jan 23, 2015 at 6:09 PM, Oleg Kalnichevski wrote: > On Mon, 2014-12-29 at 15:15 +0100, Philippe Mouawad wrote: > > Hi Oleg, > > Thanks for answers. > > Clarifications below inline. > > Regards > > > > Hi Philippe > > sorry for such a long dela

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Philippe Mouawad
On Fri, Jan 23, 2015 at 10:00 PM, Oleg Kalnichevski wrote: > On Fri, 2015-01-23 at 20:42 +0100, Philippe Mouawad wrote: > > On Fri, Jan 23, 2015 at 6:09 PM, Oleg Kalnichevski > wrote: > > ... > > > > > > > > > > Please note that if

Re: httpClient.getConnectionManager() performance with HTTP only

2015-01-23 Thread Philippe Mouawad
On Fri, Jan 23, 2015 at 11:48 PM, Oleg Kalnichevski wrote: > On Fri, 2015-01-23 at 23:10 +0100, Philippe Mouawad wrote: > > On Fri, Jan 23, 2015 at 10:00 PM, Oleg Kalnichevski > > wrote: > > > > > On Fri, 2015-01-23 at 20:42 +0100, Philippe Mouawad wrote: > >

Re: Strange SSL error

2015-05-13 Thread Philippe Mouawad
sage and its attachments. Do not deliver, distribute, copy, > disclose the contents or take any action in reliance upon the information > contained in the communication or any attachments. > > > > > > > > > - To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > > > > > > > > - To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > > > - > > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > B KKK > > KCB[ X ܚX K K[XZ[ > > Y[ > > ]\ \ ][ X ܚX P ˘\ X K ܙ B ܈ Y ] [ۘ[[X[ K[XZ[ > > Y[ > > ]\ \ Z [˘\ X K ܙ B B > > > > - > > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > > - > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > - > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > -- Cordialement. Philippe Mouawad.

https://hc.apache.org/downloads.cgi points to wrong version of HttpClient 4.5 release notes

2015-07-04 Thread Philippe Mouawad
Hello, On : https://hc.apache.org/downloads.cgi When you click on HttpClient 4.5 (GA) > Release notes You get the release notes of 4.4.1: http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.4.x.txt Regards Philippe M. @phildmot

Regression in 4.5 vs 4.2.6

2015-07-05 Thread Philippe Mouawad
Hello, We upgraded recently JMeter in a branch from HttpClient 4.2.6 to 4.5 and are facing what seems to be a regression. It seems that when we don't set a charset in StringBody , MultipartEntity, FormBodyPart, no charset is written in ContentType generation while it was the case at least in 4.2.

Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-11-15 Thread Philippe Mouawad
ment=\"how,now\", test2=2; version=1 - test1=1;secure, test2=2;secure Reading section http://tools.ietf.org/html/rfc6265#section-5.2, I wonder if multi values set cookie is allowed ? -- Regards. Philippe M. -- Cordialement. Philippe Mouawad.

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-01 Thread Philippe Mouawad
Hello, Any answer on this question ? Thanks Regards On Sun, Nov 15, 2015 at 8:39 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hello, > We're in the process of migrating JMeter to last HttpClient 4.5.1. > > We are now migrating the CookieManager to remove al

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-02 Thread Philippe Mouawad
Hi Oleg, Thanks for answer. Find my answers inline. Regards On Wed, Dec 2, 2015 at 3:36 PM, Oleg Kalnichevski wrote: > On Tue, 2015-12-01 at 22:09 +0100, Philippe Mouawad wrote: > > Hello, > > Any answer on this question ? > > Thanks > > Regards > > &g

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-04 Thread Philippe Mouawad
Wed, 2015-12-02 at 15:51 +0100, Philippe Mouawad wrote: > > Hi Oleg, > > Thanks for answer. > > > > Find my answers inline. > > Regards > > > > On Wed, Dec 2, 2015 at 3:36 PM, Oleg Kalnichevski > wrote: > > > > > On Tue, 2015-12-01 at

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-13 Thread Philippe Mouawad
Hi, I created https://issues.apache.org/jira/browse/HTTPCLIENT-1704 with JUnit test case so that you understand the difference we have. Regards On Sat, Dec 5, 2015 at 1:26 PM, Oleg Kalnichevski wrote: > On Fri, 2015-12-04 at 21:43 +0100, Philippe Mouawad wrote: > > Thanks Oleg. >

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-13 Thread Philippe Mouawad
Hi Oleg, Created https://issues.apache.org/jira/browse/HTTPCLIENT-1705 to show issue with Cookie Header ordering. Regards On Sun, Dec 13, 2015 at 9:30 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hi, > I created https://issues.apache.org/jira/browse/HTTPCLIENT-1704

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-13 Thread Philippe Mouawad
Hi, Created https://issues.apache.org/jira/browse/HTTPCLIENT-1705 with a Test case in it to show issue with Domain starting with ".". Regards On Sun, Dec 13, 2015 at 9:50 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hi Oleg, > Created https://issues.

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-13 Thread Philippe Mouawad
); StringBuilder sbHdr = new StringBuilder(); for (Header header : lstHdr) { sbHdr.append(header.getValue()); } org.junit.Assert.assertEquals("test1=1; test2=2", sbHdr.toString()); } Thanks On Sun, Dec 13, 2015 at 10:09 PM, Philippe Mouawad

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-14 Thread Philippe Mouawad
text.COOKIE_ORIGIN, this.cookieOrigin); context.setAttribute(HttpClientContext.COOKIE_SPEC, this.cookieSpec); context.setAttribute(HttpClientContext.COOKIE_STORE, this.cookieStore); final HttpResponseInterceptor interceptor = new ResponseProcessCookies(); interceptor.process(response, contex

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-15 Thread Philippe Mouawad
On Tue, Dec 15, 2015 at 9:36 AM, Oleg Kalnichevski wrote: > On Mon, 2015-12-14 at 21:41 +0100, Philippe Mouawad wrote: > > Hello Oleg, > > Thanks . > > > > Test case #testParseCookies > > The rest case does not look right to me. I am not sure I understand w

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-15 Thread Philippe Mouawad
Hi , One last question, when is release of 4.5.2 expected as it fixes 2 bugs we are facing in JMeter. Thanks Regards On Tue, Dec 15, 2015 at 2:05 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > > > On Tue, Dec 15, 2015 at 9:36 AM, Oleg Kalnichevski > wrote: >

Domain value returns by getDomain()

2015-12-15 Thread Philippe Mouawad
Hello, I would like to know if it's a bug or regular. In the below Test case, we have a cookie which domain attribute is "domain=. bt.com" But the built cookie by HttpClient return "bt.com" , it's explicitely in the code of BasicDomainHandler#domainMatch. I suppose it's voluntary right ? Thanks

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-16 Thread Philippe Mouawad
year or begining of next year. Is migration to HC5.0 a big thing ? Do you advise to target 4.5.2 or 5.0 ? the alpha state of 5.0 seems risky to me. Thanks Regards Philippe On Wed, Dec 16, 2015 at 1:57 PM, Oleg Kalnichevski wrote: > On Tue, 2015-12-15 at 14:16 +0100, Philippe Mouawad wr

Re: Domain value returns by getDomain()

2015-12-16 Thread Philippe Mouawad
Thanks ! On Wed, Dec 16, 2015 at 9:34 PM, Oleg Kalnichevski wrote: > On Tue, 2015-12-15 at 21:40 +0100, Philippe Mouawad wrote: > > Hello, > > I would like to know if it's a bug or regular. > > > > In the below Test case, we have a cookie which domain att

Re: Domain value returns by getDomain()

2015-12-16 Thread Philippe Mouawad
anks On Wed, Dec 16, 2015 at 9:38 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Thanks ! > > On Wed, Dec 16, 2015 at 9:34 PM, Oleg Kalnichevski > wrote: > >> On Tue, 2015-12-15 at 21:40 +0100, Philippe Mouawad wrote: >> > Hello, >> > I wo

Re: Issues when upgrading from 3 to 4.2.6 or 4.5.1

2015-12-18 Thread Philippe Mouawad
Thanks Oleg, Did you have time to look at my JIRA HTTPCLIENT-1705 ? Thanks Regards On Fri, Dec 18, 2015 at 10:51 AM, Oleg Kalnichevski wrote: > On Wed, 2015-12-16 at 21:26 +0100, Philippe Mouawad wrote: > > Hi Oleg, > > First, big thanks for your help on this, it is really v

Re: httpClient.getConnectionManager() performance with HTTP only

2015-12-20 Thread Philippe Mouawad
s exactly what HC 3.1 does. It will be somewhat slower given > that one would need to mutex to synchronize access to the initialization > code. > > Oleg > > > > Oleg > > > > > > > --------- > > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > -- Cordialement. Philippe Mouawad.

About SNI support in HC4.5

2015-12-21 Thread Philippe Mouawad
to HC4.5.1 from HC4.2.3 will not fix the issue unless SSLSocketFactory is used instead of SSLConnectionSocketFactory -- Cordialement. Philippe Mouawad.

Re: About SNI support in HC4.5

2015-12-22 Thread Philippe Mouawad
Hi, With further investigation, I answered to some of my questions. Regards On Mon, Dec 21, 2015 at 6:52 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hello, > Looking at: > >- https://issues.apache.org/jira/browse/HTTPCLIENT-1119 > > > 1/ It is n

Re: About SNI support in HC4.5

2015-12-23 Thread Philippe Mouawad
Hi, Any answer on the 1/ question ? Thanks Regards On Tue, Dec 22, 2015 at 2:39 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hi, > With further investigation, I answered to some of my questions. > > Regards > > On Mon, Dec 21, 2015 at 6:52 PM, Philippe M

Re: About SNI support in HC4.5

2015-12-29 Thread Philippe Mouawad
: > On Wed, 2015-12-23 at 14:30 +0100, Philippe Mouawad wrote: > > Hi, > > Any answer on the 1/ question ? > > Thanks > > Regards > > > > On Tue, Dec 22, 2015 at 2:39 PM, Philippe Mouawad < > > philippe.moua...@gmail.com > wrote: > > > >

Connection:close header and HttpClient behaviour

2015-12-29 Thread Philippe Mouawad
Hello, We have a bug report in JMeter : https://bz.apache.org/bugzilla/show_bug.cgi?id=58583 To summarize, setting "Connection: close" header in the requests does not make HttpClient close the connection on the client side. It seems to be a violation of RFC 2616: http://tools.ietf.org/html/rfc261

Re: Connection:close header and HttpClient behaviour

2015-12-30 Thread Philippe Mouawad
, 2015 at 10:53 AM, Oleg Kalnichevski wrote: > On Tue, 2015-12-29 at 17:34 +0100, Philippe Mouawad wrote: > > Hello, > > We have a bug report in JMeter : > > https://bz.apache.org/bugzilla/show_bug.cgi?id=58583 > > > > To summarize, setting "Connection:

Re: About SNI support in HC4.5

2015-12-30 Thread Philippe Mouawad
helpful. Regards Philippe On Wed, Dec 30, 2015 at 10:43 AM, Oleg Kalnichevski wrote: > On Tue, 2015-12-29 at 09:22 +0100, Philippe Mouawad wrote: > > Hello Oleg, > > Thanks for answer. > > Could you elaborate a bit more on your answer ? > > > > Also, is there a chan

Re: Connection:close header and HttpClient behaviour

2015-12-31 Thread Philippe Mouawad
(HttpCoreContext.HTTP_REQUEST); in some call paths. Can we add without risk the call to localContext.setAttribute(HttpCoreContext.HTTP_REQUEST, HttpRequest ) before keepAlive calls or could it introduce issues ? Thanks On Wed, Dec 30, 2015 at 3:01 PM, Philippe Mouawad < philippe.m

Requirement in terms of Metrics : Latency

2016-01-13 Thread Philippe Mouawad
Hello, We have a requirement in JMeter to compute latency in the most accurate way: - latency being the time between the start of the request send and the first byte receival. Currently it appears there is an interface called: - org.apache.http.HttpConnectionMetrics implemented by :

Re: Requirement in terms of Metrics : Latency

2016-01-17 Thread Philippe Mouawad
Hi, Any feedback on this question ? Thanks On Wed, Jan 13, 2016 at 10:48 PM, Philippe Mouawad wrote: > Hello, > > We have a requirement in JMeter to compute latency in the most accurate > way: > >- latency being the time between the start of the request send and &

Re: Requirement in terms of Metrics : Latency

2016-01-17 Thread Philippe Mouawad
trunk. > > 2c, > Gary > > On Sun, Jan 17, 2016 at 5:33 AM, Philippe Mouawad > > wrote: > > > Hi, > > Any feedback on this question ? > > Thanks > > > > On Wed, Jan 13, 2016 at 10:48 PM, Philippe Mouawad > > > wrote: > > >

Release a 4.5.2 ?

2016-01-20 Thread Philippe Mouawad
Hi, I would like to know when the release of 4.5.2 is planned ? Thanks Regards

Re: Release a 4.5.2 ?

2016-01-21 Thread Philippe Mouawad
Hi Oleg, Any chance to release before ? WIll it be begining or end of february ? Thanks On Thu, Jan 21, 2016 at 9:34 AM, Oleg Kalnichevski wrote: > On Wed, 2016-01-20 at 21:44 +0100, Philippe Mouawad wrote: > > Hi, > > I would like to know when the release of 4.5.2 is planned ?

Re: Requirement in terms of Metrics : Latency

2016-01-21 Thread Philippe Mouawad
-01-17 at 13:32 -0800, Gary Gregory wrote: > > I'll let Oleg opine on the right way... > > > > Gary > > On Jan 17, 2016 1:28 PM, "Philippe Mouawad" > > wrote: > > > > > Hi Gary, > > > First I just wanted some confirmat

Re: Release a 4.5.2 ?

2016-01-21 Thread Philippe Mouawad
Hi Oleg, Is there a procedure for RM ? If I volunteered, I suppose I would need commiter rights which I don't think I have. Regards Philippe On Thu, Jan 21, 2016 at 2:28 PM, Oleg Kalnichevski wrote: > On Thu, 2016-01-21 at 13:42 +0100, Philippe Mouawad wrote: > > Hi Oleg, >

Re: httpClient.getConnectionManager() performance with HTTP only

2016-02-17 Thread Philippe Mouawad
015-12-20 at 22:44 +0100, Philippe Mouawad wrote: > >> Hi Oleg, > >> Back to this old subject and knowing that we must stick to 1 HttpClient > per > >> thread (as per all the discussion that followed this). > >> Is there a plan to implement this lazy init of SSLC

Re: HttpClient 4.5.2 release preparations

2016-02-19 Thread Philippe Mouawad
0%3D%20Resolved%20ORDER%20BY%20priority%20DESC Anyway thanks at your team for the work. Regards Philippe On Fri, Feb 19, 2016 at 7:50 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hi Oleg, > Of course, we've been waiting for it for some time now so it will be with >

Re: httpClient.getConnectionManager() performance with HTTP only

2016-02-21 Thread Philippe Mouawad
including this in HttpClient should be reconsidered. Regards Philippe On Wed, Feb 17, 2016 at 7:47 PM, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Hello, > I think I have fixed the issue in JMeter, I attached patch to: > - https://bz.apache.org/bugzilla/show_bug.cgi?id=58

Re: HttpClient SSL Connection Issue

2016-02-22 Thread Philippe Mouawad
> > > > > > 2016/02/22 10:49:45:419 EST [DEBUG] > > > > DefaultManagedHttpClientConnection - > > > > > > > http-outgoing-3: Shutdown connection > > > > > > > 2016/02/22 10:49:45:419 EST [DEBUG] MainClientExec - Connection > > > > discarded > > > > > > > > > > > > > > > > > > > The connection is dropped by the server due to an internal error > of > > > > some > > > > > > sort. You need to take it up with the server admin. > > > > > > > > > > > > Oleg > > > > > > > > > > > > > > > > > > > > - > > > > > > To unsubscribe, e-mail: > httpclient-users-unsubscr...@hc.apache.org > > > > > > For additional commands, e-mail: > > httpclient-users-h...@hc.apache.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > > > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > > > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > > > > > > > -- > Murat Balkan > -- Cordialement. Philippe Mouawad.

Re: HttpClient SSL Connection Issue

2016-02-22 Thread Philippe Mouawad
5.0 (Windows NT 6.1; WOW64; rv:44.0) > Gecko/20100101 Firefox/44.0") > .build(); > HttpGet httpGet = new HttpGet("https://so.n11.com";); > httpClient.execute(httpGet); > System.out.println("I can never reach this point"); > > On Mon, Feb 22, 2016 at 2:33 PM

Re: HttpClient SSL Connection Issue

2016-02-22 Thread Philippe Mouawad
> .setUserAgent("User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) > Gecko/20100101 Firefox/44.0") > .build(); > HttpGet httpGet = new HttpGet("https://so.n11.com";); > httpClient.execute(httpGet); > System.out.println("I can never reach this point&

Re: HttpClient SSL Connection Issue

2016-02-22 Thread Philippe Mouawad
Hi Oleg, I was wrong as per my N-1 mail . On Mon, Feb 22, 2016 at 9:13 PM, Oleg Kalnichevski wrote: > On Mon, 2016-02-22 at 21:08 +0100, Philippe Mouawad wrote: > > Hi Oleg, > > I tried the URL using JMeter and HttpClient 4.5.2 it fails. > > > > I don't see bi

CookieSpecs : Which one to choose ?

2016-02-25 Thread Philippe Mouawad
implementation that delegate to DefaultCookieSpec and RFC6265LaxSpec ? -- Cordialement. Philippe Mouawad.

Re: CookieSpecs : Which one to choose ?

2016-02-27 Thread Philippe Mouawad
Hello, Any feedback ? Thanks for your time and congrats for the 4.5.2. Regards On Friday, February 26, 2016, Philippe Mouawad wrote: > Hello, > I am not sure what should be the default Cookie Policy for JMeter 3.0 > with HC4.5.2 > > As per HttpClient doc: > > http

Re: Requirement in terms of Metrics : Latency

2016-02-27 Thread Philippe Mouawad
Thanks Oleg On Thursday, January 21, 2016, Oleg Kalnichevski wrote: > On Thu, 2016-01-21 at 13:44 +0100, Philippe Mouawad wrote: > > Hello Oleg, > > Thanks for answer. > > For request it should be ok ,but I am not sure for response as I need > time > > to

Re: About SNI support in HC4.5

2016-02-27 Thread Philippe Mouawad
For info, fix done in JMeter based on the first patch attached to Httpclient issue that by reflection sets the host on the java socket. Regards On Wednesday, December 30, 2015, Philippe Mouawad < philippe.moua...@gmail.com> wrote: > Ok, I understand , thanks Oleg. > I was just thin

Re: HttpClient 4.5.2 and Server Name Indication

2016-03-02 Thread Philippe Mouawad
when compiling your application? > > Oleg > > > - > To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org > For additional commands, e-mail: httpclient-users-h...@hc.apache.org > > -- Cordialement. Philippe Mouawad.

Question about PoolingHttpClientConnectionManager#timeToLive

2016-03-08 Thread Philippe Mouawad
Hello, I would like a clarification on the PoolingHttpClientConnectionManager#timeToLive that is used to construct the PoolingHttpClientConnectionManager. In my understanding this value should not exceed the Keep Alive timeout sent by a server. Am I right or am I misunderstanding it ? I think it

Re: Question about PoolingHttpClientConnectionManager#timeToLive

2016-03-09 Thread Philippe Mouawad
Hi Oleg, Thanks for clarification. Regards On Wed, Mar 9, 2016 at 10:40 AM, Oleg Kalnichevski wrote: > On Wed, 2016-03-09 at 08:40 +0100, Philippe Mouawad wrote: > > Hello, > > I would like a clarification on the > > PoolingHttpClientConnectionManager#timeToLive that is us

Re: Question about PoolingHttpClientConnectionManager#timeToLive

2016-03-13 Thread Philippe Mouawad
Hello, Done https://issues.apache.org/jira/browse/HTTPCLIENT-1730 Regards On Wed, Mar 9, 2016 at 1:10 PM, Oleg Kalnichevski wrote: > On Wed, 2016-03-09 at 13:07 +0100, Philippe Mouawad wrote: > > Hi Oleg, > > Thanks for clarification. > > Regards > > > > On W

ResponseContentEncoding behaviour in HttpClient 4.5.2 and 5.0

2016-05-01 Thread Philippe Mouawad
gards Philippe M. -- Cordialement. Philippe Mouawad.

Re: ResponseContentEncoding behaviour in HttpClient 4.5.2 and 5.0

2016-05-01 Thread Philippe Mouawad
ards On Sun, May 1, 2016 at 5:18 PM, Oleg Kalnichevski wrote: > On Sun, 2016-05-01 at 16:08 +0200, Philippe Mouawad wrote: > > Hello, > > We have a regression report in JMeter 3.0 due to what seems to be a new > > behaviour of HttpClient 4.5.2, introduced on Feb 25, 2014 by:

Re: ResponseContentEncoding behaviour in HttpClient 4.5.2 and 5.0

2016-05-01 Thread Philippe Mouawad
want to check data in the responses using assertion, to do that we need responses to be uncompressed Regards On Sunday, May 1, 2016, Oleg Kalnichevski wrote: > On Sun, 2016-05-01 at 17:22 +0200, Philippe Mouawad wrote: > > Hi Oleg, > > I understand, but in our particular case use

UrlEncodedFormEntity and parameter value encoding

2016-09-17 Thread Philippe Mouawad
Hello, We have a bug report at JMeter : https://bz.apache.org/bugzilla/show_bug.cgi?id=60120 Where a user post a form with a parameter having this value 'IqGo6EM1JEVZ+MSRJqUSo@qhjVMSFBTs' It appears that the '@' character is encoded. The form is submitted using application/x-www-form-urlencoded

Re: UrlEncodedFormEntity and parameter value encoding

2016-09-18 Thread Philippe Mouawad
On Sunday, September 18, 2016, Oleg Kalnichevski wrote: > On Sat, 2016-09-17 at 15:55 +0200, Philippe Mouawad wrote: > > Hello, > > We have a bug report at JMeter : > > https://bz.apache.org/bugzilla/show_bug.cgi?id=60120 > > > > Where a user post a form w

Re: UrlEncodedFormEntity and parameter value encoding

2016-09-18 Thread Philippe Mouawad
hanks On Sun, Sep 18, 2016 at 2:37 PM, Oleg Kalnichevski wrote: > On Sun, 2016-09-18 at 14:08 +0200, Philippe Mouawad wrote: > > On Sunday, September 18, 2016, Oleg Kalnichevski > wrote: > > > > > On Sat, 2016-09-17 at 15:55 +0200, Philippe Mouawad wrote: > > > &

Re: UrlEncodedFormEntity and parameter value encoding

2016-09-18 Thread Philippe Mouawad
So is it a bug ? or a regular behaviour ? thanks On Sunday, September 18, 2016, Oleg Kalnichevski wrote: > On Sun, 2016-09-18 at 15:11 +0200, Philippe Mouawad wrote: > > Hi Oleg, > > Thanks for rapid answer. > > Correct me if I am wrong but: > > - URLENCODER is bui

Re: UrlEncodedFormEntity and parameter value encoding

2016-09-18 Thread Philippe Mouawad
On Sunday, September 18, 2016, Oleg Kalnichevski wrote: > On Sun, 2016-09-18 at 16:12 +0200, Philippe Mouawad wrote: > > So is it a bug ? or a regular behaviour ? > > > > We back to where we started. Why do you think it should not be encoded? it does not seem to be when usi

Re: UrlEncodedFormEntity and parameter value encoding

2016-09-24 Thread Philippe Mouawad
I understand @ is safe. Regards On Sun, Sep 18, 2016 at 5:04 PM, Oleg Kalnichevski wrote: > On Sun, 2016-09-18 at 16:27 +0200, Philippe Mouawad wrote: > > On Sunday, September 18, 2016, Oleg Kalnichevski > wrote: > > > > > On Sun, 2016-09-18 at 16:12 +0200, Philipp

SSL Handshake : timing and timeout

2016-11-10 Thread Philippe Mouawad
Hello, Is there a way in HttpClient/HttpCore to compute the time taken by SSL Handshake ? And timeout handshake ? Thank you Regards Philippe M.

Re: SSL Handshake : timing and timeout

2016-11-11 Thread Philippe Mouawad
Thank you Stefan Could you point me to some doc ? Thanks On Fri, Nov 11, 2016 at 9:20 AM, Stefan Magnus Landrø < stefan.lan...@gmail.com> wrote: > > > Sendt fra min iPhone > > > Den 11. nov. 2016 kl. 00.25 skrev Philippe Mouawad >: > > > > Hello, >

  1   2   >