Hey friends,I've had this little patch brewing over in issue #425 [1] for a while with little comments, but I really wouldn't mind if someone who actually has and use Windows could have a look and possibly even try it out. I hesitate to merge it without more discussion/tests.
The original problem being that curl_formadd() right now uses 'long' for a size so that it can't be set larger than 2GB on any windows version (even if 64bit) and other 32bit systems. This patch introduces a new option to pass in a 'curl_off_t' size, thus upping the limit to 64bit (for most systems).
This patch is also provide in a separate branch in git if you rather prefer that. Send feed back here or in the github issue, whatever you prefer!
[1] = https://github.com/bagder/curl/issues/425 (patch is gzipped to possibly preserve the newlines in the test case better) -- / daniel.haxx.se
0001-formadd-support-2GB-files-on-windows.patch.gz
Description: application/gzip
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
