]
Cc: Simon Roberts [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 10:18 PM
Subject: Re: HTTP Post and HTTP/100 (continue)
Simon
I'd really appreciate it if you could send us the debug trace for
analysis. Please refer to the following url for instructions on how wire
Sorry Oleg,
Stunnel is an SSL wrapper, see www.stunnel.org.
Using Stunnel you can tunnel a http connection to another host while
simultaneously encrypting it.
Ingo
Ingo, pardon me. What is stunnel-4.00 exactly?
Oleg
On Wed, 2003-02-26 at 09:51, Ingo Brunberg wrote:
I have the same problem
Simon
I'd really appreciate it if you could send us the debug trace for
analysis. Please refer to the following url for instructions on how wire
log can be activated:
http://jakarta.apache.org/commons/httpclient/logging.html
Your problem should be easily solvable by disabling 100-continue
Aurelien,
Same request. Could you please produce a wire log of the HTTP
communication that causes the problem you mentioned?
Oleg
On Tue, 2003-02-25 at 11:17, Aurelien Pernoud wrote:
Hey that may be the trouble I'm meeting too and I assumed it to be related
to
Sure, I'll try to reproduce it with wire log, as it doesn't happen on every
request :((
Oleg Kalnichevski a écrit :
Aurelien,
Same request. Could you please produce a wire log of the HTTP
communication that causes the problem you mentioned?
Oleg
I'm sorry I have trouble enabling wire log within my webapp. I'm using
Turbine and in fact it seems HttpClient took the setting from turbine to log
it's info.
I can't find an easy way to enable wirelog in a specific file... I'm not
used to commons logging.
Aurelien Pernoud a écrit :
Sure,
Here is stuff I got from a Post Method, after removing the log of method :
[25 févr. 2003 16:05:31 DEBUG] - User-Agent: Jakarta
Commons-HttpClient/2.0alpha2
[\r\n]
[25 févr. 2003 16:05:31 DEBUG] - Host: localhost:8080
[\r\n]
[25 févr. 2003 16:05:31 DEBUG] - Cookie: $Version=0;
I'm using Tomcat 4.1.18, and my log for Turbine is set to debug (not that
crazy ;)), but httpclient is either logging everything, either nothing...
very weird. I'll have to look further into it sometime.
What you say is weird, I have another line where my post went ok :
Oleg Kalnichevski a
Sorry the fiest mail went out too soon...
I'm using Tomcat 4.1.18, and my log for Turbine is set to debug (not that
crazy ;)), but httpclient is either logging everything, either nothing...
very weird. I'll have to look further into it sometime.
What you say is weird (to me), I have another
Aurelien,
Something is fishy about your setup. I have developed 100-continue
handshake support for HttpClient using Tomcat 4.1.18. It does handle
100-continue correctly. I may need to see the complete log of yours in
order to figure out what is going on there. The only theory I can come
up with at
Oleg Kalnichevski a écrit :
Aurelien,
Something is fishy about your setup. I have developed 100-continue
handshake support for HttpClient using Tomcat 4.1.18. It does handle
100-continue correctly. I may need to see the complete log of yours in
order to figure out what is going on there.
Ok I'll try it without the Expect: header tomorrow. But what I can surely
say is that I didn't stress Tomcat, I was alone making single requests on
it, not even simultaneously. Of course the logging did stress a little, as
it logged like 4MB in 30 seconds...
I've attached a log more precise on
What is moreover a trouble is that the connection wasn't released after the
failed post. Indeed as I call method.releaseConnection() and that response
Inputstream is empty, I didn't see anything like
HttpConnectionManager.releaseConnection: Release connection for
[EMAIL PROTECTED]
after that
Simon
Please try these settings. This should prompt commons-logging to use
SimpleLog instead of Log4J, which does not support TRACE verbosity.
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug
);
seems to fix it.
Cheers, Simon
- Original Message -
From: Oleg Kalnichevski [EMAIL PROTECTED]
To: Commons HttpClient Project [EMAIL PROTECTED]
Cc: Simon Roberts [EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 10:18 PM
Subject: Re: HTTP Post and HTTP/100 (continue)
Simon
I'd
15 matches
Mail list logo