pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2015-12-05
2015-12-05 21:50:04 by Stephen R. van den Berg <srb@cuci.nl>
fcd8f2e950259457ae9f431203cb78d5e93448e3 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
pgsql: Avoid race during failed connects.
392:
} if(!socket->is_open()) error(strerror(socket->errno())+".\n");
+
connectfail=pgsqlsess->_connectfail;
socket->set_backend(local_backend); socket->set_buffer_mode(i,0); socket->set_nonblocking(i->read_cb,write_cb,close);
-
connectfail=pgsqlsess->_connectfail;
+
Thread.Thread(pgsqlsess->_processloop,this); return; };