diff --git a/http-connect.c b/http-connect.c index 5dc14ec..1d6a366 100644 --- a/http-connect.c +++ b/http-connect.c @@ -150,6 +150,7 @@ static void httpc_read_cb(struct bufferevent *buffev, void *_arg) free(line); } else if (len >= HTTP_HEAD_WM_HIGH) { + redsocks_log_error(client, LOG_NOTICE, "HTTP Proxy reply is too long, %zu bytes", len); redsocks_drop_client(client); dropped = 1; } diff --git a/http-relay.c b/http-relay.c index 830d708..d7e71b0 100644 --- a/http-relay.c +++ b/http-relay.c @@ -229,6 +229,7 @@ static void httpr_relay_read_cb(struct bufferevent *buffev, void *_arg) free(line); } else if (len >= HTTP_HEAD_WM_HIGH) { + redsocks_log_error(client, LOG_NOTICE, "HTTP Proxy reply is too long, %zu bytes", len); redsocks_drop_client(client); dropped = 1; }