diff options
author | 2012-01-21 19:50:30 +0000 | |
---|---|---|
committer | 2012-01-21 19:50:30 +0000 | |
commit | bc8a3eb9b85457a0ff86af0890aa21d04ab699aa (patch) | |
tree | 64f07213fe5ad4297563254cf42672afc41d5be2 /sys/dev/softraid.c | |
parent | Implement missing bits of node inactivity accounting in hostap mode. (diff) | |
download | wireguard-openbsd-bc8a3eb9b85457a0ff86af0890aa21d04ab699aa.tar.xz wireguard-openbsd-bc8a3eb9b85457a0ff86af0890aa21d04ab699aa.zip |
in session_error(), do not call session_destroy() when the F_WRITEONLY
session flag is set, set F_QUIT instead.
fixes a "corrupted session" fatalx() that triggers when a client
disconnects after sending the end of message '.' but without waiting
for server to acknowledge.
reported by Roman Kravchuk <kravchuk.kp@gmail.com> a while ago, could not
reproduce until today.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions