Sébastien Nussbaumer wrote:
Hi all !
I've been using HttpClient 3.1 for quite a while now to do multipart file
uploads to an http server.
I've added a quick hack to FilePart.sendData in order to know how many bytes
are being written to the outputStream and have an idea of the progress of
the
Al Byers wrote:
In working with this problem I am seeing a difference in what the
BasicCookieStore stores and what is in the headers. Here is my code:
BasicHttpContext localContext = new BasicHttpContext();
// Create a local instance of cookie store
Al Byers wrote:
I was able to work around my problem by grabbing the JSESSIONID header out
of the first response and sticking it on the url of the second request. I
would prefer to find the right solution. When I take the JSESSIONID header
from the first response and add it as a header to the
Chris Lowe wrote:
Hello,
I'd like to use HttpClient 4.0b1 and HttpCore 4.0b3 to create a stress test
application from which I need to get the following stats:
Connection hand shake time;
Time to first byte sent/recevied;
Time to last byte received;
Overall connection metrics - total bytes sent
Cheers,
Chris.
2008/11/23 Oleg Kalnichevski [EMAIL PROTECTED]
Chris Lowe wrote:
Hello,
I'd like to use HttpClient 4.0b1 and HttpCore 4.0b3 to create a stress
test
application from which I need to get the following stats:
Connection hand shake time;
Time to first byte sent/recevied;
Time
On Mon, 2008-11-24 at 12:05 +0100, Pieter Coucke wrote:
Hi,
I would like to use a proxy (Squid) with the example code from
http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java.
I tried to set the params with
On Mon, Nov 24, 2008 at 1:53 PM, Oleg Kalnichevski [EMAIL PROTECTED] wrote:
On Mon, 2008-11-24 at 12:05 +0100, Pieter Coucke wrote:
Hi,
I would like to use a proxy (Squid) with the example code from
http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/src
Vishwas Babu wrote:
Hi,
I am trying to make multiple posts over a https channel (basically fill out
an interview process).The first post works fine and the desired response is
obtained from the server, however the second post is causing an internal
Error on the remote server, assuming that
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.IllegalStateException: Unable to establish route.
planned = HttpRoute[{}-https://localhost:443]
current =
Stuart White wrote:
This question is in response to the following post:
http://marc.info/?l=httpclient-usersm=121147890106497w=2
This message describes the appropriate way to determine where an http
request was redirected.
It seems that this code does not function properly when going through
Oleg Kalnichevski wrote:
Stuart White wrote:
This question is in response to the following post:
http://marc.info/?l=httpclient-usersm=121147890106497w=2
This message describes the appropriate way to determine where an http
request was redirected.
It seems that this code does not function
On Thu, 2008-12-11 at 01:48 -0800, Arul Govindarajan wrote:
Turns out that the problem is not with the SSL.
Well, that can well be but 'java.security.cert.CertificateException:
Certificate not Trusted' can be caused by a problem with the SSL context
setup only.
But, the authentication cookie
On Thu, 2008-12-11 at 10:55 +0100, Michael Mattes wrote:
Hi everybody,
I want my HttpGet method to not follow redirects, but I am missing the
setFollowRedirects() method in the new HttpGet class. Any suggestions on what
would be the new approach for this in HttpClient 4.0-beta1?
Set
Domet De Mont, Dominique (d3m) wrote:
Hi Oleg,
Actually, I turned the wire log on to confirm the 'nullified' parameters
encoding: I got this trace:
Wire|0| DEBUG | http://130.211.1.96/ccxmlsession_96_830_110700/event_288797
null=nullnull=null
So I added a PostMethod dump before and
.
What happens if browser
3001 calls the servlet?
The request will block until a connection becomes available
Oleg
Thank You for Your help!
Oleg Kalnichevski ol...@apache.org
11.12.2008 16:56
Please respond to
HttpClient User Discussion httpclient-users@hc.apache.org
To
HttpClient
Stuart White wrote:
Hmmm... no, it doesn't seem fixed to me.
This morning I grabbed the latest svn trunk snapshots of httpcode and
httpclient. For httpclient I'm using revision 726436, and for
httpcore I'm using revision 726437.
I execute the following code:
package example;
import
On Wed, 2008-12-17 at 13:34 -0600, Stuart White wrote:
The behavior of HttpUriRequest.getURI() seems to be inconsistent,
depending on whether the request goes through a proxy or not.
For this example, I'm attempting to access http://zeroc.com/download.html.
Please see the attached source
On Thu, 2008-12-18 at 11:33 -0800, TomStrummer wrote:
Hi,
I'm working on a project that creates a simple HTTP client builder DSL for
the Groovy programming language
(http://groovy.codehaus.org/modules/http-builder/). Built on HttpClient 4.
One feature I'm trying to add is a builder that
On Fri, 2008-12-19 at 08:45 +0530, Sukrit Dhandhania wrote:
Hi,
I'm using HttpClient 3.0 [stable] on a Linux box. I randomly get the
following error. I've tried a number of possible solutions to try and
make this go away, with little luck. Would anyone on the list have a
possible
The HttpComponents project is pleased to announce the release of
HttpComponents HttpClient 4.0-beta2. This is a maintenance release,
which addresses a number of issues discovered since the previous release.
The only significant new feature is an addition of an OSGi compliant
bundle combining
, target);
}
return uri;
}
On Fri, Dec 19, 2008 at 7:51 AM, Oleg Kalnichevski ol...@apache.org wrote:
On Wed, 2008-12-17 at 13:34 -0600, Stuart White wrote:
The behavior of HttpUriRequest.getURI() seems to be inconsistent,
depending on whether the request goes through a proxy
TomStrummer wrote:
olegk wrote:
ThreadSafeClientConnManager and ThreadPoolExecutor serve completely
different purposes and are complimentary in their functions. The former
manages a pool of objects, whereas the latter manages threads of
execution. One can use ThreadPoolExecutor to execute
On Mon, 2008-12-22 at 17:46 +0800, alin(王霖) wrote:
HI:
I use httpclient3 and httpclient4 for a multi-thread load test, and
always set http request header with Connection:Keep-Alive.
When i input command netstat -na | grep myserverhost:myserverport in
console(My system is windows xp + cygwin)
On Mon, 2008-12-22 at 06:41 -0800, TomStrummer wrote:
olegk wrote:
I think so, but I just do not see a point. Why not just setting a higher
connections per host number? TSCM does not pre-allocate connections, so
the pool will never grow, unless really needed.
I guess the
On Wed, 2009-01-07 at 01:57 -0800, sveno wrote:
Hi,
I am looking for a basic example using NHttpClientConnection where It can be
used to submit HTTP requests and asynchronously receive HTTP responses.
In my app, I am extablishing a connection and freeze the connection for few
minutes in
slytherine wrote:
olegk wrote:
Works for me. Please note this example will NOT be able to connect to
remote hosts if you are behind a firewall of some kind.
Feel free to add more output to the console to see why connect requests
fail.
You may be right here. connect request fails even
Tim Williams wrote:
I'm using the MultiThreadedConnectionManager with HttpClient and 2-way
ssl similar to the example[1] and having problems. The very first
request goes through and returns HTTP 200 Ok. All subsequent requests
return HTTP 401. This happens when I run this inside a webapp
On Fri, 2009-01-16 at 15:27 +0200, Roger Varley wrote:
Hi
I'm using httpclient 3.1 indirectly through htmlunit. I believe that
httpclient is used for managing the connection and data transmission. If I'm
incorrect please forgive me and ignore me :)
I'm sending a GET request and the
operations.
Oleg
/regards, Håkan
19 jan 2009 kl. 15.14 skrev Oleg Kalnichevski:
On Mon, 2009-01-19 at 11:39 +0100, hakan.jacobsson wrote:
Hi,
I'm using HttpClient 3.1 to connect to a server.
I've set both the connection timeout and the socket timeout.
I set the connection
On Mon, 2009-01-19 at 16:43 +0100, Chad La Joie wrote:
Oleg Kalnichevski wrote:
Socket timeout is the maximum period of inactivity between two
_consecutive_ read operations.
One issue might be that this isn't in the documentation. What you said
is actually different than what
On Mon, 2009-01-19 at 17:21 +0100, Chad La Joie wrote:
I agree, that's why I said it would help if it were documented which (if
any) of those were the actual behavior.
We happily accept Javadoc patches / documentation contributions.
Oleg
Oleg Kalnichevski wrote:
Guessing does
which (if
any) of those were the actual behavior.
Oleg Kalnichevski wrote:
Guessing does not always help.
--
SWITCH
Serving Swiss Universities
--
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone
java.net.Socket#setSoTimeout(int)?
Oleg Kalnichevski wrote:
We happily accept Javadoc patches / documentation contributions.
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e
).
Recommended.
Oleg
/best regards, Håkan - and thanx for your patience
19 jan 2009 kl. 17.56 skrev Oleg Kalnichevski:
On Mon, 2009-01-19 at 17:38 +0100, hakan.jacobsson wrote:
Oleg,
You said:
Socket timeout is the maximum period of inactivity between two
_consecutive_ read operations.
So
slytherine wrote:
olegk wrote:
HttpCore is a toolkit of low level transport components one can use to
build custom HTTP services. It does not provide support for HTTP proxies
out of the box. You'll have to program it by yourself if you want to be
able to send HTTP requests via a proxy
arnab_ghosh wrote:
Hi,
I am using HttpClient for generating a FileDownLoad.
Let me give a small explanation of the scenario.
I have Webservice which returns me a file as an InputStream. I am using
Stripes as the Web Framework.
Here goes the code:
.Other code
try {
manner. So,
instead of retrieving content of the ad synchronously, respond to the
client without blocking and make the browser download the content of the
ad asynchronously, either using AJAX or an iframe.
Hope this helps
Oleg
/regards, Håkan
19 jan 2009 kl. 19.50 skrev Oleg Kalnichevski
TomStrummer wrote:
I have this URL:
https://oxbranch.optionsxpress.com/accountservice/account.asmx/GetOxSessionWithSource
If you hit it from your browser, you will probably get a 500 response and a
stacktrace printed. OK -- this is what we want.
However, hit it from HttpClient and you'll get
TomStrummer wrote:
I've gone over those instructions and a dozen variants. Like I said, I've
imported the cert into a JKS keystore and use that in my SSLSocketFactory.
No dice.
There's no client authentication; it's just trying to authenticate the
server against a trusted CA and I think
Pete Keyes wrote:
That isn't what you need to do. You need to: getResponseBodyAsStream()
Or some other method to flush the socket - the status has nothing to do with
the response body.
I do not mean to hijack the discussion, but I thought I should mention
that
natarajan_va...@emc.com wrote:
Oleg, thanks for adding your comments. We call releaseConnection method
in finally. Can you think of anything else which might cause this
problem? Again, I'm not saying that this is a bug in httpclient and
thank you for confirming. I am seeking some help to fix the
: Oleg Kalnichevski [mailto:ol...@apache.org]
Sent: Thursday, January 22, 2009 2:37 PM
To: HttpClient User Discussion
Subject: Re: stream corruption
natarajan_va...@emc.com wrote:
Oleg, thanks for adding your comments. We call releaseConnection
method
in finally. Can you think of anything
other ideas
to investigate or fix this problem?
Thanks
Valli
-Original Message-
From: Oleg Kalnichevski [mailto:ol...@apache.org]
Sent: Friday, January 23, 2009 8:02 AM
To: HttpClient User Discussion
Subject: RE: stream corruption
On Fri, 2009-01-23 at 01:32 -0500
On Fri, 2009-01-23 at 11:45 -0800, joeweder wrote:
I have a application that will talk to several hosts (from 1 to 25). For each
host, it will make repeated (timed interval) ongoing GETs and POSTs to a few
ports.
QUESTION: What is the recommended usage of the
PercyChris @ Hotmail wrote:
Dear,
I am using the HTTP Client 3.1 with JAVA JDK 1.6
I am connecting to an Apache (redundant) server using HTTPS.
All works fine until I kill the Apache server.
The program is made to switch to the second server when it detects a problem
with the first.
joeweder wrote:
Thanks Oleg!
But I am confused; how can a single HttpClient instance work for many hosts
(e.g., http://abc.com, and https://xyz.com:3331) when it seems to have a
single instance of HostConfiguration?
HttpClient 3.x API is awful. This is the reason I have been urging
people
PercyChris @ Hotmail wrote:
It does not. The hostconfiguration object is switched, multiple are
configured and are round robbed when an IOexception is detected.
Sorry. I do not understand.
Oleg
-Original Message-
From: joeweder [mailto:joewe...@gmail.com]
Sent: maandag 26
/apidocs/org/apache/commons/httpclient/HttpClient.html#executeMethod(org.apache.commons.httpclient.HostConfiguration,%20org.apache.commons.httpclient.HttpMethod,%20org.apache.commons.httpclient.HttpState)
Hope this helps
Oleg
-Original Message-
From: Oleg Kalnichevski [mailto:ol
Joan Balagueró wrote:
Hello,
I’m migrating code from httpclient3 to httpcllient4, and there are some
things I do with httpclient3 that I’m not sure how to do with httpclient4. I
think my problems are in how to enable/disable cookies at connection manager
level, and how to manage idle
suitable for use with GET.
Joan,
Javadocs are misleading. String generated by this method can also be
used as a query component in request URIs.
Oleg
Thanks,
Joan.
-Mensaje original-
De: Oleg Kalnichevski [mailto:ol...@apache.org]
Enviado el: jueves, 29 de enero de 2009 23:44
ying lcs wrote:
I have the following code which uses HttpClient to do a post request.
Can you please tell tell me what is a good way to test it? Can I
create a mock http server object for the test to run against?
HttpClient cli = getClient();
HttpPost method;
method = new HttpPost(url);
Joan Balagueró wrote:
Hello,
Just a question about exceptions sending http requests.
If I set a very low value to
HttpConnectionParams.setConnectionTimeout(this.objHttpParams,
connectionTimeout), httpclient throws “SocketTimeoutException” with the
message “connect timed out”, but I
On Sat, 2009-01-31 at 10:09 -0800, ying lcs wrote:
On 1/31/09, Oleg Kalnichevski ol...@apache.org wrote:
ying lcs wrote:
I have the following code which uses HttpClient to do a post request.
Can you please tell tell me what is a good way to test it? Can I
create a mock http server
Folks
I have finally completed documentation for HttpCore. You can find the
preview of API docs here:
http://people.apache.org/~olegk/httpcore-4.0-final/doc/site/apidocs/
The HttpCore tutorial can be found here:
[html]
http://people.apache.org/~olegk/httpcore-4.0-final/doc/docbkx/html/
On Mon, 2009-02-02 at 14:35 +0100, Joan Balagueró wrote:
Hello,
To set a retryHandler:
this.objHttp.setHttpRequestRetryHandler(new
DefaultHttpRequestRetryHandler(retryHttp, false));
But if I want to disable this retry handler (because the user doesn’t want
to retry anything),
On Mon, 2009-02-02 at 09:30 -0800, stoli wrote:
Once again, thanks for the help. Ultimately, the solution involved several
things. I think the single-cookie-header parameter was one piece of the
puzzle. The rest of the problems were with the login process at the site. I
found an invaluable
Todd W Lainhart wrote:
I'm working on a prototype where I hide the HttpServletRequest/Response
objects and the various servlet goo-age behind HttpRequest/Response.
Imagine that a servlet is calling out to a handler of a service(...)
where the parameters are HttpRequest/Response, populated by
degradation on streaming
content. I thought that I might be able to somehow bridge the
outputStream from HttpServletResponse to HttpResponse, but I haven't
looked into that yet, or thought that through.
-- Todd
From:
Oleg Kalnichevski ol...@apache.org
To:
HttpClient User Discussion httpclient
alee amin wrote:
I need to disable the logging of httpClient - all logging. I have read the
settings from logging page but i am not able to disable logs. can someone
guide me.
..alee
http://techboard.wordpress.com
Just set 'org.apache.commons.httpclient' logging category to FATAL priority.
Joan Balagueró wrote:
Hello,
I’m testing HttpClient4, and I’ve found the following problem.
I set MaxTotalConnections to Integer.MAX_VALUE:
ConnManagerParams.setMaxTotalConnections(this.objHttpParams,
Integer.MAX_VALUE);
But when I send 5 simultaneous requests, I get 2
Todd W Lainhart wrote:
The Servlet API would take care of incoming connections and
HttpCore would be used to transform the incoming request and forward it
to the target server?
That's right. Imagine an AbstractServlet that implementors would derive
from, whose service method looked
On Thu, 2009-02-05 at 19:15 -0500, brien colwell wrote:
hi all,
Hi Brian
i have lingering io event dispatch threads when using the nio http
client ... is there a correct way to shut down the io event dispatch?
Yes, there is
Joan Balagueró wrote:
Thanks Oleg. It seems strange to me because HttpClient3 (sending requests to
the same server) never fails. I'll take a look at the code again and I'll
comment you something else.
I do not know why the server chokes on packets generated by HttpClient
4, but this is
sebb wrote:
On 06/02/2009, Oleg Kalnichevski ol...@apache.org wrote:
Joan Balagueró wrote:
Thanks Oleg. It seems strange to me because HttpClient3 (sending requests
to
the same server) never fails. I'll take a look at the code again and I'll
comment you something else.
I do not know why
://techboard.wordpress.com
On Fri, Feb 6, 2009 at 1:41 AM, Oleg Kalnichevski ol...@apache.org wrote:
alee amin wrote:
I need to disable the logging of httpClient - all logging. I have read the
settings from logging page but i am not able to disable logs. can
someone
guide me.
..alee
http
Will McQueen wrote:
Hi,
Is a singe instance of MultiThreadedHttpConnectionManager designed to be used
with more than one HttpClient? eg:
MultiThreadedHttpConnectionManager connMgr = new
MultiThreadedHttpConnectionManager(); //used with both client1 and client2
HttpClient client1 = new
Arash Joorabchi wrote:
Hi all,
I am using MultiThreadedHttpConnectionManager in httpClient 3.1 to send 10
get methods to the Library of Congress SRU server
(http://z3950.loc.gov:7090/) concurrently each time. After running about 35
queries I get “server failed to respond” exceptions. In this
Arash Joorabchi wrote:
olegk wrote:
Arash Joorabchi wrote:
Hi all,
I am using MultiThreadedHttpConnectionManager in httpClient 3.1 to send
10
get methods to the Library of Congress SRU server
(http://z3950.loc.gov:7090/) concurrently each time. After running about
35
queries I get “server
Pere Lluís Albert wrote:
Hello,
I get this warning when I have a HTTP Timeout
SimpleHttpConnectionManager being used incorrectly. Be sure that
HttpMethod.releaseConnection() is always called and that only one
thread and/or method is using this connection manager at a time.
Is it normal? Am I
Michael Baierl wrote:
Hi there,
I have some pretty simple code that is not working through a proxy.
What I have:
-) an open proxy which does not require authentication
-) the proxy listens on port 80
-) I verified using curl that everything works as expected
What I want to do:
-) request
;);
method.setParams(http);
But I still get the CircularRedirectException.
Any help is appreciated.
On Wed, Feb 11, 2009 at 11:55 AM, Oleg Kalnichevski ol...@apache.orgwrote:
Larry Homes wrote:
Hello,
Apache Httpclient is throwing a CircularRedirectException. I know the
redirect is in fact not a circular
method = new GetMethod(
http://portal.acm.org/results.cfm?coll=Portalquery=SomeCRazyString);
method.getParams().setParameter(http.protocol.allow-circular-redirects,
true);
and it still throws the exception
Post context / wire log
Oleg
On Wed, Feb 11, 2009 at 5:07 PM, Oleg Kalnichevski ol
, Oleg Kalnichevski ol...@apache.org wrote:
Larry Homes wrote:
Ahh you are right. I read your previous email too quickly. However,
correcting that mistake does not solve the problem.
From here:
http://hc.apache.org/httpclient-3.x/preference-api.html
I saw another way to set the Params so here
Larry Homes wrote:
Ok that is simple enough.
Larry
Set 'http.protocol.allow-circular-redirects' at the HttpClient level.
Sorry, I should have spotted the mistake in one of your previous messages.
Oleg
On Thu, Feb 12, 2009 at 2:21 PM, Oleg Kalnichevski ol...@apache.org
mailto:ol
Florent Georges wrote:
Hi,
As far as I've seen, it's possible to provide an InputStream to represent the
content of a POST request, but it is not possible to write that content to an
OutputStream, as in HttpURLConnection with its method getOutputStream().
Is there any way to push the
Florent Georges wrote:
Hi,
I am trying to activate logs in Http Client 4.0. Actually the
ability to have logs was one of the reasons I looked at Http
Client. But it seems this is not available anymore in Http
Client 4.0.
From httpcore-tutorial.pdf, in 2.8.4. Connection
event listener:
On Fri, 2009-02-20 at 09:41 +, Florent Georges wrote:
Oleg Kalnichevski wrote:
Hi,
Do you have any advice on logging with Http Client 4.0?
That applies to NIO reactors only, which are not used by
HttpClient 4.0.
Thanks for your response. Are there any plan to add
Pilot77 wrote:
I am using Simple Log in HttpClient 3.1 to log wire activity, but every
character in the xml header appears on a separate line. As you can see,
after the xml header, the logging begins normally although about half the
time, it continues with each character on a separate line. Any
Scott Mueller wrote:
I tried to add cookies like this, but no cookies are set as can be seen by
the actual http post:
DefaultHttpClient client = new DefaultHttpClient();
client.getCookieStore().addCookie(new BasicClientCookie(JSESSIONID,
getParameter(session)));
You also need to correctly set
Scott Mueller wrote:
I need to know the redirect location of a post and I don't want to follow
redirects (which it is currently doing by default). How should this be
handled? I'm looking at the Javadocs and see a
DefaultHttpClient.setRedirectHandler() method that takes a RedirectHandler.
Scott Mueller wrote:
By the way, this example code of setting cookies in HttpClient doesn't work
either:
http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientCustomContext.java
I copied the code there like this:
AM, Oleg Kalnichevski ol...@apache.org wrote:
Scott Mueller wrote:
Hi guys, I have a simple applet which is given a set of local files to
upload to my server using HttpClient and MultipartEntity. Basically when
someone uploads a GEDCOM file (genealogy data), the images are specified
as
local
On Mon, 2009-02-23 at 01:00 -0500, Suneet Shah wrote:
Hello:
I am new to HttpClient and am trying to develop some proxy functionality
for my application. I am using the code below to load a url and then
render it in the browser.
However, all if a page has relative urls, they all point to
On Tue, 2009-02-24 at 12:59 +, Florent Georges wrote:
Oleg Kalnichevski wrote:
On Mon, 2009-02-23 at 15:59 +, Florent Georges wrote:
I have the following piece of code, where I create a
POST
request, based on the class StringProducer, a simple
implementation
The Apache HttpComponents project is pleased to announce the release of
HttpComponents HttpCore 4.0. This the first stable (GA) release in the
4.x code line. This release delivers complete API documentation and
fixes a few minor bugs reported since the previous release.
Download -
Raphael Bauduin wrote:
Hi,
I'm using the delicious-java lib, which is itself using HttpClient.
I'm getting an error because the cookie set is for domain
delicious.com, but requests are sent to api.del.icio.us:
org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
WARNING: Cookie
bo wrote:
What's the proper way of rejecting cookies in the new HttpClient 4? There's
no CookiePolicyHandler anymore.
There is no such thing in HttpClient 3.x either.
What do toy mean by 'rejecting cookies'? All cookies? Some cookies?
Oleg
Thanks,
Bob S.
Florent Georges wrote:
Oleg Kalnichevski wrote:
Florent Georges wrote:
Hi,
I use client.getCredentialsProvider() to set credentials
for Basic or Digest authentication. So for now, the scope of
the credential settings are the Http Client. But I would
like they have the scope of one
headers and populating Cookie request headers.
If you want to reject cookies selectively, you have to implement a
custom CookieSpec (or sub-class an existing implementation).
Oleg
Thanks,
Bob
On Sun, Mar 1, 2009 at 12:19 PM, Oleg Kalnichevski ol...@apache.org wrote:
bo wrote:
What's
On Sun, 2009-03-01 at 22:34 +, Sam Crawford wrote:
Hello,
I'm having an issue with HttpClient communicating reliably with webservers
behind a load balancer. In summary, the first request goes through fine and
the load balancer closes the serverclient connection 30 seconds later,
leaving
On Wed, 2009-03-04 at 15:22 +0100, Nikos Beis wrote:
Hi,
We are using the MultiThreadedHttpConnectionManager in our webapp, and
right now I'm trying to build a thread and connection status html page
which is supposed to show information about how many alive connections,
free connections
On Fri, 2009-03-06 at 16:33 +0530, Santosh Gangadhar wrote:
Hi All,
After doing a few tests, the problem seems not be in http client. After the
service (doGet or doPost) method returns, at the back Tomcat does some
cleanup. As a part of this cleanup, it tries to read out all data coming in.
ever friend wrote:
Greeting,
In httpclient3.x, there are some APIs for HttpClient exception handling and method recovery, e.g.
client.getParams().setParameter(HttpMethodParams.RETRY_HANDLER,
new DefaultHttpMethodRetryHandler());
Does httpclient4.0 have some similar APIs for
Santosh Gangadhar wrote:
On Fri, Mar 6, 2009 at 10:45 PM, Oleg Kalnichevski ol...@apache.org wrote:
On Fri, 2009-03-06 at 22:33 +0530, Santosh Gangadhar wrote:
On Fri, Mar 6, 2009 at 7:31 PM, Oleg Kalnichevski ol...@apache.org
wrote:
On Fri, 2009-03-06 at 16:33 +0530, Santosh Gangadhar
esu2 wrote:
I'm using HTTPClient 3.1 to connect to a web site.
any request to server without login will be redirect to login page. after
user login(authenticated), there will be a cookie send back. any request
with valid cookies will be bypass login page to get access to target page.
I made it
Joan Balaguero wrote:
Hello,
I've configured log4j.xml to completely disable httpclient logging. Is this
the correct way to do this, setting fatal to logger level?
Yes, it is.
Oleg
(.)
logger name=org.apache.commons.httpclient
level value=fatal/
/logger
logger
Folks,
I put together an outline for the HttpClient tutorial.
http://wiki.apache.org/HttpComponents/HttpClientTutorial
The sooner the tutorial is completed, the sooner HttpClient 4.0 GA can
be released. So, feel free to give me a helping hand and contribute
content. Even small bits will
Florent Georges wrote:
Florent Georges wrote:
I am trying to use EntityTemplate with a custom, simple
ContentProducer. But it seems the content is never written
to the wire.
After having investigated further, I found the following weird
situation. If I write a proxy HttpEntity, that
Florent Georges wrote:
Oleg Kalnichevski wrote:
Florent Georges wrote:
Thanks for your response, Oleg.
After having investigated further, I found the following
weird situation. If I write a proxy HttpEntity, that wraps
the EntityTemplate, it seems writeTo() is never called
because
Florent Georges wrote:
Oleg Kalnichevski wrote:
Anyways, it appears to be an HTTP server of a sort that
supports HTTP/1.0 only and as such does not understand
chunk-coding.
Ok, I think I understand. The request is chunked, that means the client sends a first request, and expects
201 - 300 of 2518 matches
Mail list logo