cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl (WinSSL) fails with memory buffer error (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 26 Sep 2012 21:54:11 +0200 (CEST)

FYI:

---------- Forwarded message ----------
Date: Wed, 26 Sep 2012 17:36:15
From: James A <jmaxhaven_at_yahoo.co.uk>
To: "curl-users_at_cool.haxx.se" <curl-users_at_cool.haxx.se>
Subject: curl (WinSSL) fails with memory buffer error

Hello
I am using curl 7.27.0 WinSSL.
"curl --version" gives:
curl 7.27.0 (i386-pc-win32) libcurl/7.27.0 WinSSL zlib/1.2.7

When downloading a file over a secure connection (https://)
curl fails with the following error message:
"curl: (27) schannel: memory buffer size limit reached"

I have tried this on several computers, with the same result.

If I re-run curl with the -v (verbose) flag set, there are
many many lines of messages. Here is a sample of the last few
lines:
* schannel: encrypted data buffer: offset 12470 length 32768
* schannel: failed to decrypt data, need more data
* schannel: client wants to read 16384 bytes
* schannel: encrypted data buffer: offset 12470 length 32768
* schannel: encrypted data got 8412
* schannel: encrypted data buffer: offset 20882 length 32768
* schannel: decrypted data length: 16384
* schannel: decrypted data added: 16384
* schannel: decrypted data cached: offset 246145 length 262144
* schannel: encrypted data length: 4477
* schannel: encrypted data cached: offset 4477 length 32768
* schannel: failed to decrypt data, need more data
* schannel: client wants to read 16384 bytes
* schannel: encrypted data buffer: offset 4477 length 32768
* schannel: encrypted data got 14020
* schannel: encrypted data buffer: offset 18497 length 32768
* schannel: decrypted data length: 16384
* schannel: memory buffer size limit reached

At this point, curl terminates and closes the connection.

Steps to reproduce:
Attempting to download the following file should produce the
same error:
https://www.torproject.org/dist/torbrowser/tor-browser-2.2.39-1_en-US.exe

(Please note, the above is a 23MB download)

For reference, downloading with the OpenSSL version is error-free

==

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-26