Commit graph

19 commits

Author SHA1 Message Date
mrd0ll4r
7f16c55d81 make infohash and peerID byte arrays (#169) 2016-05-16 23:48:23 -04:00
Jimmy Zelinskie
1c3e0432d8 Merge pull request #162 from mrd0ll4r/lint
Lint, vet, Start/Stop
2016-04-12 14:06:41 -04:00
Leo Balduf
0c02ac9980 general: lint clean, vet clean 2016-04-11 21:26:26 -04:00
Leo Balduf
6c2ab5170d http: fixed bencoding, compact, added log 2016-04-07 22:31:38 -04:00
Leo Balduf
ed83aef2c1 servers: fixed starting/stopping of servers 2016-04-07 10:22:30 -04:00
Jimmy Zelinskie
8d1244d1c2 pkg/bencode,server/http: more general interfaces
Fixes #156.
2016-04-03 23:05:00 -04:00
Leo Balduf
9c1168746a hotfix: initialized scrape map 2016-04-02 20:23:42 -04:00
Josh de Kock
01abcad893 http/request: check if query.ErrKeyNotFound for event 2016-03-30 12:50:54 +01:00
Josh de Kock
978c6a36e7 http: stopped throwing error on invalid event
Event is an optional key, and if it's invalid or non-existent then it can just be assumed as 'none'
2016-03-29 23:18:58 +01:00
Jimmy Zelinskie
0dfc26caea remove config package 2016-03-02 21:05:33 -05:00
Leo Balduf
114322ce10 pool: fixed synchronization/stopping of the pool 2016-03-02 21:05:33 -05:00
Leo Balduf
34428cf465 config: fixed parsing of configs 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
7be6dcaaa3 http: update config to snake_case 2016-03-02 21:05:32 -05:00
Jimmy Zelinskie
82b4395b11 errors: remove errors package 2016-03-02 21:05:32 -05:00
Leo Balduf
3b54069a1b various small fixes 2016-03-02 21:05:31 -05:00
Justin Li
b1f186b665 Set IP on the request object 2016-03-02 21:05:31 -05:00
Justin Li
75b4a20e56 Bring in more old behaviour, use types for peer_id and infohash 2016-03-02 21:05:31 -05:00
Justin Li
05b7b955a1 Address minor comments 2016-03-02 21:05:30 -05:00
Jimmy Zelinskie
bd33c0c66b initial middleware refactor 2016-03-02 21:05:30 -05:00