Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 10:20:02 -0800 (PST)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/34412: tftp will still try and receive traffic even after receiver's disk has filled
Message-ID:  <200201291820.g0TIK2U37235@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/34412; it has been noted by GNATS.

From: Maxim Konovalov <maxim@macomnet.ru>
To: Todd Hayton <thayton@torrentnet.com>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/34412: tftp will still try and receive traffic even after
 receiver's disk has filled
Date: Tue, 29 Jan 2002 21:16:16 +0300 (MSK)

 ... and for tftp:
 
 Index: tftp.c
 ===================================================================
 RCS file: /home/ncvs/src/usr.bin/tftp/tftp.c,v
 retrieving revision 1.7
 diff -u -r1.7 tftp.c
 --- tftp.c	2001/12/11 23:43:15	1.7
 +++ tftp.c	2002/01/29 18:13:09
 @@ -242,6 +242,10 @@
  			goto abort;
  		}
  		write_behind(file, convert);
 +		if (errno == ENOSPC ) {
 +			nak(errno + 100);
 +			break;
 +		}
  		for ( ; ; ) {
  			alarm(rexmtval);
  			do  {
 
 -- 
 Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer
 phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201291820.g0TIK2U37235>