mirror of
git://erdgeist.org/opentracker
synced 2025-02-22 09:01:29 +08:00
set the interval to 1800 for announce (last change was only for scrape)
This commit is contained in:
parent
908649af98
commit
98ed6231e1
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ CC?=gcc
|
||||
FEATURES=#-DWANT_IP_FROM_QUERY_STRING -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER
|
||||
#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
|
||||
DEBUG_OPTS=-s -Os
|
||||
CFLAGS+=-I../libowfat -Wall -pipe # -pedantic -ansi
|
||||
CFLAGS+=-I../libowfat -Wall -pipe -m64 # -pedantic -ansi
|
||||
LDFLAGS+=-L../libowfat/ -lowfat -lm
|
||||
|
||||
HEADERS=trackerlogic.h scan_urlencoded_query.h
|
||||
|
@ -290,7 +290,7 @@ e400_param:
|
||||
|
||||
if( OT_FLAG( &peer ) & PEER_FLAG_STOPPED ) {
|
||||
remove_peer_from_torrent( hash, &peer );
|
||||
memmove( static_scratch + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali600e5:peers0:e", reply_size = 55 );
|
||||
memmove( static_scratch + SUCCESS_HTTP_HEADER_LENGTH, "d8:completei0e10:incompletei0e8:intervali1800e5:peers0:e", reply_size = 55 );
|
||||
} else {
|
||||
torrent = add_peer_to_torrent( hash, &peer );
|
||||
if( !torrent ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user