cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1256799 ] multiple headers and NTLM causes segmentation fault

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 12 Aug 2005 01:47:59 -0700

Bugs item #1256799, was opened at 2005-08-11 17:29
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1256799&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: crash
Status: Open
Resolution: Works For Me
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: multiple headers and NTLM causes segmentation fault

Initial Comment:
Below is output from curl -V:

curl 7.12.3 (powerpc-ibm-aix5.2.0.0) libcurl/7.12.3
OpenSSL/0.9.7b zlib/1.1.4 li
bidn/0.5.9
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz

I am running aix5.2, using the curl 7.12.3 binary from
ftp.thewrittenword.com

I am trying to get the output from a webservice which
authenticates using NTLM.

I receive "Segmentation fault(coredump)" when I attempt
to post multiple headers to the website. For example:

curl -u user:pw --ntlm -d @curldata.xml -H "Content-
Type: text/xml" -H "SOAPAction:
http://blablah.com/blah/blah" http://blah.com/bb/bb

curldata.xml is a file that holds the SOAP XML text
message.

When I use only one -H with NTLM, curl works as
expected.

When I use multiple -H to a website with no
authentication, curl works as expected.

However, using multiple -H with NTLM, it causes the
error.

Both -H switches are needed (the first one specifies the
correct data content-type, the second specifies the
correct soap action).

The error outputs no trace file or verbose logging.

Is this a compilation problem? Is it a problem with the
installation? Can anybody provide some direction?

Thanks

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

>Comment By: Daniel Stenberg (bagder)
Date: 2005-08-12 10:47

Message:
Logged In: YES
user_id=1110

I don't have one available, but compiling from source is
really easy so you should be able to get someone to do it
for you or even do it yourself.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2005-08-12 04:13

Message:
Logged In: NO

Do you have one that is already compiled for AIX5.2 and SSL-
enabled? I cannot find any later one than 7.12.3, and I am
not familiar enough to compile on my own. Thanks

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

Comment By: Daniel Stenberg (bagder)
Date: 2005-08-11 23:36

Message:
Logged In: YES
user_id=1110

I tried this just now and it works fine for me. I don't
remember any bugs from the past that we've fixed that sound
like this.

I suggest you try upgrading to a later curl version. When
using NTLM, you should use 7.13.1 or later anyway for
security reasons.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1256799&group_id=976
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-tracker
Received on 2005-08-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET