Jimmy Zelinskie
301dd22f15
lint: actually lint all go files
2022-01-15 23:28:52 -05:00
Leo Balduf
756a0f6316
middleware: document stop.Stopper behaviour for Hooks
2017-12-02 22:46:09 +01:00
Jimmy Zelinskie
134744a484
middleware: remove sanitization mw
2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
3f29aa358b
middleware: sanitize max scrape infohashes
...
Fixes #268 .
2017-02-02 02:32:35 -05:00
Leo Balduf
102b032c43
udp: fix ordering of scrapes
2017-01-30 13:07:14 +01:00
Leo Balduf
3ae3843944
bittorrent: add AddressField to ScrapeRequest
2017-01-20 20:34:39 +01:00
Leo Balduf
3c098c0703
middleware: add sanitization hook
2017-01-20 20:29:59 +01:00
Jimmy Zelinskie
d86b8e14de
middleware: fix scrape data in announces
...
This change adjusts it such that only empty Swarms return the request
Peer. This also increments the Scrape data properly if a peer is added.
Fixes #241 .
2016-10-01 22:56:07 -04:00
Leo Balduf
45a5e632ae
responseHook: always include the announcing peer
...
Fixes #231
Fixes #232
2016-09-29 18:51:05 -04:00
Leo Balduf
3ec6f10e93
hooks: add response hook
...
Fixes #216
2016-09-08 16:02:01 -04:00
Leo Balduf
565ac21834
hooks: add swarm interaction
2016-09-08 15:16:25 -04:00
Leo Balduf
1ff41d7882
middleware: make hooks return a context
2016-09-05 18:26:04 -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
040a3294b1
middleware: add clientwhitelist
2016-08-16 22:17:10 -04:00
Jimmy Zelinskie
c9fe95b103
s/backend/middleware
2016-08-16 22:17:10 -04:00