Changeset 4851


Ignore:
Timestamp:
Jan 28, 2008, 6:03:12 AM (14 years ago)
Author:
charles
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0x/libtransmission/tracker.c

    r4771 r4851  
    88 * the Transmission project.
    99 *
    10  * $Id:$
     10 * $Id$
    1111 */
    1212
     
    664664    evhttp_add_header( req->output_headers, "Host", buf );
    665665    evhttp_add_header( req->output_headers, "Connection", "close" );
    666     evhttp_add_header( req->output_headers, "Content-Length", "0" );
    667666    evhttp_add_header( req->output_headers, "User-Agent",
    668667                                         TR_NAME "/" LONG_VERSION_STRING );
Note: See TracChangeset for help on using the changeset viewer.