From 3d8dfa574b58699ee325e9ec4a09eca2f6e6f2da Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 28 Jan 2008 06:03:14 +0000 Subject: [PATCH] (1.0x) #660: fix HTTP syntax error that caused "Bad Request" messages on lighttpd-based trackers. Reported by _Psih --- libtransmission/tracker.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libtransmission/tracker.c b/libtransmission/tracker.c index 3955ecc9b..546b61bb4 100644 --- a/libtransmission/tracker.c +++ b/libtransmission/tracker.c @@ -663,7 +663,6 @@ addCommonHeaders( const tr_tracker * t, snprintf( buf, sizeof(buf), "%s:%d", address->address, address->port ); evhttp_add_header( req->output_headers, "Host", buf ); evhttp_add_header( req->output_headers, "Connection", "close" ); - evhttp_add_header( req->output_headers, "Content-Length", "0" ); evhttp_add_header( req->output_headers, "User-Agent", TR_NAME "/" LONG_VERSION_STRING ); }