Commit graph

19 commits

Author SHA1 Message Date
Leo Balduf
365a6caf43 http/bencode: add missing []Dict case
Fixes #238
2016-10-01 08:10:34 -04:00
Leo Balduf
d463b235b6 http: log internal server errors 2016-09-29 18:48:35 -04:00
Leo Balduf
203248425a http: fix IPv4 addresses not 4 bytes long
Fixes #230
2016-09-29 18:46:01 -04:00
Jimmy Zelinskie
fcfe5a2c2d frontend: add yaml tags to UDP and HTTP configs
This change also adds the missing fields to the example config.

Fixes #228.
2016-09-29 13:25:17 -04:00
Leo Balduf
b51bdd69ec bencode: fix unsupported type error message 2016-09-27 17:56:09 -04:00
Leo Balduf
331dbe34d7 http: add scrape address length to context 2016-09-08 16:02:03 -04:00
Jimmy Zelinskie
2415bc71c6 bencode: add missing error handling
In addition, this PR attempts to simplify some functions according to
the output of `gocyclo -n 15`.
2016-09-06 23:43:22 -04:00
Leo Balduf
d794f92c14 http: fix encoding of IPv4 peers with 16-byte addresses 2016-09-05 14:55:15 -04:00
mrd0ll4r
f6e362e506 Merge pull request #209 from jzelinskie/logrus
misc fixes for #207
2016-09-05 13:40:52 -04:00
Jimmy Zelinskie
093a748457 frontend: s/ctx.TODO/ctx.Background 2016-09-05 12:25:11 -04:00
Leo Balduf
6260570635 http: extract query parser to bittorrent package 2016-09-03 14:06:03 -04:00
Jimmy Zelinskie
31a79a1ce2 fix http frontend tests 2016-08-16 23:43:09 -04:00
Jimmy Zelinskie
fc13031d96 move to std context package 2016-08-16 22:34:05 -04:00
Jimmy Zelinskie
cc6614c474 rename back to chihaya 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
778773cb81 rm copyright 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c9fe95b103 s/backend/middleware 2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
11d90b088c s/trackerfuncs/trackerlogic 2016-08-16 22:17:10 -04:00
Leo Balduf
9a8cdccc6c make frontend.TrackerFuncs an interface 2016-08-16 22:17:10 -04:00
Leo Balduf
ae18d89627 rename frontends to frontend 2016-08-16 22:17:10 -04:00