pike.git/
lib/
modules/
SSL.pmod/
Connection.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2015-08-05
2015-08-05 12:31:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>
00e5f2535769c997415fa6b14a8842ce45badac3 (
11
lines) (+
11
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
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