From 36c814eb95f25bbf3400268f4b9e33425fd45cef Mon Sep 17 00:00:00 2001 From: eddie0git <99194419+eddie0git@users.noreply.github.com> Date: Tue, 24 Jan 2023 16:32:27 +0100 Subject: [PATCH] Update http-relay.c static char host[] = "123.123.123.123:12345"; predefined as this points to a chinese server --- http-relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-relay.c b/http-relay.c index dd16e464..3fe3d613 100644 --- a/http-relay.c +++ b/http-relay.c @@ -370,7 +370,7 @@ static int httpr_append_header(redsocks_client *client, char *line) // This function is not reenterable static char *fmt_http_host(struct sockaddr_in addr) { - static char host[] = "123.123.123.123:12345"; + static char host[] = "127.127.127.127:12345"; if (ntohs(addr.sin_port) == 80) return inet_ntoa(addr.sin_addr); else {