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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:337:    res += ({ "local_closed" });    } else {    res += ({ "local_closing" });    }    }    if (state & CONNECTION_peer_fatal) res += ({ "peer_fatal" });    if (state & CONNECTION_peer_closed) res += ({ "peer_closed" });    return res * "|";   }    + protected string _sprintf(int t) + { +  if (t == 'O') return sprintf("SSL.Connection(%s)", describe_state()); + } +    //! Called with alert object, sequence number of bad packet,   //! and raw data as arguments, if a bad packet is received.   //!   //! Can be used to support a fallback redirect https->http.   void set_alert_callback(function(object,int|object,string:void) callback)   {    alert_callback = callback;   }      //! Low-level receive handler. Returns a packet, an alert, or zero if