| 535 | */ |
| 536 | |
| 537 | void |
| 538 | _httpDisconnect(http_t *http) /* I - HTTP connection */ |
| 539 | { |
| 540 | #ifdef HAVE_TLS |
| 541 | if (http->tls) |
| 542 | _httpTLSStop(http); |
| 543 | #endif /* HAVE_TLS */ |
| 544 | |
| 545 | httpAddrClose(NULL, http->fd); |
| 546 | |
| 547 | http->fd = -1; |
| 548 | } |
| 549 | |
| 550 | |
| 551 | /* |
no test coverage detected