Hi all,
Is it possible to change the order of the HTTP headers sent by the HttpGet
request? (HttpClient 4.5)
I am specifically looking for sending the Host header first. Although I can
influence the order with setHeader and addHeader methods for headers like
HttpHeaders.USER_AGENT, Accept and
Thank you Oleg
Murat Balkan
On Dec 4, 2016 9:06 AM, "Oleg Kalnichevski" <ol...@apache.org> wrote:
> On Fri, 2016-12-02 at 12:55 -0500, Murat Balkan wrote:
> > Hi all,
> >
> > When I do httpclient.execute to the url (
> > https://mc.yandex.ru/metrik
Hi all,
When I do httpclient.execute to the url (
https://mc.yandex.ru/metrika/watch.js) the the execute call hangs more than
the timeout parameters. I have socket timeout set to 15 seconds and
connect timeout set to 15 seconds.
That site has a DNS round robin and it seems that Httpclient
Hi,
Whats the best way to reach the request target Url from the HttpContext
object?
Thank you,
Murat
ds
>
> Gruss
> Bernd
> --
> http://bernd.eckenfels.net
>
>
>
>
> On Thu, Nov 10, 2016 at 11:15 AM +0100, "Oleg Kalnichevski" <
> ol...@apache.org> wrote:
>
>
>
>
>
>
>
>
>
>
> On Wed, 2016-11-09 at 09:05 -0500, Murat Bal
Hello,
Is it possible to set a retry handler per HttpGet? The following code taken
from the documentation only applies to 3x and seems to be deprecated.
httpget.getParams().
setParameter(HttpMethodParams.RETRY_HANDLER, myretryhandler);
What I want to achieve is to set
ver parameter)
My question is, shouldn't socket timeout timer kick in as soon as the
socket is open? Does it need at least 1 packet to arrive at the client?
Thanks
On 8 November 2016 at 07:35, Oleg Kalnichevski <ol...@apache.org> wrote:
> On November 7, 2016 9:16:19 PM GMT+01:00, Murat B
Hi,
Which timer does the NoHttpResponseException use? My socket timeout is set
around 30 and connection timeout is set to 20. However, I see that in some
cases, this exception is thrown after more than 50 seconds.
Is there a timeout for org.apache.http.NoHttpResponseException?
Thanks
Murat
Hi,
I am measuring the response duration by getting the system time before the
get call and after the get call and take the difference between them.
However, when the retry is enabled, (my retryhandler returns true) this
part gives me the total time.
Is it possible to get the last duration oob?
connection reset by peer, client connection reset ))
Shouldn't NoConnectionReuse strategy cancel this re-use behavior? Can my
setConnectionManager(cm) call overriding HttpClientBuilder parameters?
Thank you,
Murat
On Tue, Oct 18, 2016 at 8:43 PM, Murat Balkan <mrbal...@gmail.com> wrote
Hi,
I wonder if I can get HTTP connection setup duration from HttpClient.
I have visibility to the DNS resolve time via the custom resolvers but not
the connect duration.
If the total page download duration is too much, I want to break down this
total duration into TCP connection duration and
r implementations respect the
> Connection: close header
>
> 2016-10-18 16:35 GMT+02:00 Murat Balkan <mrbal...@gmail.com>:
>
> > I checked with the RFC and it seems if provided, "connection: close"
> header
> > is a MUST rather than SHOULD. So, it should not up to server
fan Magnus Landrø <
stefan.lan...@gmail.com> wrote:
> Why would you think so?
>
> 2016-10-18 16:10 GMT+02:00 Murat Balkan <mrbal...@gmail.com>:
>
> > Thanks Oleg,
> > One question. I think it would be up to server implementation whether to
> > take these p
> > Murat,
> >
> > On Mon, Oct 17, 2016 at 8:11 PM, Murat Balkan <mrbal...@gmail.com>
> wrote:
> > > I see. I think that also means that I cannot share the
> ClosableHttpClient
> > > instance among multiple threads as each client can refer to
of the route provided?
Regards.
Murat
On Mon, Oct 17, 2016 at 5:05 PM, Bhowmik, Bindul <bindulbhow...@gmail.com>
wrote:
> Murat,
>
> On Mon, Oct 17, 2016 at 12:58 PM, Murat Balkan <mrbal...@gmail.com> wrote:
> > Hi Bindul,
> > Thanks for the answer.
> > I was
how...@gmail.com>
wrote:
> Murat,
>
> On Mon, Oct 17, 2016 at 11:12 AM, Murat Balkan <mrbal...@gmail.com> wrote:
> > Hi,
> >
> > We are using PoolingHttpClientConnectionManager to open up connections
> to
> > multiple URL's in different threads (via differ
Hi,
We are using PoolingHttpClientConnectionManager to open up connections to
multiple URL's in different threads (via different HttpGet objects).
The only reason we are using the PoolingHttpClientConnectionManager is its'
performance in multi-thread environments (as suggested by the
Hi,
I will send out more than 100 get requests to several sites. However, I'd like
to use different DNS Server settings for each of them. What is the most
efficient way of doing this?
As long as I know the setDns function is only applicable to
PoolingHttpClientConnectionManager so do I need to
ry adding an Accept Header, the server you are contacting appears to
> reject all requests without one
>
> httpGet.addHeader("Accept",
> "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8");
>
> Tim
> _
e Mouawad <
philippe.moua...@gmail.com> wrote:
> hi,
> Can you show your httpclient code and mention which versions you used for
> httpcore and httpclient and java exact version
>
> thx
>
> On Monday, February 22, 2016, Murat Balkan <mrbal...@gmail.com> wrote:
>
Mon, 2016-02-22 at 11:27 -0500, Murat Balkan wrote:
> > Can you please suggest me how HttpClient can get the page like
> > HttpUrlConnection? or Google Chrome?
>
> Capture a session between a browser or HttpUrlConnection using Wireshark
> or browser plugin of your choosing.
he Client.
> > Thnaks
> > Murat
>
> You are very welcome to disagree.
>
> Your own log clearly show that the problem has nothing to do with SSL
> and is caused by peer connection reset.
>
> Oleg
>
>
> >
> > On Mon, Feb 22, 2016 at 11:14 AM, Oleg Kalnichevs
<ol...@apache.org>
wrote:
> On Mon, 2016-02-22 at 10:57 -0500, Murat Balkan wrote:
> > I enabled the debug log and it seems the connection is established . Any
> > ideas? Attaching below:
> >
> > 2016/02/22 10:49:45:146 EST [DEBUG] DefaultHttpClientConnectionOper
nnection
2016/02/22 10:49:45:419 EST [DEBUG] MainClientExec - Connection discarded
On Sat, Feb 20, 2016 at 10:51 PM, Murat Balkan <mrbal...@gmail.com> wrote:
> Hi,
>
> I have a problem with HttpClient. (All versions, seems to have the same)
>
> When I try to connect an Https s
Hi,
I have a problem with HttpClient. (All versions, seems to have the same)
When I try to connect an Https site (specifically so.n11.com) I got a
connection reset error after the handshake is finalized. If I try to call
the same URL with HttpUrlConnection, I dont get any errors. The browsers
25 matches
Mail list logo