9092 Commits

Author SHA1 Message Date
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
Itamar Turner-Trauring
464b476190 Work on 3.8. 2023-04-13 13:11:17 -04:00
Itamar Turner-Trauring
28ff24b3a7 Add logging to immutable creation. 2023-04-13 10:40:35 -04:00
Itamar Turner-Trauring
d05b5788f6 Merge branch '4005-more-http-storage-logging' into 4009-more-logging 2023-04-13 10:35:58 -04:00
Itamar Turner-Trauring
4c2f241361 Add logging for limited_content(). 2023-04-13 10:28:29 -04:00
Itamar Turner-Trauring
e0ca48b707 Add logging to add_or_renew_lease(). 2023-04-13 09:54:36 -04:00
Itamar Turner-Trauring
af845a40c6 Fix type annotations, removing Deferred in particular. 2023-04-13 09:38:33 -04:00
Itamar Turner-Trauring
64dbeeab8f Add logging to get_version(). 2023-04-13 09:33:18 -04:00
meejah
175473df40 longer timeouts, forget less 2023-04-13 00:37:32 -06:00
meejah
9472841c39 enable tor, i2p services 2023-04-12 23:01:28 -06:00
Itamar Turner-Trauring
840ed0bf47 Unused imports. 2023-04-12 17:04:00 -04:00
Itamar Turner-Trauring
174609116e
Merge pull request #1284 from tahoe-lafs/3880-http-storage-logging
HTTP storage logging, part 1

Fixes ticket:3880
2023-04-12 17:00:57 -04:00
Itamar Turner-Trauring
3997eaaf90 Fix type annotations. 2023-04-12 17:00:31 -04:00
Itamar Turner-Trauring
2a7616e0be Get tests passing again. 2023-04-12 16:43:46 -04:00
Itamar Turner-Trauring
cebf62176e WIP add logging to decode_cbor. 2023-04-10 11:40:59 -04:00
Itamar Turner-Trauring
68f9243323 Merge branch '3880-http-storage-logging' into 4005-more-http-storage-logging 2023-04-10 11:31:04 -04:00
Itamar Turner-Trauring
4d4649f5c2
Apply suggestions from code review
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-04-10 11:28:26 -04:00
Jean-Paul Calderone
7cd0c9d724 Merge remote-tracking branch 'origin/master' into clean-up-tor-and-i2p-providers 2023-04-05 08:37:58 -04:00
Jean-Paul Calderone
590b20431a
Merge pull request #1282 from exarkun/4003.test_connection_status-demock
Remove `mock` use from allmydata/test/test_connection_status.py

Fixes: ticket:4003
2023-04-03 12:18:05 -04:00
Itamar Turner-Trauring
e19aeb5aea Correct the annotation. 2023-04-03 11:40:48 -04:00
Itamar Turner-Trauring
5e3fa04a3a Reformat with black. 2023-04-03 11:30:22 -04:00
Itamar Turner-Trauring
57ec669e1e Add logging for request(). 2023-04-03 11:29:57 -04:00
Itamar Turner-Trauring
3b3ea5409c Type says we should only pass in DecodedURL. 2023-04-03 11:26:08 -04:00
Itamar Turner-Trauring
41939e2b28 Add some type annotations. 2023-04-03 11:11:24 -04:00
Itamar Turner-Trauring
b81fad2970 Make sure tests have the same error testing infrastructure as the real thing. 2023-04-03 10:37:49 -04:00
Jean-Paul Calderone
2f3091a065 pass mypy strict on the new module 2023-03-29 10:00:38 -04:00
Jean-Paul Calderone
00ecb65c01 remove unused import 2023-03-29 09:47:25 -04:00
Jean-Paul Calderone
74ebda771a Make tahoe create-node use the new listener protocol 2023-03-29 09:46:54 -04:00
Jean-Paul Calderone
c52eb69505 Make the I2P and Tor providers implement the Listener protocol 2023-03-29 09:28:01 -04:00
Jean-Paul Calderone
e15970a484 Add a couple simple Listeners that we need 2023-03-29 09:26:59 -04:00
Jean-Paul Calderone
ed237b0dba improve the Listener protocol somewhat 2023-03-29 09:26:13 -04:00
Jean-Paul Calderone
cbfbfe8b1e top-of-file cleanups 2023-03-28 16:30:55 -04:00
Jean-Paul Calderone
fdf8519ed5 Define a protocol for listener/transport providers 2023-03-28 16:29:52 -04:00