Commit graph

1100 commits

Author SHA1 Message Date
Jimmy Zelinskie
ff5dc0920d DriverConfig.Params enables generic db parameters 2014-07-03 17:37:13 -04:00
Jimmy Zelinskie
b1311b3118 log flags/gomaxprocs 2014-07-02 00:45:17 -04:00
Jimmy Zelinskie
d954378791 specify between torrent and http errors 2014-07-02 00:33:19 -04:00
Jimmy Zelinskie
6d5290d85e transition to httprouter 2014-07-01 21:40:29 -04:00
Jimmy Zelinskie
9cb5b82dc7 log->glog; more bencode fixes 2014-06-30 23:21:08 -04:00
Jimmy Zelinskie
834e584f2d fix null ptrs, misuse of bencode 2014-06-30 14:59:31 -04:00
Jimmy Zelinskie
ac45708bfd fix passing of peer slices by reference 2014-06-29 01:23:55 -04:00
Jimmy Zelinskie
3999e35453 Refactor writing peers & IPv6 Compact support. Closes #14. 2014-06-28 20:44:43 -04:00
Jimmy Zelinskie
e0ead67737 defer pprof.StopCPUProfile() 2014-06-26 17:19:18 -04:00
Jimmy Zelinskie
caba155b5d consistent logging 2014-06-26 17:10:39 -04:00
Jimmy Zelinskie
8775764fb6 deltas are now private only 2014-06-26 14:26:58 -04:00
Jimmy Zelinskie
9e37c6af02 NewPeer now handles nil 2014-06-25 21:34:21 -04:00
Jimmy Zelinskie
42693e2a3b docs, signatures; glog for main; config.New() 2014-06-24 03:59:30 -04:00
Jimmy Zelinskie
3c01900c69 fix copyright [skip ci] 2014-06-23 22:55:27 -04:00
Jimmy Zelinskie
3bfb3074b4 overhaul everything 2014-06-23 22:47:43 -04:00
Jimmy Zelinskie
18f6c32d97 update travis to go1.3 & rm redis dependency 2014-06-19 12:35:24 -04:00
Jimmy Zelinskie
49dac73d82 add mock drivers to binary 2014-06-19 12:34:47 -04:00
Jimmy Zelinskie
cb99fce6c0 server.Prime and server.serveAnnounce test 2014-05-08 11:01:02 -04:00
Jimmy Zelinskie
58586e6718 fix accidental reorder 2014-05-08 06:49:16 -04:00
Jimmy Zelinskie
cf95b2d94b improve comments and logging 2014-05-08 06:48:32 -04:00
Jimmy Zelinskie
90491dc386 mockConfig.Addr :80 -> :34000 2014-05-08 06:39:39 -04:00
Jimmy Zelinskie
0fd90b86d3 announce.go; fmt nitpicks 2014-05-08 01:09:02 -04:00
Jimmy Zelinskie
10c980adff mock.RecordAnnounce() & mock.DeltaHistory() 2014-05-07 09:01:48 -04:00
Jimmy Zelinskie
7a05ab6d64 *_handler.go -> serve_*.go 2014-05-07 05:27:09 -04:00
Jimmy Zelinskie
4a8d756f5a announce type; renames; docs 2014-05-07 05:19:36 -04:00
Jimmy Zelinskie
b32eaebcd6 first pass with linter 2014-05-01 00:30:46 -04:00
Jimmy Zelinskie
f0bed27b6d Server.BackendCon renamed Server.BackendConn 2014-04-20 02:25:21 -04:00
Jimmy Zelinskie
e80b17b2ad initial delta support 2014-02-22 23:47:11 -05:00
Justin Li
e8e692cbf6 Clean up tests a little 2013-12-13 11:48:47 -05:00
Justin Li
140a738162 Fix edge cases for peer ID parsing
Fixes #27
2013-12-13 11:19:22 -05:00
Justin Li
0ceefca9c1 Merge pull request #26 from b0unce/example-config
Add example configuration and update README
2013-12-10 10:40:33 -08:00
b0unce
7c94d0ea35 Add example configuration and update README 2013-12-10 13:31:17 +00:00
Justin Li
181f241f79 Fix returning more than the requested number of peers, and don't return
a user's peers to themselves
2013-12-05 20:38:13 -05:00
Justin Li
4406eab97a Refactor determining the remote IP 2013-12-05 20:38:13 -05:00
Jimmy Zelinskie
2b7d5b5bf0 simplify routing, rm addremove.go
will implement a full rest API later
2013-12-05 20:24:54 -05:00
Justin Li
fe1a4a6a65 Remove the rest of slots 2013-12-05 20:12:15 -05:00
Jimmy Zelinskie
f9d65db5b0 remove references to "web" in backend driver [skip ci] 2013-12-05 19:55:00 -05:00
Jimmy Zelinskie
76f03e209f rm driver deps 2013-12-02 05:00:28 -05:00
Jimmy Zelinskie
d99103643e go verison to 1.2 2013-12-02 04:56:30 -05:00
Justin Li
9c62ca4547 Register the mock driver 2013-11-30 23:16:31 -05:00
Justin Li
986675cc4d Fix stats test and stop spamming people 2013-11-30 23:13:30 -05:00
Justin Li
a735fed7d9 Use mock driver for stats test 2013-11-30 23:08:31 -05:00
Justin Li
f59e832cb5 Fix subproject import paths 2013-11-30 23:05:49 -05:00
Justin Li
7318a9c84a Switch links to subproject repos 2013-11-30 23:04:02 -05:00
Jimmy Zelinskie
a6041dc654 move drivers to dedicated repos 2013-11-30 23:00:20 -05:00
Justin Li
ddc192b08c Put authors/contributors file in chronological order 2013-11-30 22:58:25 -05:00
Justin Li
4e4e2f7bac More renaming 2013-11-30 22:41:11 -05:00
Justin Li
93af4912c4 Move packages to chihaya org 2013-11-30 22:39:02 -05:00
Jimmy Zelinskie
af6dbcc3cd Merge pull request #24 from chihaya/mock-tracker-storage
Mock Tracker Storage
2013-11-30 19:33:57 -08:00
Jimmy Zelinskie
1eac367711 mock interface complete 2013-11-30 00:54:08 -05:00