Commit graph

63 commits

Author SHA1 Message Date
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
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
42693e2a3b docs, signatures; glog for main; config.New() 2014-06-24 03:59:30 -04:00
Jimmy Zelinskie
3bfb3074b4 overhaul everything 2014-06-23 22:47:43 -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
0fd90b86d3 announce.go; fmt nitpicks 2014-05-08 01:09:02 -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
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
Jimmy Zelinskie
76f03e209f rm driver deps 2013-12-02 05:00:28 -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
93af4912c4 Move packages to chihaya org 2013-11-30 22:39:02 -05:00
Jimmy Zelinskie
6549f49e26 go fmt [ci skip] 2013-11-24 00:49:20 -05:00
Jimmy Zelinskie
9382ac482e removed all references to "transaction" 2013-11-23 23:48:38 -05:00
Jimmy Zelinskie
31e618c8d9 Global r.Close = true 2013-11-23 18:33:35 -05:00
Jimmy Zelinskie
86f8199bef Fix Content-Type Header not improperly being set for stats 2013-11-23 18:04:23 -05:00
cpb8010
493d40da3d Added ParseQuery tests and benchmarks 2013-11-09 03:43:37 -05:00
cpb8010
a65755a79b Parsing peer_id before whitelist check 2013-11-05 00:31:20 -05:00
Jimmy Zelinskie
2c7fc05c97 removed waitgroup/pubchannel; added stoppablelistener 2013-10-22 19:07:39 -04:00
Jimmy Zelinskie
d30c35f1d7 web package renamed backend 2013-10-21 03:29:35 -04:00
Jimmy Zelinskie
2cd7f0d22f package shuffling: models -> storage, old storage -> web 2013-10-04 04:19:43 -04:00
Jimmy Zelinskie
cf53f9554c initial storage reorganization 2013-10-03 22:10:46 -04:00
cpb8010
1ea24f80dc Completed cache.Tx tests and added benchmarks 2013-09-22 21:23:37 -04:00
cpb8010
3caa06b5f6 Updated tests, added LeecherFinished to cache.Tx 2013-09-22 21:23:37 -04:00
cpb8010
42f9427c01 Changed peer schema and added additional tests 2013-09-22 21:23:37 -04:00
Jimmy Zelinskie
a2527aa4e2 generic test config 2013-08-29 00:47:37 -04:00
Jimmy Zelinskie
6e7d6f1a31 fix travis tests 2013-08-29 00:24:31 -04:00
Jimmy Zelinskie
ecbedf4b89 stats test, add/remove torrent handlers, init batter driver 2013-08-28 23:44:45 -04:00
Jimmy Zelinskie
107ec1dd15 more work towards new architecture 2013-08-26 14:38:45 -04:00
Jimmy Zelinskie
d3f3c81c61 initial architecture overhaul 2013-08-23 15:39:42 -04:00
Justin Li
b88c4d4de1 Refactor a few more method names 2013-08-13 02:38:03 -04:00
Justin Li
5084a2ac94 Clean up Tx API 2013-08-13 02:06:15 -04:00
Jimmy Zelinskie
dcc2621ec3 initial work on publish 2013-08-04 23:01:25 -04:00
Jimmy Zelinskie
a6d04f6790 initial announce response 2013-08-04 15:56:31 -04:00
Jimmy Zelinskie
40505091f5 storage reorganized around a pool and transactions 2013-07-25 10:03:04 -04:00
Jimmy Zelinskie
94187e4261 initial work on redis scripts 2013-07-24 03:08:38 -04:00
Jimmy Zelinskie
2cd3473d18 redis restructured to use strings of JSON 2013-07-24 00:18:43 -04:00