(1.0x) #660: fix HTTP syntax error that caused "Bad Request" messages on lighttpd-based trackers. Reported by _Psih

This commit is contained in:
Charles Kerr 2008-01-28 06:03:14 +00:00
parent 351c8f3008
commit 3d8dfa574b
1 changed files with 0 additions and 1 deletions

View File

@ -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 );
}