summaryrefslogtreecommitdiffstats
path: root/usr.bin/cu/command.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2012-07-10 07:21:34 +0000
committerdlg <dlg@openbsd.org>2012-07-10 07:21:34 +0000
commit1e449da8ab085c741efe1b680121f7034d741747 (patch)
tree279e05899bce325ee3816e39c84d7eb6bb594660 /usr.bin/cu/command.c
parentFix an outstanding debian bug: #658539 (diff)
downloadwireguard-openbsd-1e449da8ab085c741efe1b680121f7034d741747.tar.xz
wireguard-openbsd-1e449da8ab085c741efe1b680121f7034d741747.zip
libexec/tftpd handled the case where we'd get an ack for the previous
block by flushing the data on the socket and waiting for a retransmit by timeout to occur. my stuff (usr.sbin/tftpd) had XXXs and failure in those places. this diff fixes that. this should address the problems that sthen and jcs have been having (and which i was finally able to reproduce here). it also avoids reusing the clients buffer to both send and recv frames. we recv onto the stack now so retry always sends what we originally built for the peer. tested by and ok jcs@ sthen@
Diffstat (limited to 'usr.bin/cu/command.c')
0 files changed, 0 insertions, 0 deletions