|
@@ -573,11 +573,12 @@ conn_close_if_marked(int i)
|
|
if (retval >= 0 &&
|
|
if (retval >= 0 &&
|
|
TLS_WANT_WRITE here. But don't bother for now. */
|
|
TLS_WANT_WRITE here. But don't bother for now. */
|
|
conn->hold_open_until_flushed && connection_wants_to_flush(conn)) {
|
|
conn->hold_open_until_flushed && connection_wants_to_flush(conn)) {
|
|
- if (retval > 0)
|
|
+ if (retval > 0) {
|
|
LOG_FN_CONN(conn, (LOG_INFO,LD_NET,
|
|
LOG_FN_CONN(conn, (LOG_INFO,LD_NET,
|
|
"Holding conn (fd %d) open for more flushing.",
|
|
"Holding conn (fd %d) open for more flushing.",
|
|
conn->s));
|
|
conn->s));
|
|
-
|
|
+ conn->timestamp_lastwritten = now;
|
|
|
|
+ }
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
if (connection_wants_to_flush(conn)) {
|
|
if (connection_wants_to_flush(conn)) {
|