(1.0x) #660: fix HTTP syntax error that caused "Bad Request" messages on lighttpd-based trackers. Reported by _Psih
This commit is contained in:
parent
351c8f3008
commit
3d8dfa574b
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue