curl-library
Re: TFTP bugs: rate limitation and upload does not work.
From: Ben Greear <greearb_at_candelatech.com>
Date: Thu, 25 Feb 2010 10:49:50 -0800
Date: Thu, 25 Feb 2010 10:49:50 -0800
On 02/20/2010 10:58 AM, Daniel Stenberg wrote:
> On Fri, 19 Feb 2010, Ben Greear wrote:
>
>> It seems that rate-limitation doesn't work with tftp:
>
> Oh right. TFTP is done a bit different so it does its sending/receiving
> within its own state-machine and one drawback of that is of course
> exactly this... I'm not sure exactly what's the easiest way to fix that.
I can duplicate the rate limitation logic found in transfer.c, but maybe
it would be better to convert tftp to use the transfer.c logic directly?
Any idea how hard it would be to use transfer.c logic instead of the
loop in tftp_easy_statemach?
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.htmlReceived on 2010-02-25