You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2005/05/08 05:06:02 UTC
DO NOT REPLY [Bug 34799] New: -
Httpclient fails to set up tunnel with an HTTP 1.0 proxy server without keep alive
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34799>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34799
Summary: Httpclient fails to set up tunnel with an HTTP 1.0 proxy
server without keep alive
Product: HttpClient
Version: 3.0 RC2
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Commons HttpClient
AssignedTo: httpclient-dev@jakarta.apache.org
ReportedBy: ben.anderson@motorola.com
Commons-httpclient developers,
First, thank you for your generous work on the commons-httpclient 3.0-rc2, it
is a great piece of work. In my recent testing I have found what I consider
bug. The httpclient fails to handle an authenticated proxy connection correctly
when the proxy server's response to the first request with the HTTP connection
type of HTTP/1.0 without the header keep-alive.
This is what happens:
HttpMethodDirector.executeWithRetry opens the connection via HttpConnection
then calls executeConnect to establish a proxy connection
HttpMethodDirector.executeConnect tries to establish the connection to the
proxy server, it fails due to no auth credentials
However, while HttpMethodBase is processing the response from the first
request, it detects an HTTP 1.0 type connection which it closes in the
HttpMethodBase.responseBodyConsumed method
The HttpMehtodDirector.executeConnect returns with a '407 Proxy Auth Required'
error causing the HttpMethodDirector.executeWithRetry to loop around to try
again, this time with credentials. However, the connection has been closed so
the call to the method applyConnectionParams throws an IllegalStateException
since it tries set the SO_TIMEOUT on the connection that is not open.
I have included the fixed HttpMethodDirector.executeWithRetry method, and a
before/after log output.
Please let me know what your take on this is. Or if you have any questions.
Best Regards,
Ben
Ben Anderson
Motorola, Inc
Principle Staff Software Engineer
Network Business, iDEN Subscriber Group, Supply Chain
email: ben.anderson@motorola.com
Phone: (303) 472-9486
Nextel Pvt Id: 100*71177*1
Code fix
/**
* Executes a ConnectMethod to establish a tunneled connection.
*
* @return <code>true</code> if the connect was successful
*
* @throws IOException
* @throws HttpException
*/
private boolean executeConnect()
throws IOException, HttpException {
this.connectMethod = new ConnectMethod();
this.connectMethod.getParams().setDefaults
(this.hostConfiguration.getParams());
int code;
for (;;) {
try {
authenticateProxy(this.connectMethod);
} catch (AuthenticationException e) {
LOG.error(e.getMessage(), e);
}
// -- start of fix
if ( !this.conn.isOpen() ) // If connection to proxy is closed,
open one
{
this.conn.open();
}
// -- end of fix
applyConnectionParams(this.connectMethod);
this.connectMethod.execute(state, this.conn);
code = this.connectMethod.getStatusCode();
boolean retry = false;
AuthState authstate = this.connectMethod.getProxyAuthState();
authstate.setAuthRequested(code ==
HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED);
if (authstate.isAuthRequested()) {
if (processAuthenticationResponse(this.connectMethod)) {
retry = true;
}
}
if (!retry) {
break;
}
if (this.connectMethod.getResponseBodyAsStream() != null) {
this.connectMethod.getResponseBodyAsStream().close();
}
}
if ((code >= 200) && (code < 300)) {
this.conn.tunnelCreated();
// Drop the connect method, as it is no longer needed
this.connectMethod = null;
return true;
} else {
return false;
}
}
This is the log output when it fails
2005/05/07 20:42:39:569 MDT [DEBUG] HttpClient - Operating system name: Windows
2000
2005/05/07 20:42:39:569 MDT [DEBUG] HttpClient - Operating system architecture:
x86
2005/05/07 20:42:39:569 MDT [DEBUG] HttpClient - Operating system version: 5.0
2005/05/07 20:42:39:569 MDT [DEBUG] HttpClient - SUN 1.42: SUN (DSA
key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509
certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP,
Collection CertStores)
2005/05/07 20:42:39:579 MDT [DEBUG] HttpClient - SunJSSE 1.42: Sun JSSE provider
(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
2005/05/07 20:42:39:579 MDT [DEBUG] HttpClient - SunRsaSign 1.42: SUN's
provider for RSA signatures
2005/05/07 20:42:39:579 MDT [DEBUG] HttpClient - SunJCE 1.42: SunJCE Provider
(implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman, HMAC-MD5, HMAC-
SHA1)
2005/05/07 20:42:39:589 MDT [DEBUG] HttpClient - SunJGSS 1.0: Sun (Kerberos v5)
2005/05/07 20:42:39:609 MDT [DEBUG] DefaultHttpParams - Set parameter
http.useragent = Jakarta Commons-HttpClient/3.0-rc2
2005/05/07 20:42:39:609 MDT [DEBUG] DefaultHttpParams - Set parameter
http.protocol.version = HTTP/1.1
2005/05/07 20:42:39:609 MDT [DEBUG] DefaultHttpParams - Set parameter
http.connection-manager.class = class
org.apache.commons.httpclient.SimpleHttpConnectionManager
2005/05/07 20:42:39:609 MDT [DEBUG] DefaultHttpParams - Set parameter
http.protocol.cookie-policy = rfc2109
2005/05/07 20:42:39:619 MDT [DEBUG] DefaultHttpParams - Set parameter
http.protocol.element-charset = US-ASCII
2005/05/07 20:42:39:619 MDT [DEBUG] DefaultHttpParams - Set parameter
http.protocol.content-charset = ISO-8859-1
2005/05/07 20:42:39:619 MDT [DEBUG] DefaultHttpParams - Set parameter
http.method.retry-handler =
org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@ba8602
2005/05/07 20:42:39:629 MDT [DEBUG] DefaultHttpParams - Set parameter
http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy
HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-
yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd
MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE
dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z,
EEE, dd-MM-yyyy HH:mm:ss z]
2005/05/07 20:42:45:689 MDT [DEBUG] DefaultHttpParams - Set parameter
http.authentication.preemptive = true
2005/05/07 20:42:45:709 MDT [DEBUG] HttpMethodDirector - Preemptively sending
default basic credentials
2005/05/07 20:42:45:729 MDT [DEBUG] HttpMethodDirector - Authenticating with
BASIC <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:42:45:729 MDT [DEBUG] HttpMethodParams - Credential charset not
configured, using HTTP element charset
2005/05/07 20:42:45:729 MDT [DEBUG] HttpMethodDirector - Authenticating with
BASIC <any realm>@java.sun.com:443
2005/05/07 20:42:45:729 MDT [WARN] HttpMethodDirector - Required credentials
not available for BASIC <any realm>@java.sun.com:443
2005/05/07 20:42:45:739 MDT [WARN] HttpMethodDirector - Preemptive
authentication requested but no default credentials available
2005/05/07 20:42:45:739 MDT [DEBUG] HttpConnection - Open connection to
wwwgate0.mot.com:1080
2005/05/07 20:42:46:159 MDT [DEBUG] header - >> "CONNECT java.sun.com:443
HTTP/1.1"
2005/05/07 20:42:46:159 MDT [DEBUG] HttpMethodBase - Adding Host request header
2005/05/07 20:42:46:159 MDT [DEBUG] header - >> "User-Agent: Jakarta Commons-
HttpClient/3.0-rc2[\r][\n]"
2005/05/07 20:42:46:159 MDT [DEBUG] header - >> "Host: java.sun.com[\r][\n]"
2005/05/07 20:42:46:159 MDT [DEBUG] header - >> "Proxy-Connection: Keep-Alive
[\r][\n]"
2005/05/07 20:42:46:159 MDT [DEBUG] header - >> "[\r][\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "HTTP/1.0 407 Proxy
Authentication Required[\r][\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "Date: Sun, 08 May 2005
02:42:46 GMT[\r][\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "Content-Length: 398[\r][\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "Content-Type: text/html[\r]
[\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "Server: NetCache appliance
(NetApp/5.5R5)[\r][\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "Proxy-Authenticate: NTLM[\r]
[\n]"
2005/05/07 20:42:46:390 MDT [DEBUG] header - << "Proxy-Authenticate: Basic
realm="Motorola Inc."[\r][\n]"
2005/05/07 20:42:46:400 MDT [DEBUG] ConnectMethod - CONNECT status code 407
2005/05/07 20:42:46:400 MDT [DEBUG] AuthChallengeProcessor - Supported
authentication schemes in the order of preference: [ntlm, digest, basic]
2005/05/07 20:42:46:400 MDT [INFO] AuthChallengeProcessor - ntlm authentication
scheme selected
2005/05/07 20:42:46:400 MDT [DEBUG] AuthChallengeProcessor - Using
authentication scheme: ntlm
2005/05/07 20:42:46:400 MDT [DEBUG] AuthChallengeProcessor - Authorization
challenge processed
2005/05/07 20:42:46:420 MDT [DEBUG] HttpMethodDirector - Proxy authentication
scope: NTLM <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:42:46:420 MDT [DEBUG] HttpMethodBase - Resorting to protocol
version default close connection policy
2005/05/07 20:42:46:420 MDT [DEBUG] HttpMethodBase - Should close connection,
using HTTP/1.0
2005/05/07 20:42:46:420 MDT [DEBUG] HttpConnection - Connection is locked.
Call to releaseConnection() ignored.
2005/05/07 20:42:46:420 MDT [DEBUG] HttpMethodDirector - Authenticating with
NTLM <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:42:46:420 MDT [DEBUG] HttpMethodParams - Credential charset not
configured, using HTTP element charset
2005/05/07 20:42:46:420 MDT [DEBUG] HttpConnection - Releasing connection back
to connection manager.
java.lang.IllegalStateException: Connection is not open
at org.apache.commons.httpclient.HttpConnection.assertOpen
(HttpConnection.java:1269)
at org.apache.commons.httpclient.HttpConnection.setSocketTimeout
(HttpConnection.java:641)
at
org.apache.commons.httpclient.HttpMethodDirector.applyConnectionParams
(HttpMethodDirector.java:350)
at org.apache.commons.httpclient.HttpMethodDirector.executeConnect
(HttpMethodDirector.java:489)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry
(HttpMethodDirector.java:386)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod
(HttpMethodDirector.java:168)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:393)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:324)
at b2bFileUpload.MainFrame.buttonUpload_actionPerformed
(MainFrame.java:167)
at b2bFileUpload.MainFrame.access$6000071(MainFrame.java:33)
at b2bFileUpload.MainFrame$1.actionPerformed(MainFrame.java:101)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
This is a log output with the fixed HttpMethodDirector.executeWithRetry
2005/05/07 20:02:01:413 MDT [DEBUG] DefaultHttpParams - Set parameter
http.authentication.preemptive = true
2005/05/07 20:02:01:433 MDT [DEBUG] HttpMethodDirector - Preemptively sending
default basic credentials
2005/05/07 20:02:01:453 MDT [DEBUG] HttpMethodDirector - Authenticating with
BASIC <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:02:01:453 MDT [DEBUG] HttpMethodParams - Credential charset not
configured, using HTTP element charset
2005/05/07 20:02:01:453 MDT [DEBUG] HttpMethodDirector - Authenticating with
BASIC <any realm>@java.sun.com:443
2005/05/07 20:02:01:453 MDT [WARN] HttpMethodDirector - Required credentials
not available for BASIC <any realm>@java.sun.com:443
2005/05/07 20:02:01:463 MDT [WARN] HttpMethodDirector - Preemptive
authentication requested but no default credentials available
2005/05/07 20:02:01:463 MDT [DEBUG] HttpConnection - Open connection to
wwwgate0.mot.com:1080
2005/05/07 20:02:01:884 MDT [DEBUG] header - >> "CONNECT java.sun.com:443
HTTP/1.1"
2005/05/07 20:02:01:884 MDT [DEBUG] HttpMethodBase - Adding Host request header
2005/05/07 20:02:01:884 MDT [DEBUG] header - >> "User-Agent: Jakarta Commons-
HttpClient/3.0-rc2[\r][\n]"
2005/05/07 20:02:01:884 MDT [DEBUG] header - >> "Host: java.sun.com[\r][\n]"
2005/05/07 20:02:01:884 MDT [DEBUG] header - >> "Proxy-Connection: Keep-Alive
[\r][\n]"
2005/05/07 20:02:01:884 MDT [DEBUG] header - >> "[\r][\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "HTTP/1.0 407 Proxy
Authentication Required[\r][\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "Date: Sun, 08 May 2005
02:02:01 GMT[\r][\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "Content-Length: 398[\r][\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "Content-Type: text/html[\r]
[\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "Server: NetCache appliance
(NetApp/5.5R5)[\r][\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "Proxy-Authenticate: NTLM[\r]
[\n]"
2005/05/07 20:02:02:124 MDT [DEBUG] header - << "Proxy-Authenticate: Basic
realm="Motorola Inc."[\r][\n]"
2005/05/07 20:02:02:134 MDT [DEBUG] ConnectMethod - CONNECT status code 407
2005/05/07 20:02:02:144 MDT [DEBUG] AuthChallengeProcessor - Supported
authentication schemes in the order of preference: [ntlm, digest, basic]
2005/05/07 20:02:02:144 MDT [INFO] AuthChallengeProcessor - ntlm authentication
scheme selected
2005/05/07 20:02:02:144 MDT [DEBUG] AuthChallengeProcessor - Using
authentication scheme: ntlm
2005/05/07 20:02:02:144 MDT [DEBUG] AuthChallengeProcessor - Authorization
challenge processed
2005/05/07 20:02:02:144 MDT [DEBUG] HttpMethodDirector - Proxy authentication
scope: NTLM <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:02:02:154 MDT [DEBUG] HttpMethodBase - Resorting to protocol
version default close connection policy
2005/05/07 20:02:02:154 MDT [DEBUG] HttpMethodBase - Should close connection,
using HTTP/1.0
2005/05/07 20:02:02:154 MDT [DEBUG] HttpConnection - Connection is locked.
Call to releaseConnection() ignored.
2005/05/07 20:02:02:154 MDT [DEBUG] HttpMethodDirector - Authenticating with
NTLM <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:02:02:154 MDT [DEBUG] HttpMethodParams - Credential charset not
configured, using HTTP element charset
2005/05/07 20:02:02:154 MDT [DEBUG] HttpConnection - Open connection to
wwwgate0.mot.com:1080
2005/05/07 20:02:02:385 MDT [DEBUG] header - >> "CONNECT java.sun.com:443
HTTP/1.0"
2005/05/07 20:02:02:385 MDT [DEBUG] HttpMethodBase - Adding Host request header
2005/05/07 20:02:02:385 MDT [DEBUG] header - >> "User-Agent: Jakarta Commons-
HttpClient/3.0-rc2[\r][\n]"
2005/05/07 20:02:02:385 MDT [DEBUG] header - >> "Proxy-Authorization: NTLM
TlRMTVNTUAABAAAABlIAAAAAAAApAAAACQAJACAAAABMT0NBTEhPU1Q=[\r][\n]"
2005/05/07 20:02:02:385 MDT [DEBUG] header - >> "Host: java.sun.com[\r][\n]"
2005/05/07 20:02:02:385 MDT [DEBUG] header - >> "Proxy-Connection: Keep-Alive
[\r][\n]"
2005/05/07 20:02:02:385 MDT [DEBUG] header - >> "[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "HTTP/1.0 407 Proxy
Authentication Required[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "Date: Sun, 08 May 2005
02:02:02 GMT[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "Content-Length: 398[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "Content-Type: text/html[\r]
[\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "Server: NetCache appliance
(NetApp/5.5R5)[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "Proxy-Connection: keep-alive
[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] header - << "Proxy-Authenticate: NTLM
TlRMTVNTUAACAAAAAgACACgAAAAGggEAwqIn8rOdUAAAAAAAAAAAAERT[\r][\n]"
2005/05/07 20:02:02:625 MDT [DEBUG] ConnectMethod - CONNECT status code 407
2005/05/07 20:02:02:635 MDT [DEBUG] AuthChallengeProcessor - Using
authentication scheme: ntlm
2005/05/07 20:02:02:635 MDT [DEBUG] AuthChallengeProcessor - Authorization
challenge processed
2005/05/07 20:02:02:635 MDT [DEBUG] HttpMethodDirector - Proxy authentication
scope: NTLM <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:02:02:635 MDT [DEBUG] HttpMethodBase - Should NOT close
connection in response to directive: keep-alive
2005/05/07 20:02:02:635 MDT [DEBUG] HttpConnection - Connection is locked.
Call to releaseConnection() ignored.
2005/05/07 20:02:02:635 MDT [DEBUG] HttpMethodDirector - Authenticating with
NTLM <any realm>@wwwgate0.mot.com:1080
2005/05/07 20:02:02:635 MDT [DEBUG] HttpMethodParams - Credential charset not
configured, using HTTP element charset
2005/05/07 20:02:02:885 MDT [DEBUG] header - >> "CONNECT java.sun.com:443
HTTP/1.0"
2005/05/07 20:02:02:885 MDT [DEBUG] HttpMethodBase - Adding Host request header
2005/05/07 20:02:02:885 MDT [DEBUG] header - >> "User-Agent: Jakarta Commons-
HttpClient/3.0-rc2[\r][\n]"
2005/05/07 20:02:02:885 MDT [DEBUG] header - >> "Proxy-Authorization: NTLM
TlRMTVNTUAADAAAAGAAYAE8AAAAAAAAAZwAAAAAAAABAAAAABgAGAEAAAAAJAAkARgAAAAAAAABnAAAA
BlIAAEVCQTAwM0xPQ0FMSE9TVCvHtfzmGklD51J6DhU4Ie4uyKfBJOWIHQ==[\r][\n]"
2005/05/07 20:02:02:885 MDT [DEBUG] header - >> "Host: java.sun.com[\r][\n]"
2005/05/07 20:02:02:885 MDT [DEBUG] header - >> "Proxy-Connection: Keep-Alive
[\r][\n]"
2005/05/07 20:02:02:885 MDT [DEBUG] header - >> "[\r][\n]"
2005/05/07 20:02:03:186 MDT [DEBUG] header - << "HTTP/1.0 200 Connection
established[\r][\n]"
2005/05/07 20:02:03:186 MDT [DEBUG] header - << "Proxy-Agent: NetCache
NetApp/5.5R5[\r][\n]"
2005/05/07 20:02:03:186 MDT [DEBUG] ConnectMethod - CONNECT status code 200
2005/05/07 20:02:03:186 MDT [DEBUG] HttpConnection - Secure tunnel to
java.sun.com:443
2005/05/07 20:02:03:276 MDT [DEBUG] header - >> "GET / HTTP/1.1[\r][\n]"
2005/05/07 20:02:03:276 MDT [DEBUG] HttpMethodBase - Adding Host request header
2005/05/07 20:02:03:276 MDT [DEBUG] header - >> "Proxy-Authorization: Basic
ZWJhMDAzOkYxaWdodHZpZXc=[\r][\n]"
2005/05/07 20:02:03:276 MDT [DEBUG] header - >> "User-Agent: Jakarta Commons-
HttpClient/3.0-rc2[\r][\n]"
2005/05/07 20:02:03:276 MDT [DEBUG] header - >> "Host: java.sun.com[\r][\n]"
2005/05/07 20:02:03:276 MDT [DEBUG] header - >> "[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "Server: Sun-ONE-Web-Server/6.1
[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "Date: Sun, 08 May 2005
02:02:04 GMT[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "Content-type:
text/html;charset=ISO-8859-1[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "Set-Cookie:
SUN_ID=129.188.33.221:187731115517724; EXPIRES=Wednesday, 31-Dec-2025 23:59:59
GMT; DOMAIN=.sun.com; PATH=/[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "Set-cookie:
JSESSIONID=7660884D7F0C61E0A0FF0BBC8A9F75FE;Path=/[\r][\n]"
2005/05/07 20:02:04:688 MDT [DEBUG] header - << "Transfer-encoding: chunked[\r]
[\n]"
2005/05/07 20:02:04:718 MDT [DEBUG] HttpMethodBase - Cookie
accepted: "$Version=0; SUN_ID=129.188.33.221:187731115517724; $Domain=.sun.com;
$Path=/"
2005/05/07 20:02:04:728 MDT [DEBUG] HttpMethodBase - Cookie
accepted: "$Version=0; JSESSIONID=7660884D7F0C61E0A0FF0BBC8A9F75FE; $Path=/"
2005/05/07 20:02:04:728 MDT [WARN] HttpMethodBase - Going to buffer response
body of large or unknown size. Using getResponseAsStream instead is recommended.
2005/05/07 20:02:04:728 MDT [DEBUG] HttpMethodBase - Buffering response body
Response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
2005/05/07 20:02:05:459 MDT [DEBUG] HttpMethodBase - Resorting to protocol
version default close connection policy
2005/05/07 20:02:05:459 MDT [DEBUG] HttpMethodBase - Should NOT close
connection, using HTTP/1.1
2005/05/07 20:02:05:459 MDT [DEBUG] HttpConnection - Releasing connection back
to connection manager.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org