Branch: Tag:

2015-04-22

2015-04-22 15:04:58 by Martin Nilsson <nilsson@opera.com>

Keep track of Session activity, so they can be removed when inactive, not just old.

542:    return;    }    +  session->last_activity = time(1); +     if (packet->content_type == PACKET_alert) {    if (packet->level == ALERT_fatal) {    state = [int(0..0)|ConnectionState](state | CONNECTION_local_failing);
917:    // That enables the caller to check for a clean close, and    // to get the leftovers after the SSL connection.    +  session->last_activity = time(1);    read_buffer->add(data);    Stdio.Buffer.RewindKey read_buffer_key = read_buffer->rewind_key();