Branch: Tag:

2019-10-05

2019-10-05 13:24:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Only set peer_closed when the peer actually has closed.

504:    if (packet->content_type == PACKET_alert)    {    if (packet->level == ALERT_fatal) { -  state = [int(0..0)|ConnectionState](state | CONNECTION_local_fatal | -  CONNECTION_peer_closed); +  state = [int(0..0)|ConnectionState](state | CONNECTION_local_fatal);    // SSL3 5.4:    // Alert messages with a level of fatal result in the immediate    // termination of the connection. In this case, other