cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1287 CURLOPT_BUFFERSIZE is ignored when downloading file:// url

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Tue, 05 Nov 2013 09:35:44 +0000

Please, this needs attention as I don't want to proceed with what we have now!

---
** [bugs:#1287] CURLOPT_BUFFERSIZE is ignored when downloading file:// url**
**Status:** pending-needsinfo
**Created:** Wed Oct 02, 2013 08:41 AM UTC by Maxim
**Last Updated:** Mon Oct 07, 2013 09:27 AM UTC
**Owner:** Daniel Stenberg
When downloading a file, write buffer is always 16383 bytes, CURLOPT_BUFFERSIZE is ignored.
The test file is attached.
I'm using the latest version from git (as of 1 Oct 2013, commit 3d43a487813a94dc8521bd8d970725efbd922bf7)
For the given test file an input file is generated as follows:
> $ dd if=/dev/urandom of=/tmp/curlin.tmp bs=1 count=50000
and for that input file I receive the following output:
> handles OK
    write_callback: total 16383
    write_callback: total 16383
    write_callback: total 16383
    write_callback: total 851
    upload result: count 0, No error
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-11-05

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET