Commit graph

811 commits

Author SHA1 Message Date
Leo Balduf
ab2a6e128d response: add announce interval 2016-07-13 08:52:47 -04:00
Jimmy Zelinskie
ff988949ab Merge pull request #186 from mrd0ll4r/memory-optimization-fix
fix memory optimization
2016-07-10 13:09:48 -04:00
Leo Balduf
1530a37138 fix memory optimization 2016-07-09 22:55:34 -04:00
Jimmy Zelinskie
40d0236596 Merge pull request #184 from mrd0ll4r/tests-smallfix
store: fix various small test issues
2016-07-09 21:58:54 -04:00
Jimmy Zelinskie
6a47110c76 Merge pull request #185 from mrd0ll4r/memory-optimization
memory: optimize peer store memory footprint and performance
2016-07-09 21:55:19 -04:00
Leo Balduf
ed8cc0d5b3 memory: optimize peer store memory footprint and performance 2016-07-09 20:38:07 -04:00
Leo Balduf
b3261a584e store: fix various small test issues 2016-07-05 16:36:40 -04:00
Jimmy Zelinskie
1fdbe1bad1 Merge pull request #176 from mrd0ll4r/store-bench
store: add general benchmark and test, add synchronization to string store
2016-06-19 20:39:27 -04:00
Leo Balduf
9abf72e46a store: add README 2016-06-19 17:02:49 -04:00
Leo Balduf
31581bc1c3 store: add PeerStore benchmarks 2016-06-19 17:02:49 -04:00
Leo Balduf
69e9401838 store: add PeerStore tests 2016-06-19 17:02:49 -04:00
Leo Balduf
5fae38399b store: add IPStore benchmarks 2016-06-19 17:02:49 -04:00
Leo Balduf
a4d808dea9 store: add IPStore tests 2016-06-19 17:02:49 -04:00
Leo Balduf
c191e04ee7 store: add StringStore benchmarks 2016-06-19 17:02:49 -04:00
Leo Balduf
f4101f83e0 store: use stopper, extraxt StringStore tests 2016-06-19 17:02:46 -04:00
Leo Balduf
7e819dbb0c pkg: add stopper 2016-06-19 12:40:13 -04:00
mrd0ll4r
b9900b2e12 middleware: fix varinterval README (#175) 2016-05-25 01:36:52 -04:00
Jimmy Zelinskie
f1179e4afd Merge pull request #174 from jzelinskie/dockerfile
add glide.yaml and dockerfile
2016-05-21 18:48:38 -04:00
Jimmy Zelinskie
9b8937cfbd add dockerfile 2016-05-21 17:59:04 -04:00
Jimmy Zelinskie
e0bd90dbaf add glide.yaml 2016-05-21 17:59:04 -04:00
mrd0ll4r
f7baa3b5ea travis: add golint, goimports and go vet (#173) 2016-05-20 13:12:51 -04:00
mrd0ll4r
f15712670f config: make example config work (#168) 2016-05-19 10:37:47 -04:00
Jimmy Zelinskie
1597d1ffd3 Merge pull request #165 from mrd0ll4r/add-peer
middleware: added peer store updates middleware (swarm)
2016-05-17 03:31:13 -04:00
Leo Balduf
aaf9978df3 middleware: add swarm interaction 2016-05-17 00:49:16 -04:00
Leo Balduf
9f229c4ab6 add helper methods to get IPv4 and IPv6 peer 2016-05-17 00:49:15 -04:00
Leo Balduf
468eefee57 store: add ErrResourceDoesNotExist and update memory implementation 2016-05-17 00:49:06 -04:00
mrd0ll4r
7f16c55d81 make infohash and peerID byte arrays (#169) 2016-05-16 23:48:23 -04:00
Jimmy Zelinskie
a081e5195b Merge pull request #167 from mrd0ll4r/peer-equal
make peer Equal work on values
2016-04-16 21:57:20 -04:00
Leo Balduf
373d3c4c31 make peer Equal work on values 2016-04-16 16:05:29 -04:00
Jimmy Zelinskie
1c3e0432d8 Merge pull request #162 from mrd0ll4r/lint
Lint, vet, Start/Stop
2016-04-12 14:06:41 -04:00
Jimmy Zelinskie
32464b15e9 Merge pull request #166 from mrd0ll4r/announce-peers
Add peer parameters to AnnouncePeers
2016-04-12 14:05:50 -04:00
Leo Balduf
38856e82be store: added peer parameters to AnnouncePeers 2016-04-12 12:15:38 -04:00
Jimmy Zelinskie
d453bf7a75 Merge pull request #164 from mrd0ll4r/http-smallfix
http: fixed bencoding, compact, added log
2016-04-11 22:21:19 -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
f17ad3e24d middleware: improved infohash tests 2016-04-07 10:23:57 -04:00
Leo Balduf
ed83aef2c1 servers: fixed starting/stopping of servers 2016-04-07 10:22:30 -04:00
Jimmy Zelinskie
8a6618f947 Merge pull request #159 from joshdekock/middleware-refactor-string
Make client middleware use StringStore and remove ClientStore
2016-04-06 23:43:14 -04:00
Josh de Kock
d4099a5abf middleware/infohash: move prefix to within package
Let middlewares own their prefixes, makes it simpler
to manage for us.
2016-04-06 23:43:01 +01:00
Josh de Kock
d139335111 middleware/client: be more specific with error messages
contributes to #160
2016-04-06 23:43:01 +01:00
Josh de Kock
20cd7c07ce middleware/client: make client middleware use StringStore and remove ClientStore
Fixes #158
2016-04-06 23:43:01 +01:00
Jimmy Zelinskie
922f955796 Merge pull request #152 from mrd0ll4r/interval-middleware
middleware: added varinterval
2016-04-06 12:12:58 -04:00
Leo Balduf
0607841b3b middleware: added varinterval 2016-04-06 11:33:14 -04:00
Jimmy Zelinskie
35df7a29bc main: organize imports by server, middleware 2016-04-04 00:27:30 -04:00
Jimmy Zelinskie
835e1744e1 Merge pull request #157 from jzelinskie/simplify-interfaces
more general interfaces
2016-04-04 00:21:50 -04:00
Jimmy Zelinskie
8d1244d1c2 pkg/bencode,server/http: more general interfaces
Fixes #156.
2016-04-03 23:05:00 -04:00
Justin Li
07d79b2d56 Merge pull request #155 from mrd0ll4r/middleware-smallfix
hotfix: fixed bencode
2016-04-02 21:56:42 -04:00
Leo Balduf
8f587df9c7 hotfix: fixed bencode 2016-04-02 20:55:56 -04:00
Jimmy Zelinskie
d5c00c24b1 Merge pull request #153 from mrd0ll4r/middleware-smallfix
hotfix: initialized scrape map
2016-04-02 20:31:40 -04:00
Jimmy Zelinskie
52f6fb664e Merge pull request #154 from joshdekock/middleware-refactor
Hotfix: middleware/response: make godoc string <80 chars
2016-04-02 20:29:39 -04:00