[Dnsmasq-discuss] Feature request - customizable timeout and max retransmit count for tftp transfer

Simon Kelley simon at thekelleys.org.uk
Tue Jun 18 21:47:57 BST 2013


On 18/06/13 21:40, Damian Kaczkowski wrote:
> On 18 June 2013 22:00, Damian Kaczkowski wrote:
>
>     Will changing:
>        transfer->timeout = now + 2;
>     to:
>        transfer->timeout = now + 60;
>     work?
>
>
> Seems that the above doesn't work,
>
> but changing this:
>        /* timeout, retransmit */
>        transfer->timeout += 1 + (1<<transfer->backoff);
> to this:
>        /* timeout, retransmit */
>        transfer->timeout += 60 + (1<<transfer->backoff);
> works : )
>
>

See my previous reply which crossed with this for a better answer 
(though you suggestion will increase the timeout, but not in a very 
controlled way)

Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list