| 1170 | } |
| 1171 | |
| 1172 | static void unsetBlockingTimeout(tls_connection *conn) { |
| 1173 | anetNonBlock(NULL, conn->c.fd); |
| 1174 | anetSendTimeout(NULL, conn->c.fd, 0); |
| 1175 | anetRecvTimeout(NULL, conn->c.fd, 0); |
| 1176 | } |
| 1177 | |
| 1178 | static int connTLSBlockingConnect(connection *conn_, const char *addr, int port, long long timeout) { |
| 1179 | tls_connection *conn = (tls_connection *) conn_; |
no test coverage detected