Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2018 14:17:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 157700] tftpd(8) in 8.2-RELEASE expects more data after EOF
Message-ID:  <bug-157700-227-G207zEf4Js@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-157700-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-157700-227@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 #8 from commit-hook@freebsd.org ---
A commit references this bug:

Author: asomers
Date: Fri Aug  3 14:17:12 UTC 2018
New revision: 337247
URL: https://svnweb.freebsd.org/changeset/base/337247

Log:
  MFC r330710:

  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>

Changes:
  stable/10/libexec/tftpd/tests/functional.c
  stable/10/libexec/tftpd/tftp-transfer.c
  stable/10/libexec/tftpd/tftpd.c
  stable/10/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-227-G207zEf4Js>