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-1356715 ] NTLM w/ SSPI fails with error 56

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 14 Nov 2005 09:19:06 -0800

Bugs item #1356715, was opened at 2005-11-14 12:19
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=1356715&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: libcurl
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Quagmire (quagmire_)
Assigned to: Daniel Stenberg (bagder)
Summary: NTLM w/ SSPI fails with error 56

Initial Comment:
cURL using NTLM with SSPI fails with the message "curl:
(56) failure when receiving data from the peer". Traced
this back a ways and it's due to the microsoft API's
reporting a garbage error code when a buffer is too
small. Doubling the size of the buffer fixes it.
curl-7.15.0 http_ntlm.c line 340:

unsigned char ntlmbuf[256]; /* enough, unless the
host/domain is very long */

Bump that to 512 and no more error.

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET