curl-library
Re: PATCH: Fix tftp return codes, tsize upload handling.
Date: Mon, 08 Mar 2010 10:21:31 -0800
On 03/04/2010 02:40 PM, Ben Greear wrote:
> The attached patch fixes two problems:
>
> 1) Error codes were not properly returned to the main curl code (and on
> to apps using libcurl).
>
> 2) tftp was crapping out when tsize == 0 on upload..but I see no reason
> to fail to upload
> just because the remote file is zero-length. Ignore tsize option on upload.
>
> This applies on top of my previous patch to fix tftp rate limiting.
>
> Thanks,
> Ben
I wanted to follow up to see if I needed to make any changes to
this patch for it to be accepted.
Thanks,
Ben
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/plain attachment: curl_tftp_err.patch