Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Mar 2018 23:25:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 157700] tftpd(8) in 8.2-RELEASE expects more data after EOF
Message-ID:  <bug-157700-8-VyoYbNwjKA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-157700-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-157700-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D157700

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: asomers
Date: Fri Mar  9 23:25:19 UTC 2018
New revision: 330710
URL: https://svnweb.freebsd.org/changeset/base/330710

Log:
  tftpd: Flush files as soon as they are fully received

  On an RRQ, tftpd doesn't exit as soon as it's finished receiving a file.
  Instead, it waits five seconds just in case the client didn't receive the
  server's last ACK and decides to resend the final DATA packet.
  Unfortunately, this created a 5 second delay from when the client thinks
  it's done sending the file, and when the file is available for other
  processes.

  Fix this bug by closing the file as soon as receipt is finished.

  PR:                   157700
  Reported by:          Barry Mishler <barry_mishler@yahoo.com>
  MFC after:            3 weeks

Changes:
  head/libexec/tftpd/tests/functional.c
  head/libexec/tftpd/tftp-transfer.c
  head/libexec/tftpd/tftpd.c
  head/usr.bin/tftp/tftp.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-157700-8-VyoYbNwjKA>