Add Error_msg (but no Error_no) when client closes connection during handshake.

This commit is contained in:
Daniel Nichter
2013-02-01 10:58:27 -07:00
parent 572294540c
commit ea4dfa7605
4 changed files with 5 additions and 0 deletions

View File

@@ -3140,6 +3140,7 @@ sub parse_event {
arg => 'administrator command: Connect',
ts => $packet->{ts},
};
$session->{attribs}->{Error_msg} = 'Client closed connection during handshake';
$event = $self->_make_event($event, $packet, $session);
delete $self->{sessions}->{$session->{client}};
return $event;