pike.git / lib / modules / SSL.pmod / Connection.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:469:      protected ADT.Queue alert_q = ADT.Queue();   protected ADT.Queue urgent_q = ADT.Queue();   protected ADT.Queue application_q = ADT.Queue();      //! Returns a string describing the current connection state.   string describe_state()   {    if (!state) return "ready";    array(string) res = ({}); -  if (state & CONNECTION_handshaking) res += ({ "handshaking" }); +  if (state & CONNECTION_handshaking) { +  res += ({ "handshaking(" + fmt_constant(handshake_state, "STATE") + ")" }); +  }    if (state & CONNECTION_local_failing) {    if (state & CONNECTION_local_fatal) {    res += ({ "local_fatal" });    } else {    res += ({ "local_failing" });    }    }    if (state & CONNECTION_local_closing) {    if (state & CONNECTION_local_closed) {    res += ({ "local_closed" });