Matt Joiner
|
8f89d7a07e
|
Use CopyExact when extracting handshake read
|
2014-08-25 05:25:52 +10:00 |
Matt Joiner
|
0b01c597c0
|
Let client.DataWaiter have its own mutex
|
2014-08-25 05:24:18 +10:00 |
Matt Joiner
|
8db966cd42
|
Make use of levelmu to prioritize client.TorrentReadAt
|
2014-08-25 05:23:28 +10:00 |
Matt Joiner
|
8f065e473f
|
Add some checks to TorrentReadAt for 0 byte reads
|
2014-08-24 06:54:14 +10:00 |
Matt Joiner
|
b72b05f495
|
Count posted cancels
|
2014-08-24 03:10:47 +10:00 |
Matt Joiner
|
2b079e4a9d
|
Got a nice working algorithm for responsive download strategy
|
2014-08-24 03:08:11 +10:00 |
Matt Joiner
|
c1896c4d46
|
Count unexpected cancels received
|
2014-08-22 17:47:44 +10:00 |
Matt Joiner
|
95d5d4a30c
|
Improve status and logging
|
2014-08-22 17:33:17 +10:00 |
Matt Joiner
|
edf0a13128
|
Export some log events via expvar instead
|
2014-08-22 01:33:13 +10:00 |
Matt Joiner
|
702665f9f3
|
Remove torrent from download strategy when dropped
|
2014-08-22 01:25:18 +10:00 |
Matt Joiner
|
e8f184a7bf
|
Store pending peers in a dict to prevent duplicates
|
2014-08-21 21:10:19 +10:00 |
Matt Joiner
|
5c1492bffe
|
Add CopyExact util function
|
2014-08-21 18:24:19 +10:00 |
Matt Joiner
|
52fc7c7205
|
Improve the internal connection and handshake logic
|
2014-08-21 18:12:49 +10:00 |
Matt Joiner
|
40fd1d647c
|
Tidy up the torrent and DHT APIs
|
2014-08-21 18:07:06 +10:00 |
Matt Joiner
|
466c85a1b2
|
Triage upload contention due to lack of uploader routine
|
2014-07-24 13:46:49 +10:00 |
Matt Joiner
|
3a852886ad
|
Triage announcer leak on dropped torrents
|
2014-07-24 13:46:14 +10:00 |
Matt Joiner
|
9895205e19
|
Comments and logging
|
2014-07-24 13:43:45 +10:00 |
Matt Joiner
|
ec1c4b0cf8
|
Improve client status
|
2014-07-24 13:43:11 +10:00 |
Matt Joiner
|
ef7c4f4120
|
Move priority management entirely into the download strategies
|
2014-07-24 13:42:31 +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
|
6d52918540
|
Fix missed unlock adding peers to non-existent torrent
|
2014-07-23 01:51:30 +10:00 |
Matt Joiner
|
3ae290fef6
|
Fix crash printing client status if DHT isn't enabled
|
2014-07-23 01:50:49 +10:00 |
Matt Joiner
|
244c70bc83
|
Implement "yourip" field of extension protocol handshake
|
2014-07-22 21:45:12 +10:00 |
Matt Joiner
|
7f6987b2a4
|
Error in connection.writer goroutine wasn't killing the connection
|
2014-07-18 02:37:33 +10:00 |
Matt Joiner
|
37eece626b
|
TODO
|
2014-07-17 16:04:56 +10:00 |
Matt Joiner
|
b467f15bae
|
Fix goroutine leak for connection.writer
|
2014-07-17 16:02:30 +10:00 |
Matt Joiner
|
a258b9ab21
|
Squash some more debug messages, fix some other error handling
|
2014-07-17 16:01:48 +10:00 |
Matt Joiner
|
b159968081
|
Missing newline between torrents in client status
|
2014-07-17 15:58:33 +10:00 |
Matt Joiner
|
5cda3affb4
|
Memory leak because queued peer requests aren't treated yet
|
2014-07-16 17:08:47 +10:00 |
Matt Joiner
|
583d5c266a
|
Squash some unhelpful log messages now that stuff is available in status
|
2014-07-16 17:08:25 +10:00 |
Matt Joiner
|
8910eb660d
|
Add more information I've needed to the status page
|
2014-07-16 17:07:28 +10:00 |
Matt Joiner
|
0d27ae7fd1
|
Make the discovery source for a connection more descriptive
|
2014-07-16 17:06:18 +10:00 |
Matt Joiner
|
9e8a72ff1d
|
Invalidating metadata would cause a crash when metadata pieces kept arriving
|
2014-07-14 23:12:52 +10:00 |
Matt Joiner
|
61b87222d4
|
Client would attempt to download if unchoked before the metadata is available
|
2014-07-14 23:12:15 +10:00 |
Matt Joiner
|
28afa748e7
|
API changes in github.com/anacrolix/libtorgo
|
2014-07-13 17:37:12 +10:00 |
Matt Joiner
|
581a3d9325
|
Add DHT support to cmd/torrent
|
2014-07-11 19:30:20 +10:00 |
Matt Joiner
|
e947ce2ee4
|
Run go vet on everything
|
2014-07-10 02:59:37 +10:00 |
Matt Joiner
|
a88f856468
|
Fix incorrect log call
At least vet catches it...
|
2014-07-10 02:53:46 +10:00 |
Matt Joiner
|
4c2d07337d
|
Keep pieces sorted by bytes left
|
2014-07-10 00:26:58 +10:00 |
Matt Joiner
|
ae45175015
|
Fix crash quitting when accept conn is closed
|
2014-07-04 01:44:15 +10:00 |
Matt Joiner
|
8505a1017e
|
Move compactPeers type to util package
|
2014-07-04 01:41:46 +10:00 |
Matt Joiner
|
0f53e89e7b
|
Improve some log messages
|
2014-07-01 00:05:28 +10:00 |
Matt Joiner
|
23cfe49ea4
|
Record if a connection was incoming
|
2014-07-01 00:04:28 +10:00 |
Matt Joiner
|
b969b17092
|
Disable request heat assertion for now
Probably want a flag to do intensive checks like this
|
2014-06-30 00:22:36 +10:00 |
Matt Joiner
|
eb070383b1
|
Move download strategies into their own file
|
2014-06-30 00:22:05 +10:00 |
Matt Joiner
|
51431c7cfc
|
Some minor tweaks
|
2014-06-29 19:10:59 +10:00 |
Matt Joiner
|
b87bb74f31
|
Fix a race where the last piece of a torrent is requested before it's been hashed
|
2014-06-29 19:08:16 +10:00 |
Matt Joiner
|
3b29043861
|
Add peers sent over PEX
|
2014-06-29 19:07:43 +10:00 |
Matt Joiner
|
aec5074f3d
|
Add support for extended handshake "v", "reqq", and "p" fields
|
2014-06-29 18:57:49 +10:00 |
Matt Joiner
|
5e7fe0383b
|
Fix crash printing client status when a torrent info isn't available
|
2014-06-29 18:56:19 +10:00 |