Changeset 2838


Ignore:
Timestamp:
Aug 18, 2007, 3:47:08 PM (15 years ago)
Author:
charles
Message:

add the content-length header. I'm not getting any tracker errors anymore; please let me know if your experience differs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r2837 r2838  
    5050
    5151/* the number of peers that is our goal */
    52 #define NUMWANT 150
     52#define NUMWANT 80
    5353
    5454/* the length of the 'key' argument passed in tracker requests */
     
    535535    evhttp_add_header( req->output_headers, "Host", buf );
    536536    evhttp_add_header( req->output_headers, "Connection", "close" );
     537    evhttp_add_header( req->output_headers, "Content-length", "0" );
    537538    evhttp_add_header( req->output_headers, "User-Agent",
    538539                                         TR_NAME "/" LONG_VERSION_STRING );
Note: See TracChangeset for help on using the changeset viewer.