Commit graph

13 commits

Author SHA1 Message Date
Justin Li
e3aff35532 models: Use a uint16 for port numbers 2015-02-20 02:06:44 -05:00
Justin Li
d9a7611eee http: Unexport announce/scrape creation functions 2015-02-20 01:36:49 -05:00
Justin Li
87c68f1973 2015 2015-01-01 12:02:25 -05:00
Justin Li
2779560934 Fix typo 2014-07-24 17:10:43 -04:00
Justin Li
dfc31495b7 Fix splitting for IPv6 RemoteAddrs 2014-07-24 17:02:28 -04:00
Justin Li
d5da5daa88 Read RealIP header from the request header map 2014-07-23 15:59:07 -04:00
Justin Li
98542c0ff1 Move tracker-specific logic out of http/query and into http 2014-07-23 15:56:15 -04:00
Justin Li
76c68a53b5 Add RealIPHeader configuration, and move network conf to its own struct 2014-07-23 14:00:17 -04:00
Justin Li
8369bbbcd8 Allow configuring if a peer may have 2 IPs 2014-07-23 13:36:31 -04:00
Justin Li
b227fc1fcd Support dual-stacked peers 2014-07-23 13:15:04 -04:00
Justin Li
14843b9e89 Add AllowIPSpoofing configuration 2014-07-23 13:08:57 -04:00
Justin Li
3ad3f11b2c Put the query package into http, since it is for http only 2014-07-17 01:00:26 -04:00
Justin Li
343b3358a1 Move NewAnnounce and NewScrape to http, since they are an implementation detail 2014-07-17 00:54:53 -04:00