Commit Graph

8898 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
71cb357f45 Upstream code should make sure this doesn't happen. 2023-05-22 13:03:46 -04:00
Itamar Turner-Trauring
084499dd4b Fix lint. 2023-05-22 13:02:58 -04:00
Itamar Turner-Trauring
1ed440812a Add a safety check. 2023-05-22 13:00:20 -04:00
Itamar Turner-Trauring
546a51355a Merge branch '4028-more-integration' into 4029-http-storage-client-respects-request-to-use-tor 2023-05-22 11:43:12 -04:00
Itamar Turner-Trauring
0ccee4e958 Hook up the Tor-based Agent when necessary. 2023-05-19 13:59:18 -04:00
Itamar Turner-Trauring
2e0e0467fb Hook up HTTP storage client Tor support. 2023-05-18 11:14:51 -04:00
Itamar Turner-Trauring
47991f23fa More refactoring to make it easier to get a txtorcon.Tor instance. 2023-05-18 11:05:38 -04:00
Itamar Turner-Trauring
34accd694c Refactor to return something more useful. 2023-05-18 10:51:31 -04:00
Itamar Turner-Trauring
ffecdf8c77 Switch to non-deprecated API. 2023-05-18 10:18:46 -04:00
Itamar Turner-Trauring
3cf03a5c33 More glue to connect Tor up to the HTTP-based storage client. 2023-05-18 09:28:58 -04:00
Itamar Turner-Trauring
f83b73b5f3 Make Tor provider available at the right place to enable it for HTTP storage
client connections.
2023-05-16 10:44:34 -04:00
Itamar Turner-Trauring
ba9946e6ea Fix tests. 2023-05-10 16:34:02 -04:00
Itamar Turner-Trauring
c92c93e6d5 Clean up cached HTTP connections on shutdown. 2023-05-10 16:31:53 -04:00
Itamar Turner-Trauring
a1e49b75c0 Merge remote-tracking branch 'origin/master' into 4009-more-logging 2023-05-09 16:52:42 -04:00
Itamar Turner-Trauring
2e22df60fe Try with fewer persistent HTTP connections. 2023-05-08 13:33:34 -04:00
Itamar Turner-Trauring
05a3fd9acf Merge remote-tracking branch 'origin/master' into 4016-http-storage-content-type 2023-05-04 12:49:03 -04:00
Itamar Turner-Trauring
61dc1e4d43 Merge remote-tracking branch 'origin/master' into 4009-more-logging 2023-05-03 17:34:26 -04:00
Itamar Turner-Trauring
3cc80ae283 Merge remote-tracking branch 'origin/master' into 4016-http-storage-content-type 2023-05-03 17:02:22 -04:00
Itamar Turner-Trauring
84a6db3e88 Merge remote-tracking branch 'origin/master' into 4022-freezing-test 2023-05-03 16:43:52 -04:00
Itamar Turner-Trauring
f1f3c122da
Merge pull request #1292 from tahoe-lafs/4015-more-linting
More linting, using ruff

Fixes ticket:4015
2023-05-02 13:29:02 -04:00
Itamar Turner-Trauring
22715abc85 This is fine. 2023-05-02 12:17:55 -04:00
Itamar Turner-Trauring
9f78fd5c7f Use even fewer nodes. 2023-05-02 12:11:31 -04:00
Itamar Turner-Trauring
d4f2038fd1 Rearrange nodes so it's possible to create even fewer. 2023-05-02 12:11:23 -04:00
Itamar Turner-Trauring
8fa89bd985 Run a little faster. 2023-05-02 12:05:40 -04:00
Itamar Turner-Trauring
5c2f18dfec Set a higher timeout. 2023-05-02 12:03:14 -04:00
Itamar Turner-Trauring
57b93b2230 Merge remote-tracking branch 'origin/master' into 4015-more-linting 2023-05-01 12:54:51 -04:00
Itamar Turner-Trauring
c455fcfc5a Merge remote-tracking branch 'origin/master' into 4009-more-logging 2023-05-01 12:53:00 -04:00
Itamar Turner-Trauring
bc2506c3e2 Merge remote-tracking branch 'origin/master' into 3999.structure-config-manipulation 2023-05-01 12:52:18 -04:00
Itamar Turner-Trauring
8c8e24a3b9 Black reformat. 2023-05-01 11:50:05 -04:00
Itamar Turner-Trauring
2292d64fcd Set a better content type for data downloads. 2023-05-01 11:49:09 -04:00
Itamar Turner-Trauring
fbd6dbda47 text/html is a bad default content type. 2023-05-01 11:42:02 -04:00
Itamar Turner-Trauring
5f19605075 During testing, ensure we're not getting text/html unexpectedly. 2023-05-01 11:41:51 -04:00
Itamar Turner-Trauring
6d961eada9
Merge pull request #1289 from tahoe-lafs/4012.add-timeout-to-http-client
Add timeout to the blocking http client

Fixes ticket:4012
2023-04-27 09:13:44 -04:00
Itamar Turner-Trauring
a559e8447e Merge remote-tracking branch 'origin/master' into 4009-more-logging 2023-04-27 09:08:58 -04:00
Itamar Turner-Trauring
f9a1eedaea Make timeout optional, enable it only for integration tests. 2023-04-25 12:31:37 -04:00
Itamar Turner-Trauring
558e3bf797 Fix unnecessary conversion. 2023-04-25 08:46:57 -04:00
Itamar Turner-Trauring
ebed5100b9 Switch to longer timeout so it's unlikely to impact users. 2023-04-25 08:16:12 -04:00
Itamar Turner-Trauring
5da5a82a8c Get rid of default mutable arguments. 2023-04-17 13:08:21 -04:00
Itamar Turner-Trauring
bed2d33427 Fix lint. 2023-04-17 10:01:26 -04:00
Itamar Turner-Trauring
2d81ddc297 Don't call str() on bytes. 2023-04-14 11:15:47 -04:00
Itamar Turner-Trauring
3395ee8fc5 Add logging for mutable operations. 2023-04-14 11:05:03 -04:00
Itamar Turner-Trauring
2e06990c5c Remove bad assertion. 2023-04-14 11:04:53 -04:00
Itamar Turner-Trauring
e4e6831497 Add logging to the rest of the immutable API operations. 2023-04-14 10:58:27 -04:00
Itamar Turner-Trauring
2916984114 More modernization. 2023-04-14 10:29:25 -04:00
Itamar Turner-Trauring
1823dd4c03 Switch to a slightly larger block size. 2023-04-14 10:24:00 -04:00
Itamar Turner-Trauring
67702572a9 Do a little modernization. 2023-04-14 10:22:14 -04:00
Itamar Turner-Trauring
d7ee1637df Set a timeout. 2023-04-14 10:22:06 -04:00
Itamar Turner-Trauring
d8f176bb8f Type check fixes. 2023-04-13 13:49:19 -04:00
Itamar Turner-Trauring
aca35a553d Add logging to more immutable methods. 2023-04-13 13:30:38 -04:00
Itamar Turner-Trauring
41032e1e83 Merge branch '4005-more-http-storage-logging' into 4009-more-logging 2023-04-13 13:21:34 -04:00