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 <[email protected]>
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