mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00

Properly deal with the fact that the last fread() call most probably is a short read, and when using callbacks in fact all calls can be short reads. No longer consider a file read done until it returns a 0 from the read function. Reported by: Aaron Orenstein Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
32 lines
343 B
Plaintext
32 lines
343 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
curl_formadd
|
|
curl_formget
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
unittest
|
|
http
|
|
</features>
|
|
<name>
|
|
formpost unit tests
|
|
</name>
|
|
<tool>
|
|
unit1308
|
|
</tool>
|
|
<file name="log/test-1308">
|
|
Piece of the file that is to uploaded as a formpost
|
|
</file>
|
|
</client>
|
|
|
|
</testcase>
|