Remove tcp_closer

This commit is contained in:
2022-12-31 11:20:29 +01:00
parent 33feabdec0
commit 9cb278eb2a
7 changed files with 21 additions and 46 deletions

View File

@ -350,7 +350,7 @@ int respond(client_ctx_t *ctx) {
return 0;
}
int request_complete(client_ctx_t *ctx) {
void request_complete(client_ctx_t *ctx) {
// FIXME
//if (close_proxy && proxy.socket != 0) {
// info(BLUE_STR "Closing proxy connection");
@ -364,6 +364,4 @@ int request_complete(client_ctx_t *ctx) {
uri_free(&ctx->uri);
http_free_req(&ctx->req);
http_free_res(&ctx->res);
return 0;
}