On Tue, 2014-06-17 at 20:44 -0700, arcivanov wrote:
> Oleg Kalnichevski wrote
> > Unfortunately at this point there is no way around forking HttpClient if
> > you want to implement proxy chaining. We can however consider making it
> > possible to replace MainClientExec with a
On Mon, 2014-06-16 at 11:32 -0700, arcivanov wrote:
> Oleg Kalnichevski wrote
> > On Sun, 2014-06-15 at 18:24 -0700, arcivanov wrote:
> >> Hi Oleg,
> >>
> >> RequestDirector and respectively DefaultRequestDirector have been
> >> deprecated
> >
On Sun, 2014-06-15 at 18:24 -0700, arcivanov wrote:
> Hi Oleg,
>
> RequestDirector and respectively DefaultRequestDirector have been deprecated
> as of 4.3 with no replacement suggested/provided.
>
> We need to implement chained proxies with SOCKS5 support and it would be
> great if you could br
On Sun, 2014-06-15 at 20:33 +, Nir Dweck wrote:
> Hi,
> Here is the implementation I did (I am using 4.2.2):
> ClassLoader cl = HttpSyncServer.class.getClassLoader();
> URL url = cl.getResource(keyStore);
> if (url == null) {
> log.fatal("Keystore not found.
On Tue, 2014-06-10 at 04:35 +, Baker, Tristan wrote:
> Hello,
>
> I have scoured the internet looking for examples of how to use HttpClient
> 4.1.x. I've found the apache site (http://hc.apache.org/) with links to great
> examples of how use 4.2.x and 4.3.x, but I haven't found anything for
On Fri, 2014-06-06 at 10:58 +0200, Jiri Pokorny wrote:
> Hello,
> I am coping with some 3rd party HTTP API which unfortunately includes some
> useful information into chunk-extension which is part of chunked transfer
> encoding (as defined in RFC2616). However all java libraries for HTTP
> access i
The Apache HttpComponents project is pleased to announce 4.3.4 GA
release of HttpComponents HttpClient.
HttpClient 4.3.4 (GA) is a maintenance release that improves performance
in high concurrency scenarios. This version replaces dynamic proxies
with custom proxy classes and eliminates thread cont
On Tue, 2014-06-03 at 09:11 +0300, Ali Aslan wrote:
> Dear All,
>
> I need a sample/example for a basic proxy server. But not a reverse proxy I
> just need a normal proxy to forward requests.
>
> I tried to combine "*Basic HTTP reverse Proxy* " and "*Asynchronous HTTP
> server* " but cannot make
he/http/pool/AbstractConnPool.java
Hope this helps
Oleg
> > On May 31, 2014, at 10:44 AM, Oleg Kalnichevski wrote:
> >
> >> On Sat, 2014-05-31 at 10:12 -0700, Nitin Handa wrote:
> >> I looked at NTLMEngine interface, that's not going to help because I don'
mplementing NTLMEngine help in my use case?
> >
> > Thanks,
> > Nitin
> >
> >>> On May 31, 2014, at 8:34 AM, Oleg Kalnichevski wrote:
> >>>
> >>> On Fri, 2014-05-30 at 15:57 -0700, Nitin Handa wrote:
> >>> I want do NTLM
On Fri, 2014-05-30 at 15:57 -0700, Nitin Handa wrote:
> I want do NTLM authentication and also want to cache connection for
> future requests by same user. Since NTLM is connection based so we cant
> use same connection for different users.
>
> I looked at this link which exactly describes my re
On Fri, 2014-05-23 at 11:50 +0100, Daniel Feist wrote:
> Hi,
>
> I noticed that in HC 3.1 it is possible to configure
> Socket.setSendBufferSize / Socket.setReceiveBufferSize via
> HttpConnectionManagerParams. While this may not always been
> necessary, it is useful in some cases. Is this not po
96653
> >>
> >> Thank you so much for reporting the problem and helping fix it.
> >
> > Great! This wasn't a significant problem, just a potential optimisation.
> >
> > Dan
> >
> >
> >>
> >> Cheers
> >>
> >> Oleg
n.apache.org/r1596653
Thank you so much for reporting the problem and helping fix it.
Cheers
Oleg
> Dan
>
> On Wed, May 21, 2014 at 4:02 PM, Oleg Kalnichevski wrote:
> > On Wed, 2014-05-21 at 15:40 +0100, Daniel Feist wrote:
> >> Here are the results!! Interesting...
&
On Wed, 2014-05-21 at 15:40 +0100, Daniel Feist wrote:
> Here are the results!! Interesting...
>
> I reran everything:
> - Added JVM options to even out garbage collection.
> - Ran each test for minutes 5 minutes.
> - Used Jetty SelectChannelConnector, same as you always used. (other
> one is fa
n Wed, May 14, 2014 at 4:10 AM, Oleg Kalnichevski wrote:
>
> > On Tue, 2014-05-13 at 17:05 -0700, Gregory Chanan wrote:
> > > I'm using httpclient (4.3.3) in my application with SPNEGO/Kerberos Auth
> > > and everything works well when a GET is the first request t
On Fri, 2014-05-16 at 16:35 +0300, d_k wrote:
> Hello,
>
> I'm porting some old code that's using httpclient 3 and I'm having some
> trouble porting the makeLenient() [0] method call.
>
> I've managed to identify the properties being set and I ported the ones I
> was able to but i'm stuck on sett
I think so.
Oleg
> Greetings
>
> -Ursprüngliche Nachricht-----
> Von: Oleg Kalnichevski [mailto:ol...@apache.org]
> Gesendet: Donnerstag, 15. Mai 2014 10:33
> An: HttpClient User Discussion
> Betreff: Re: javax.servlet.ServletException:
> org.apache.http.co
On May 18, 2014 2:17:00 PM CEST, Oleg Kalnichevski wrote:
>On Sat, 2014-05-17 at 22:10 +0100, Daniel Feist wrote:
>> Sure, which jetty connector? Blocking is better because then test is
>more
>> about httpclient. With other connector jetty uses more cpu and has
>more
and then proceed
from there.
Oleg
> Dan
> On 17 May 2014 20:15, "Oleg Kalnichevski" wrote:
>
> > On Sat, 2014-05-17 at 00:13 +0100, Daniel Feist wrote:
> > > > Could you please find out if this difference is consistent regardless
> > of
> > >
On Sat, 2014-05-17 at 00:13 +0100, Daniel Feist wrote:
> > Could you please find out if this difference is consistent regardless of
> > the CPU core number used by the system?
>
> Done, see other email I didn't record all figures, but did run
> multiple times and records differences.
>
> > Honest
On Wed, 2014-05-14 at 16:48 -0700, Jaikit Savla wrote:
> Folks,
>
> Is there a way to reclaim connections once they are leaked ? For testing I
> configured a client with maxconnectionperservice=1 and
> IdleConnectionMonitorThread running every 5 seconds. My test is leaking
> connection and once
On Wed, 2014-05-14 at 16:05 +0100, Daniel Feist wrote:
...
> I agree 10% isn't that much and this testing maybe isn't 100% through,
> but I think it's fairly clear that unless you use minimalClient with
> 4.3, it doesn't matter which features you turn off (even all of them),
> 4.3 still doesn't p
On Thu, 2014-05-15 at 01:10 +0100, Daniel Feist wrote:
> > I re-ran the benchmark (r1594594) on my computer and unsurprisingly (for
> > me) HC 4.3 comfortably outperformed HC 3.1.
>
> Yes I see the same running this revision.
Could you please find out if this difference is consistent regardless
On Fri, 2014-05-09 at 18:03 +, Boxer, Aaron wrote:
> Hello,
>
> I would like to get the bit rate for a PoolingNHttpClientConnectionManager.
> Any advice for how to do this?
>
> I was planning to iterate through the leased connections in the pool,
> the HttpConnectionMetrics from each connecti
On Wed, 2014-05-14 at 13:47 +, Zindel, Andreas wrote:
> Hello,
>
> I'm using the Apache Jena API in a Jersey web service. The Jena API uses the
> HTTPClient API. When I call specific Jena functions I get an:
>
> javax.servlet.ServletException:
> org.apache.http.conn.ssl.SSLInitializationExc
On Thu, 2014-05-15 at 01:10 +0100, Daniel Feist wrote:
> > I re-ran the benchmark (r1594594) on my computer and unsurprisingly (for
> > me) HC 4.3 comfortably outperformed HC 3.1.
>
> Yes I see the same running this revision. The difference is you are testing:
>
> HttpClient31 vs. HttpClients.cr
On Wed, 2014-05-14 at 19:46 +0100, sebb wrote:
> On 14 May 2014 12:28, Oleg Kalnichevski wrote:
...
> >> Issue is not present in HTTPCLient 3.1
> >
> > Philippe
> >
> > If HttpClient is used correctly, this code should only be executed only
> >
On Wed, 2014-05-14 at 11:46 +0100, Daniel Feist wrote:
> Hi,
>
> I spent a good part of yesterday testing and comparing HttpClient
> performance and the results are interesting: HttpClient 3.1 is 20%
> faster than HttpClient 4.3 when both configured in the same way and
> when using 50 client thre
On Wed, 2014-05-14 at 11:46 +0100, Daniel Feist wrote:
> Hi,
>
> I spent a good part of yesterday testing and comparing HttpClient
> performance and the results are interesting: HttpClient 3.1 is 20%
> faster than HttpClient 4.3 when both configured in the same way and
> when using 50 client thre
On Tue, 2014-05-13 at 23:59 +0200, Philippe Mouawad wrote:
> 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 synchr
On Tue, 2014-05-13 at 17:05 -0700, Gregory Chanan wrote:
> I'm using httpclient (4.3.3) in my application with SPNEGO/Kerberos Auth
> and everything works well when a GET is the first request to a remote
> host. This is consistent with
> http://hc.apache.org/httpcomponents-client-ga/tutorial/html/
On Tue, 2014-05-13 at 12:12 -0400, David R Robison wrote:
> I have a camera I'm trying to connect to and read alarms from. It is
> setup to allow the client to make one GET request and then it
> periodically sends alarm events as a stream of multipart/x-mixed-replace
> chunks. How would I use ht
of unnecessary code but I
have no problem with replacing them with hand crafted classes in order
to reduce lock contention.
Feel free to raise an enhancement request and contribute patches.
Oleg
> On Monday, May 12, 2014 11:17 AM, Oleg Kalnichevski wrote:
>
> On Mon, 2014-05-12 a
On Mon, 2014-05-12 at 00:13 +0100, Daniel Feist wrote:
> Hi,
>
> I'm using HttpClient in a situation where high concurrency is expected
> and am doing some testing/benchmarking using gatling-tool.
>
> While performance isn't bad, things aren't scaling as well as I'd have
> hoped. (I'm running on
On Mon, 2014-05-12 at 13:21 +0100, Daniel Feist wrote:
> >> 2) Can I expect 4.2 to scale better?
> >
> > I do not think so. In my tests HC 4.3 performs better than 4.2. There
> > have also been reports
>
> Even with high concurrency of say 200 and high TPS, for example in a
> http proxy scenario?
On Mon, 2014-05-12 at 13:48 +0200, Oleg Kalnichevski wrote:
> On Mon, 2014-05-12 at 00:13 +0100, Daniel Feist wrote:
> > Hi,
> >
> > I'm using HttpClient in a situation where high concurrency is expected
> > and am doing some testing/benchmarking using gatling-
On Thu, 2014-05-08 at 18:59 +, Boxer, Aaron wrote:
> I am sending files and receiving callbacks when the upload is completed.
> Send requests
> happen at random times. How do I calculate the upload speed at a given time?
>
Use a custom HttpAsyncRequestProducer.
Oleg
--
On Sat, 2014-05-10 at 10:49 +0300, d_k wrote:
> Thank you very much for the help!
>
> So to my understanding after reading the code for BrowserCompatSpec [0] is
> that when using the "CookieSpecs.BROWSER_COMPATIBILITY" when building the
> cookie spec the single cookie header policy is already in p
On May 5, 2014 3:54:59 PM CEST, "Boxer, Aaron" wrote:
>
>>
>> On Fri, 2014-05-02 at 16:23 +, Boxer, Aaron wrote:
>> > Hello List,
>> >
>> > What is the best way of cancelling an httpclient-asynch put ?
>> >
>> > Currently, I am issuing a cancel(true) on the Future I receive back
>from the put
On Sat, 2014-05-03 at 12:57 +, Boxer, Aaron wrote:
>
> From: Oleg Kalnichevski [ol...@apache.org]
> Sent: Saturday, May 03, 2014 7:52 AM
> To: HttpClient User Discussion
> Subject: Re: Cancelling an httpclient-asynch put
>
> On Fri
On Fri, 2014-05-02 at 16:23 +, Boxer, Aaron wrote:
> Hello List,
>
> What is the best way of cancelling an httpclient-asynch put ?
>
> Currently, I am issuing a cancel(true) on the Future I receive back from the
> put call.
>
> But, if I am sending large files, then requests that are in the
On Fri, 2014-05-02 at 13:40 +1000, Perryn Fowler wrote:
> Hello
>
> I am trying to use a cloud service that provides an endpoint url that has
> user/password embedded in the url like so:
>
> https://user:p...@host.com/blah/blah
>
> Sending a request to this URL with httpClient results in a 401 b
On Mon, 2014-04-28 at 23:33 +, Nitu Choudhary wrote:
> I am using InternalHttpClient and would like to print the local port on which
> the request was made. If the request was successful, I can use the
> HttpClientContext to retrieve the local port number. However, if an
> IOException is thr
tml
Oleg
>
>
>
> ____
> From: Oleg Kalnichevski [ol...@apache.org]
> Sent: Monday, April 28, 2014 9:28 AM
> To: HttpClient User Discussion
> Subject: Re: Timeout when sending on slow link
>
> On Sat, 2014-04-26 at 19:52 +, Boxer, Aaron wrote:
> > Hello L
On Sat, 2014-04-26 at 19:52 +, Boxer, Aaron wrote:
> Hello List,
>
> I am using the latest version of httpasynchclient to send six 13 MB files
> over a 10 MBPS link.
> My timeout is set to 30 seconds, and I am getting timeout errors, in the
> following timeout handler:
>
> protected voi
On Thu, 2014-04-24 at 13:10 -0400, Matt Bialek wrote:
> Hello,
> I am attempting to implement proxy chaining, I know it is not supported out
> of the box but my project uses httpclient and they are stubborn about using
> it. I sent up a custom MainClientExec and created a method for tunnel to
> Pro
On Tue, 2014-04-08 at 23:12 +0200, Philippe Mouawad wrote:
> Hello Oleg, all,
> We have a bug report at JMeter Project:
>
>- https://issues.apache.org/bugzilla/show_bug.cgi?id=56358
>
> Analyzing bug, it seems issue is related to path validation.
>
> Few questions:
>
> 1) User reports that
Hi Olivier
HC (both classic and async) always delivers message heads as one entity. I see
little reason to trigger a separate event for status line given that http
message heads are almost always transmitted in one tcp frame and HC parses
headers lazily. There is very little overhead.
Oleg
On
On April 14, 2014 5:05:19 PM CEST, Pavel Bucek wrote:
>Hi all,
>
>is Http(Async)Client capable of handling upgraded request? I mean - can
>
>I somehow plug in my HttpUpgradeHandler [1][2], something similar to
>what was introduced in Servlet 3.1 - non blocking read/write access to
>the underlyin
On Mon, 2014-04-14 at 14:12 +0200, Christopher BROWN wrote:
> Hello,
>
> Using Apache HTTP Client 4.3+, and when tracking down an unrelated issue in
> output from my own tests, I noticed a lot of messages like this showing up
> in logs:
>
> [Finalizer] DEBUG o.a.h.i.c.PoolingHttpClientConnectionM
On Fri, 2014-04-11 at 18:04 +0530, srihari na wrote:
> Hi All,
>
> We are using Apache HTTP client 4.2.5 and we have both connection and
> sockettimeout set. All the requests are passed via proxy (Apache HTTPD).
> During peak loads in our production environments one of the proxy became
> unrespons
1
> On Thu, Mar 13, 2014 at 8:26 AM, Oleg Kalnichevski wrote:
>
> > On Wed, 2014-03-12 at 14:13 -0400, Tad Whitenight wrote:
> > > When upgrading from HttpClient 4.2 to the new APIs (no deprecated use) in
> > > 4.3 I'm observing a 25-30ms increase in average
On April 7, 2014 3:06:35 PM CEST, Jose Dillet wrote:
>Hi,
>
>In our application we have been sharing the connection manager amongst
>HttpClient instances successfully. Due to our desing we want to have
>more
>than one HttpClient
>instance, but sharing the same underlying resources. This has been
>
On Sat, 2014-03-29 at 07:01 -0700, marceau wrote:
> I would like to get bytes sent & received for each get request in a service.
>
> I am aware of the issue in
> https://issues.apache.org/jira/browse/HTTPCLIENT-1081 with HEAD requests,
> and any request where getMetrics() is called after the conne
On Fri, 2014-03-28 at 15:12 +, Matt Russell wrote:
> Hi,
>
> I'm hoping someone can help me diagnose an intermittent "407 Proxy
> Authentication Required" error when using HttpClient through an NTLM proxy.
>
> I've found that I always get a 407 responses, unless I first go and fetch
> any web
ld update IOSession's state (such as
shared I/O buffer) but the actual writing should be performed by the I/O
dispatch thread.
There is a section on asynchronous I/O control for HTTP connections you
may find useful:
http://hc.apache.org/httpcomponents-core-4.3.x/tutorial/html/nio.html#d5e614
On Wed, 2014-03-26 at 23:00 +0530, Sajith Dilshan wrote:
> Hi everyone,
>
> When I set the OP_WRITE event on a particular instance of
> org.apache.http.nio.reactor.IOSession, a worker thread will pick up that
> IOSession and will execute the outputReady(IOSession session) method of the
> respectiv
On March 25, 2014 10:55:20 AM CET, d_k wrote:
>Thank you very much for the support. :-)
>
>So it appears that upgrading httpclient won't solve this issue?
>
This problem can be solved in 4.4 only, so you will have to upgrade no matter
what.
Oleg
On Mon, 2014-03-24 at 21:09 -0400, Nick Chang wrote:
> Hello,
>
> We are using httpclient to build a web proxy application in our product. We
> use 4.2.3 version and it has been working flawlessly. Now I am trying to
> migrate the product's httpclient library from 4.2.3 to 4.3.3 to achieve
> SNI-E
On Tue, 2014-03-25 at 00:03 +, sebb wrote:
> On 24 March 2014 23:01, Christopher BROWN wrote:
> > Hello,
> >
> > This article:
> > http://blog.lunatech.com/2009/02/03/what-every-web-developer-must-know-about-url-encoding
> >
> > ...refers to the pitfalls of using Java's standard URLEncoder / U
gt;
> On Mon, Mar 24, 2014 at 10:11 PM, Oleg Kalnichevski wrote:
>
> > On Mon, 2014-03-24 at 18:38 +0200, d_k wrote:
> > > I'm upgrading a Nutch plugin that used httpclient 3.x and because Nutch
> > was
> > > already dependent on httpclient 4.1.1 I decided
Mar 24, 2014 at 6:00 PM, Oleg Kalnichevski wrote:
>
> > On Mon, 2014-03-24 at 17:54 +0200, d_k wrote:
> > > Hello.
> > >
> > > I'm using httpclient-4.1.1 and i'm trying to authenticate with different
> > > users on different realms but it seems
On Mon, 2014-03-24 at 17:54 +0200, d_k wrote:
> Hello.
>
> I'm using httpclient-4.1.1 and i'm trying to authenticate with different
> users on different realms but it seems to fail.
Before I even start looking into this, is there a reason you are not
using a newer version of HttpClient (preferabl
tgoing-0 << Via: 1.0
> > proxy.hab.desoft.cu (squid/3.1.20)
> > 2014/03/21 11:43:44:259 EDT [DEBUG] headers - http-outgoing-0 <<
> > Connection: close
> > 2014/03/21 11:43:44:259 EDT [DEBUG] HttpAuthenticator - Authentication
> > required
> > 2014/03/21 1
The Apache HttpComponents project is pleased to announce a port
of HttpComponents HttpClient 4.3.3 GA to Google Android.
Apache HttpClient for Android can be deployed on Google Android in
parallel to the outdated version shipped with platform while
remaining partially API compatible with Apache
On Wed, 2014-03-19 at 14:46 -0400, Ray Williams Robinson Valiente wrote:
> Hi:
>
> I'm a fairly new with HttpClient. I'm trying to test it against a NTLM
> proxy but I'm getting error 407 over and over again. What should be
> the correct way to do it? My current code looks like (with proper
> valu
On Fri, 2014-03-14 at 01:29 +0100, Joan Balagueró wrote:
> Hello,
>
>
>
> Migration from 4.1 to 4.3 is finished. Just some questions about certain
> parameters:
>
>
>
> 1. For performance, is it recommended to set true to setTcpNoDelay
> and false to setStaleConnectionCheckEnabled
On Thu, 2014-03-13 at 21:07 +0530, Vicky wrote:
> Hi,
>
> I am using HttpClient 4.0.1. And trying to get proxy working with my SSL
> based http client. Unfortunately i haven't been successful so far.
>
> Could get a not secure http proxy working, but the problem is with https.
>
> Can you provid
On Wed, 2014-03-12 at 14:13 -0400, Tad Whitenight wrote:
> When upgrading from HttpClient 4.2 to the new APIs (no deprecated use) in
> 4.3 I'm observing a 25-30ms increase in average response latency. Anyone
> else observe this or have configuration suggestions while upgrading? I see
> that Request
pclient with a
> builder/s with all the new values.
>
>
> Thanks,
>
> Joan.
>
> -Mensaje original-
> De: Oleg Kalnichevski [mailto:ol...@apache.org]
> Enviado el: miércoles, 12 de marzo de 2014 17:27
> Para: HttpClient User Discussion
> Asunto: Re: Migrating fro
On Wed, 2014-03-12 at 15:46 +0100, Joan Balagueró wrote:
> Hello Oleg,
>
> Thanks. But taking this example:
>
> RequestConfig.Builder builder = RequestConfig.custom(); if (proxyPort != 0) {
> builder.setProxy(new HttpHost(proxyHost, proxyPort)) } RequestConfig
> config = builder.build();
>
On Tue, 2014-03-11 at 12:43 +0100, Joan Balagueró wrote:
> Hello,
>
...
>
>
> 1. Where can I set the manager connection timeout?
>
> HttpClientParams.setConnectionManagerTimeout(this.objHttpParams, 1);
RequestConfig config = RequestConfig.custom()
.setConnectionRequestTimeout(1)
On Mon, 2014-03-10 at 19:04 +0200, d_k wrote:
> I'm using HttpClient 4.1.1 and i'm performing multiple requests to several
> web servers (using nutch 2.x) that requires authentication.
>
> I've read that I can save the authentication state between calls by passing
> the same HttpContext but that I
is
your friend.
http://hc.apache.org/httpcomponents-client-4.3.x/tutorial/html/connmgmt.html#d5e380
Oleg
> -Joseph
>
> -Original Message-
> From: Oleg Kalnichevski [mailto:ol...@apache.org]
> Sent: Tuesday, March 04, 2014 8:14 AM
> To: HttpClient User Discussion
> Subje
On Wed, 2014-03-05 at 14:57 +0200, Jose Dillet wrote:
> I have observed some differences between httpasyncclient 4.0-beta3 and
> 4.0.1 when the client is closed / shutdown and there are still pending
> requests.
> This can be observed by running AsyncClientHttpExchange and closing the
> client whil
On Tue, 2014-03-04 at 15:36 +, PASSANITI Frédéric wrote:
> Hello,
>
>
>
> Is it possible to do some POST queries with nio httpcore library ?
>
Of course, it is.
> I’m using the BasicHttpRequestobject to create GET queries, but if I
> want to write/add binary content into a POST query I
On Mon, 2014-03-03 at 12:59 +, Alex, Joseph (Contractor) wrote:
> Hi,
>
> We use HttpClient 3.1 and Httpcomponents 4.2.x in some of our apps with
> MultiThreadedHttpConnectionManager and PoolingClientConnectionManager
> respectively. Some of our server endpoints use a Global Name which can b
The Apache HttpComponents project is pleased to announce 4.0.1 GA
release of HttpComponents HttpAsyncClient.
This maintenance release fixes a number of bugs including incorrect OSGi
bundle metadata found since release 4.0. This release also upgrades
HttpCore and HttpClient dependencies to the late
ions.
Oleg
> Regards,
> Nir
>
> -Original Message-
> From: Oleg Kalnichevski [mailto:ol...@apache.org]
> Sent: Wednesday, February 19, 2014 1:18 PM
> To: HttpClient User Discussion
> Subject: Re: connections left in CLOSE_WAIT state
>
> On Wed, 2014-02-19 at 10:3
On Wed, 2014-02-19 at 10:33 +, Nir Dweck wrote:
> Hi,
> I am using httpclient version 4.2.3.
> I did a split proxy, which receives an HTTP requests, opens its body in order
> to log its content and then sends the content in two requests, one for the
> local host server and the other to a diff
The Apache HttpComponents project is pleased to announce 4.3.2 GA
release of HttpComponents Core.
This is a maintenance release that fixes a number of bugs and
regressions found since 4.3.1, mostly in the NIO transport components.
All users of HttpCore 4.3 are advised to upgrade.
Download -
On Mon, 2014-02-17 at 12:40 +0200, Yoram Dayagi (Gmail) wrote:
> Hi
> Below is the log of the following scenario:
> 1. Create an async client with MaxConnPerRoute=1
> 2. Start a request
> 3. Wait for 100ms and shutdown the channel (using ioctrl.shutdown)
> 4. Wait for 2000ms and start another requ
On Mon, 2014-02-17 at 11:23 +0200, Yoram Dayagi (Gmail) wrote:
> I want to start an async GET request for a big file. Then, at some point,
> while the content is still being received, I would like to cancel the request
> from another thread and close all relevant resources.
>
> I tried to achiev
On Sun, 2014-02-16 at 16:30 +0200, Yoram Dayagi (Gmail) wrote:
> Hi
> I would like to use HttpAsyncClient in order to execute async requests.
> Is it possible to abort an executing request from another thread?
>
What exactly do you mean by aborting request execution? Unblocking a
thread awaiting
On Fri, 2014-02-14 at 21:15 +, Kiran Chitturi wrote:
> Hi,
>
>
> I am using http client 4.3.2 and I have a few questions.
>
> 1) I am making lot of concurrent requests to a server. When creating
> requests, I want to debug and check which ports are newly created by the
> client. Currently
On Sun, 2014-02-16 at 14:15 +0100, Philippe Mouawad wrote:
> Hello Oleg,
> We have one enabled using:
> new DefaultHttpRequestRetryHandler(RETRY_COUNT, false)
>
> RETRY_COUNT is set to 0 by default but can be changed.
>
> Do you mean we should not set it to 0 ?
This obviously needs to be a posit
On Sat, 2014-02-15 at 17:06 +0100, Sebastiano Vigna wrote:
> On 15 Feb 2014, at 12:47 PM, Oleg Kalnichevski wrote:
>
> > The problem mostly likely has been introduced by HTTPCLIENT-1432 [1]. I
> > reviewed the patch once more and could not find anything obviously wrong
> >
r some specific type of exceptions (like 'server
failed to respond').
Oleg
> 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
>
> > w
keepAlive(response, context);
}
};
---
Hope this helps
Oleg
> 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 ,
> > &g
; > Philippe
> >
> > I am not sure I remember the context. Is it about turning off stale
> > connection checking?
> >
> > Oleg
> >
> > >
> > > On Wed, Dec 11, 2013 at 9:50 AM, Oleg Kalnichevski
> > > >
> > wrote:
> > &
On Sat, 2014-02-15 at 11:22 +0100, Sebastiano Vigna wrote:
> Something happened from HttpClient 4.3.1 to 4.3.2.
>
> All of a sudden, we are seeing an immense amount of CPU spent into inflating
> compressed HTTP responses. We were experimenting >5000 pages/s two months
> ago, but less than 1200
er person:
> https://twitter.com/cfwhisperer/status/428278488349417472
>
> Regards
> Philippe
>
Philippe
I am not sure I remember the context. Is it about turning off stale
connection checking?
Oleg
>
> On Wed, Dec 11, 2013 at 9:50 AM, Oleg Kalnichevski wrote:
>
>
trategy.INSTANCE)
> .build();
>
Can happen if the proxy auth strategy tries to pick up an auth scheme
from the list of preferred schemes still containing NTLM and SPNEGO.
Oleg
>
>
> On 12 February 2014 00:58, Oleg Kalnichevski wrote:
>
> > On T
On Tue, 2014-02-11 at 09:18 -0500, Gary Gregory wrote:
> On Tue, Feb 11, 2014 at 8:58 AM, Oleg Kalnichevski wrote:
...
> > ---
> > RequestConfig config = RequestConfig.custom()
> > .setTargetPreferredAuthSchemes(Arrays.asList("BASIC"))
> >
>
On Tue, 2014-02-11 at 14:20 +1100, Brett Ryan wrote:
> If a server supports NTLM and Kerberos authentication, but when setting up
> the client I only provide basic credentials I get a log for each of the NTLM
> and NEGOTIATE authentication schemes.
>
> Taking the example from :
> https://hc.apa
On Mon, 2014-02-10 at 20:57 -0800, Ken Krugler wrote:
> If you're crawling web pages, you need to have a limit to the amount of data
> any page returns.
>
> Otherwise you'll eventually run into a site that returns an unbounded amount
> of data, which will kill your JVM.
>
> See SimpleHttpFetche
On Mon, 2014-02-03 at 17:32 -0800, Noah Levitt wrote:
> Someone asked in 2011 how to trim default ports from the Host request
> header. The answer from that time refers to deprecated code.
> http://httpcomponents.10934.n7.nabble.com/Trimming-port-80-in-request-Host-header-td7402.html
>
> What is t
Folks
I am working on a port of HttpClient 4.3 to Android. This library is
expected to provide full compatibility with HttpClient APIs shipped with
Android while delivering all features of HttpClient 4.3
More details can be found here:
http://hc.apache.org/httpcomponents-client-4.3.x/android-port
On Thu, 2014-01-30 at 15:59 +0100, Antoine Bonavita wrote:
> Hello,
>
> On 01/30/2014 01:43 PM, Oleg Kalnichevski wrote:
> > On Thu, 2014-01-30 at 13:07 +0100, Antoine Bonavita wrote:
> >> Hello,
> >>
> >> I'm investigating an issue with our appli
1001 - 1100 of 3242 matches
Mail list logo