Branch: Tag:

2015-08-05

2015-08-05 12:31:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Connection: Added shutdown().

450:    context = ctx;   }    + //! Remove cyclic references as best we can. + void shutdown() + { +  current_read_state = current_write_state = UNDEFINED; +  pending_read_state = pending_write_state = ({}); +  ke = UNDEFINED; +  alert_callback = UNDEFINED; + }      //   // --- Old connection.pike below
638:    if (packet->level == ALERT_fatal) {    state = [int(0..0)|ConnectionState](state | CONNECTION_local_fatal |    CONNECTION_peer_closed); +  current_read_state = UNDEFINED; +  pending_read_state = ({});    // SSL3 5.4:    // Alert messages with a level of fatal result in the immediate    // termination of the connection. In this case, other