| 1164 | } |
| 1165 | |
| 1166 | static void setBlockingTimeout(tls_connection *conn, long long timeout) { |
| 1167 | anetBlock(NULL, conn->c.fd); |
| 1168 | anetSendTimeout(NULL, conn->c.fd, timeout); |
| 1169 | anetRecvTimeout(NULL, conn->c.fd, timeout); |
| 1170 | } |
| 1171 | |
| 1172 | static void unsetBlockingTimeout(tls_connection *conn) { |
| 1173 | anetNonBlock(NULL, conn->c.fd); |
no test coverage detected