cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-916120 ] HTTP Protocol Version issue

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 14 Mar 2004 11:04:11 -0800

Bugs item #916120, was opened at 2004-03-14 14:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=916120&group_id=976

Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Alan Pinstein (apinstein)
Assigned to: Daniel Stenberg (bagder)
Summary: HTTP Protocol Version issue

Initial Comment:
I am using libcurl to connect to a .NET server. Unfortunately the
settings that work againt .NET runtime 1.0 DO NOT work with .NET
1.1. I am trying to find settings that work for both, and in these
attempts, I tried setting the HTTP Version to 1.0.

In this case, libcurl seems to enter an "infinite request loop", which
I think is caused by the IIS server respoding in HTTP/1.1 to a
request made with HTTP/1.0. For whatever reason, this makes curl
think that the connection is dead and the loop starts over again.

2004-03-14 13:55:21.638 MediaBin Client[29329] Loaded libcurl
version: libcurl/7.11.0 OpenSSL/0.9.7b ipv6 zlib/1.1.4
2004-03-14 13:55:24.123 MediaBin Client[29329] Using
authentication method: 0 username: Domain\administrator
* About to connect() to 10.0.1.108 port 80
* Connected to 10.0.1.108 port 80
* Server auth using NTLM with user &#039;Domain\administrator&#039;
> POST /mediabinwebservice/MediaBinServer.asmx HTTP/1.0
Authorization: NTLM BLAHBLAHBLAH=
Host: 10.0.1.108
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
User-Agent:MediaBin Mac Native Client
Content-Type:text/xml; charset=utf-8
SOAPAction:"http://www.mediabin.com/GetMediaBinServerName"

< HTTP/1.1 401 Access Denied
< Server: Microsoft-IIS/5.0
< Date: Sun, 14 Mar 2004 18:56:36 GMT
< WWW-Authenticate: NTLM BLAHBLAHBLAH
< Content-Length: 4033
< Content-Type: text/html
* Ignoring the response-body
* Connection #0 left intact
* Issue another request to this URL: &#039;http://10.0.1.108/
mediabinwebservice/MediaBinServer.asmx&#039;
* Connection 0 seems to be dead!
* Closing connection #0
* About to connect() to 10.0.1.108 port 80
* Connected to 10.0.1.108 port 80
* Server auth using NTLM with user &#039;Domain\administrator&#039;
> POST /mediabinwebservice/MediaBinServer.asmx HTTP/1.0

--> results in same as above, inifinite loop

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=916120&group_id=976
Received on 2004-03-14