Commit Graph

7 Commits

Author SHA1 Message Date
mutantmonkey 47670af185 Infer site URL from host and headers
We can use the Host property of the request and the X-Forwarded-Proto to
infer the site URL. To reduce complexity, the path is not inferred, and
it is assumed that linx-server is running at /. If this is not the case,
the site URL must be manually configured; this is no different than it
was before.
2016-06-04 18:34:22 -07:00
andreimarcu cb8b8800ba Cleanup vim artifacts 2015-10-04 18:24:13 -04:00
mutantmonkey 199289a58d change CreateTorrent to createTorrent
After some discussion, I decided it was probably best to not export this
after all.
2015-10-01 22:33:30 -07:00
mutantmonkey 31aa0d666b add torrent test for binary data 2015-09-29 20:13:14 -07:00
mutantmonkey df09b005de use oopsHandler instead of panicking on error 2015-09-29 08:41:42 -07:00
mutantmonkey b81477c1d3 fix go vet complaint in torrent_test.go 2015-09-28 23:04:20 -07:00
mutantmonkey 091225b9e4 add torrent support
This change adds an option to download files with BitTorrent. A webseed
is provided in the torrent file to bootstrap the swarm.
2015-09-28 22:58:14 -07:00