Commit Graph

22 Commits

Author SHA1 Message Date
Bora M. Alper
376dba5810
staticcheck guided refactoring 2020-11-27 18:06:43 +00:00
Bora M. Alper
18edea1c80
magneticod: potential improvements to indexing service 2020-02-22 14:26:45 +00:00
Bora M. Alper
58ef12c79d
magneticod: ignore 204 Method Unknown DHT errors 2020-02-22 14:26:17 +00:00
Luca Ruggieri
7ec193b598 fixed concurrency on routingTable map 2019-10-27 12:05:10 +01:00
Gary Coulbourne
ab00ab3de8
Fixed spelling
Querying was misspelled.  (noticed it while reading through the code to understand it)
2019-10-03 09:36:37 -04:00
Bora M. Alper
d7bfbc7182
use before set, see #174 (thanks to @Glandos) 2019-09-18 01:22:34 +01:00
Bora M. Alper
0e9dcba5b6 fix Docker setup 2019-09-18 01:21:50 +01:00
Bora M. Alper
75abc0ee02
[magneticod] add parameters to adjust resource usage 2019-05-21 13:31:01 +01:00
Bora M. Alper
061aff8ddc
[magneticod] detect UDP socket closure reliably 2019-05-19 17:23:55 +01:00
Bora M. Alper
1fdfa131aa
v0.8.0 featuring BEP 51 "DHT Infohash Indexing" 2019-05-19 00:07:37 +01:00
Bora M. Alper
aae67090af
WIP for BEP 51 (complete but too buggy) 2019-05-15 13:18:42 +01:00
Bora M. Alper
b0c9198f8d
started working on BEP 51: DHT Infohash Indexing 2019-01-05 21:35:13 +03:00
Bora M. Alper
87cec4ec37
magneticod: latest status messages now of priority info (rather than warn) 2018-12-30 19:40:35 +03:00
Bora M. Alper
06383d1a2e
stylistic changes 2018-12-30 08:25:03 +03:00
Bora M. Alper
32fbe90604
max # of leeches limited, fixed parameters are now configurable 2018-12-30 08:24:14 +03:00
Bora M. Alper
020b55104f
better error handling in c&w 2018-12-24 21:30:07 +03:00
Bora Alper
4b9b354171 fixed some go vet warnings, fixed formatting 2018-08-03 15:40:04 +03:00
Bora Alper
dc420da802 cumulative commit! (see the description for changes)
magneticod:
!!! disabled the gradual increase in congestion control, for some reason we still can't detect congestion...
- `*net.UDPAddr` in dht/mainline instead of `net.Addr`
- fixed a bug when a very small extension message received
- simplified how peer adress is handled in bittorrent/metadata/sink
- simplified TrawlingResult in dht/mainline

magneticow:
- use WAL for sqlite3

persistence:
- use URL.String() instead of url.Path in sql.Open() so that URL parameters are not lost...
2018-08-03 11:28:50 +03:00
Bora Alper
c07daa3eca magneticod: metadata leech refactored heavily, now much more readable <3
+ persistence: we now make sure that rows are always closed using `defer`
2018-07-24 15:41:13 +03:00
Bora Alper
0c54cc80dc [magneticow] the search now works, but need to change our approach 2018-04-25 21:33:50 +01:00
Bora Alper
f8b489f4a0 fixed some imports 2018-04-16 16:40:54 +01:00
Bora Alper
7a49acb50a created /cmd and /pkg directories 2018-03-02 18:56:17 +00:00