MINOR: connection: make conn_sock_drain() use the control layer's ->drain()
Now we don't touch the fd anymore there, instead we rely on the ->drain()
provided by the control layer. As such the function was renamed to
conn_ctrl_drain().
diff --git a/src/tcp_act.c b/src/tcp_act.c
index 182234f..9179a80 100644
--- a/src/tcp_act.c
+++ b/src/tcp_act.c
@@ -176,7 +176,7 @@
#ifdef TCP_QUICKACK
/* drain is needed only to send the quick ACK */
- conn_sock_drain(conn);
+ conn_ctrl_drain(conn);
/* re-enable quickack if it was disabled to ack all data and avoid
* retransmits from the client that might trigger a real reset.