Ignore:
Timestamp:
Feb 10, 2013, 11:21:58 PM (8 years ago)
Author:
jordan
Message:

(libT) #5291 'increase scrape buffer sizes to accomodate for multiscrape': done with patch by reardon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r13868 r14012  
    130130  if (isScrape || isAnnounce)
    131131    {
    132       const int sndbuf = 1024;
    133       const int rcvbuf = isScrape ? 2048 : 3072;
     132      const int sndbuf = isScrape ? 4096 : 1024;
     133      const int rcvbuf = isScrape ? 4096 : 3072;
    134134      setsockopt (fd, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof (sndbuf));
    135135      setsockopt (fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof (rcvbuf));
Note: See TracChangeset for help on using the changeset viewer.