pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-10-15
2016-10-15 09:47:14 by Stephen R. van den Berg <srb@cuci.nl>
792569e1cf8e06380ff1558025e4c5e13b7fc893 (
13
lines) (+
6
/-
7
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Drop callbacks for real, code got lost between commit juggling.
284:
private int write_cb() { Thread.MutexKey lock = shortmux->lock();
-
if (this) {
+
towrite -= output_to(socket, towrite); lock = 0; if (!i->fillread && !sizeof(this)) close();
-
} else
-
lock = 0;
+
return 0; }
378:
foreach(closecallbacks;function(void|mixed:void) closecb;) closecb(); destruct(nostash);
+
socket->set_nonblocking(); // Drop all callbacks
PD("%d>Close socket\n",socket->query_fd()); socket->close(); };