Commit Graph

33 Commits

Author SHA1 Message Date
Matt Joiner 1db00a54f0 Redo the compact peer types 2015-08-17 19:52:47 +10:00
Matt Joiner abdf1f049f dht: Support IPv6 compact peers 2015-08-06 09:01:38 +10:00
Matt Joiner d077fed72d Some utils moved to missinggo 2015-08-04 00:29:01 +10:00
Matt Joiner c5208569ca Apply sortimports 2015-04-30 00:31:34 +10:00
Matt Joiner 526d9d738e Rewrite imports to local bencode and metainfo 2015-04-27 14:55:01 +10:00
Matt Joiner 5f7ad4c769 Merge all the tracker packages, why would anyone want them separately? 2015-03-27 15:12:15 +11:00
Matt Joiner 3aa78763aa Use rogpeppe's sortimports to fix this goimports ordering madness 2015-03-26 17:18:08 +11:00
Matt Joiner 842a32ae0c Rewrite import paths for migration from Bitbucket 2015-03-20 16:37:44 +11:00
Matt Joiner 0f7c4c5bda util: Support CopyExact with pointer source
Nice to avoid copying large value types.
2015-03-18 18:09:54 +11:00
Matt Joiner 0c7c2e1955 util.AddrIP, TCPAddr 2015-03-08 17:44:08 +11:00
Matt Joiner c8e911c576 Remove util.LoggedHTTPServe, use package envpprof instead 2015-01-29 14:16:16 +11:00
Matt Joiner caa389784a util.Addr* funcs: Add optimizations for *net.UDPAddr 2014-12-26 17:16:20 +11:00
Matt Joiner 51f5273ba9 util/dirwatch: Some tidying 2014-12-03 12:10:29 -06:00
Matt Joiner d70f6bcd20 loghttp: The status server should run on the default mux 2014-11-19 20:00:43 -06:00
Matt Joiner 7be828bb4c util/loghttp: Don't implicitly expose pprof 2014-11-18 21:51:36 -06:00
Matt Joiner 00e2d42870 util: LoggedHTTPServe uses its own mux for use as a HTTP status server 2014-11-18 14:35:32 -06:00
Matt Joiner a6914e5897 cmd/dht-get-peers: Expose debug HTTP 2014-11-18 09:56:05 -06:00
Matt Joiner 0668e33228 util/CopyExact: Test copying from interfaces and nil 2014-11-17 17:43:41 -06:00
Matt Joiner 32d31188fb loghttp: Try successive port numbers until available 2014-11-16 23:24:25 -06:00
Matt Joiner 34a47a100e Add util AddrIP and AddrPort functions 2014-11-16 21:20:49 -06:00
Matt Joiner dcac7db0f0 Fix CopyExact to work on a source string 2014-11-16 13:52:37 -06:00
Matt Joiner e3048403ce check that util.CompactPeer is unmarshaled from the correct number of bytes 2014-11-16 13:05:19 -06:00
Matt Joiner 6c1c339ae4 Clean up magnet URI parsing errors in dirwatch 2014-09-11 14:18:59 +10:00
Matt Joiner 01a9c73428 Some fixes and improvements to dirwatch 2014-08-28 08:05:06 +10:00
Matt Joiner caa1d65bc8 Add levelmu, a package implementing priority mutex with levels 2014-08-25 05:22:34 +10:00
Matt Joiner 60df4e100c Simplify dirwatch to scan the whole directory on changes 2014-08-22 17:31:03 +10:00
Matt Joiner cb68c984fa Move some tracker.CompactPeer into util 2014-08-21 21:07:44 +10:00
Matt Joiner 5c1492bffe Add CopyExact util function 2014-08-21 18:24:19 +10:00
Matt Joiner 8ff1c6f34a Support watching for ".magnet" files in torrent directory 2014-07-24 13:44:23 +10:00
Matt Joiner 7cc22565ed Abstract the status HTTP server into package util 2014-07-23 01:54:58 +10:00
Matt Joiner 6158b1f6ec torrentfs: Match the active torrents to those found in the given directory 2014-07-23 01:54:11 +10:00
Matt Joiner 1e4862ace8 Start a simpler replacement for davecheney's profile package 2014-07-10 00:14:19 +10:00
Matt Joiner 8505a1017e Move compactPeers type to util package 2014-07-04 01:41:46 +10:00