cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: TFTP error scenario not closing connection in curl 7.19.4

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 31 Mar 2009 11:59:16 +0200 (CEST)

On Mon, 30 Mar 2009, vijay g wrote:

> In tftp.c in the curl lib 7.19.4, whenever there is any error in TFTP, it is
> better to close the connection. In ftp.c, its being done in the same way.
> "conn->bits.close = TRUE; " should be called in tftp_do() in if(state->error
> != TFTP_ERR_NONE) to resolve this issue.

Can you please make a diff -u output for this change and post it here?

-- 
  / daniel.haxx.se
Received on 2009-03-31