pike.git / lib / modules / Sql.pmod / pgsql_util.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:345:    int ret;    destruct(nostash);    PD("%d>Close socket\n",socket->query_fd());    ret=socket->close();    sendterminate();    return ret;    }       protected void destroy() {    catch(close()); // Exceptions don't work inside destructors +  socket->set_nonblocking(); // Clear all callbacks    connectfail=0;    }       final void connectloop(object pgsqlsess, int nossl) {    mixed err=catch {    for(;;clear()) {    socket->connect(pgsqlsess._host,pgsqlsess._port);   #if constant(SSL.File)    if(!nossl && !pgsqlsess->nossl    && (pgsqlsess._options.use_ssl || pgsqlsess._options.force_ssl)) {