summaryrefslogtreecommitdiff
path: root/lib/libz
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2012-07-10 07:21:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2012-07-10 07:21:35 +0000
commitf609e53c510be5e2e499e0dfdb867acc62440059 (patch)
treec79a4d9c026d187f0a447a42ad0ee8355476ea5e /lib/libz
parent9ad429c16991131b71c7b5c90fcd4fa3f35d98ca (diff)
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 'lib/libz')
0 files changed, 0 insertions, 0 deletions