Commit Graph

14110 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
0e8f2aa702 More memory usage reductions. 2022-06-29 13:58:05 -04:00
Itamar Turner-Trauring
520456bdc0 Add streaming to CBOR results. 2022-06-29 11:26:25 -04:00
Itamar Turner-Trauring
efe9575d28 Nicer testing infrastructure so you don't have to switch back and forth between
sync and async test APIs.
2022-06-29 11:25:28 -04:00
Itamar Turner-Trauring
75f33022cd News file. 2022-06-27 17:00:41 -04:00
Itamar Turner-Trauring
6dd2b2d583 More streaming, with tests passing again. 2022-06-27 17:00:24 -04:00
Itamar Turner-Trauring
06eca79263 Minimal streaming implementation. 2022-06-27 14:12:17 -04:00
Itamar Turner-Trauring
bfd54dc6ea Switch to newer attrs API, for consistency across the module. 2022-06-27 11:30:49 -04:00
Itamar Turner-Trauring
1154371d22 Clarifying comments. 2022-06-23 12:51:07 -04:00
Itamar Turner-Trauring
01d8cc7ab6 Put the attribute on the correct object. 2022-06-23 12:49:07 -04:00
Itamar Turner-Trauring
eb1e48bcc3 Add a timeout. 2022-06-23 12:47:33 -04:00
Itamar Turner-Trauring
0c99a9f7b0 Make it more accurate. 2022-06-23 12:44:17 -04:00
Itamar Turner-Trauring
d70f583172 More cleanups. 2022-06-23 12:43:46 -04:00
Itamar Turner-Trauring
026d63cd6a Fix some mypy warnings. 2022-06-23 12:41:47 -04:00
Itamar Turner-Trauring
d86f8519dc Simplify implementation. 2022-06-23 12:41:01 -04:00
Itamar Turner-Trauring
04156db74e Delay Negotiation.connectionMade so we don't create unnecessary timeouts. 2022-06-23 12:32:43 -04:00
Itamar Turner-Trauring
1579530895 Add working HTTP support. 2022-06-23 07:59:43 -04:00
Itamar Turner-Trauring
c5724c1d0a Clarify. 2022-06-22 14:20:42 -04:00
Itamar Turner-Trauring
7577d1e24c Sketch of HTTP support, still untested WIP. 2022-06-22 14:19:29 -04:00
Itamar Turner-Trauring
7910867be6 It actually works(?!) now. 2022-06-22 10:23:23 -04:00
Itamar Turner-Trauring
e1daa192fb Sketch of protocol switcher experiment. 2022-06-21 17:20:08 -04:00
Itamar Turner-Trauring
a78f50470f
Merge pull request #1200 from tahoe-lafs/3896-mutable-http-part-4
Mutable http storage API, part 4

Fixes ticket:3896
2022-06-10 09:47:15 -04:00
Itamar Turner-Trauring
d37f187c07 Lint fix. 2022-06-08 13:56:23 -04:00
Itamar Turner-Trauring
db42651355 Be more consistent and just always write to the request in read_range. 2022-06-08 13:55:47 -04:00
Itamar Turner-Trauring
00381bc24f Correction now that it does more than what it did before. 2022-06-08 13:52:45 -04:00
Itamar Turner-Trauring
e7003e1a37 Merge remote-tracking branch 'origin/master' into 3896-mutable-http-part-4 2022-06-06 12:02:10 -04:00
Itamar Turner-Trauring
65d5faa6b7
Merge pull request #1201 from tahoe-lafs/3900-sphinx-5
Support for newly-released Sphinx v5

Fixes ticket:3900
2022-06-06 12:01:48 -04:00
Itamar Turner-Trauring
8694543659 Work with Sphinx 5. 2022-06-06 11:15:51 -04:00
Itamar Turner-Trauring
528d902460 News file. 2022-06-06 11:15:25 -04:00
Itamar Turner-Trauring
779bb6f093 Merge remote-tracking branch 'origin/master' into 3896-mutable-http-part-4 2022-06-06 11:07:11 -04:00
Itamar Turner-Trauring
c3a304e1cc Lint and mypy fixes. 2022-06-06 11:04:34 -04:00
Itamar Turner-Trauring
ca0f311861 News file. 2022-06-06 10:59:29 -04:00
Itamar Turner-Trauring
85774ced95 Run shared tests on mutables too, with appropriate fixes to the tests and the server. 2022-06-06 10:57:19 -04:00
Itamar Turner-Trauring
e6efb62fd1 Refactor immutable tests so they can shared with mutables. 2022-06-06 10:25:06 -04:00
Itamar Turner-Trauring
797f34aec3 More tests. 2022-06-06 09:59:12 -04:00
Itamar Turner-Trauring
3e67d2d789 More tests. 2022-06-06 09:50:36 -04:00
Itamar Turner-Trauring
f1384096fa First unit test for mutables. 2022-06-03 13:46:23 -04:00
Itamar Turner-Trauring
fd306b9a61 Share more code across mutable and immutable reads. 2022-06-01 13:54:54 -04:00
Itamar Turner-Trauring
f0635d592a
Merge pull request #1198 from tahoe-lafs/3893-mutable-http-protocol-part-3
Mutable http protocol, part 3

Fixes ticket:3893
2022-05-20 11:47:07 -04:00
Itamar Turner-Trauring
2313195c2b Reduce duplication. 2022-05-20 11:43:42 -04:00
Itamar Turner-Trauring
63624eedec Reduce code duplication. 2022-05-20 11:33:02 -04:00
Itamar Turner-Trauring
4b142980f0 Merge branch '3893-mutable-http-protocol-part-3' into 3896-mutable-http-part-4 2022-05-20 11:13:15 -04:00
Itamar Turner-Trauring
12927d50ba Type annotation improvements. 2022-05-20 11:10:18 -04:00
Itamar Turner-Trauring
8c8ea4927f Switch to public API. 2022-05-20 11:07:55 -04:00
Itamar Turner-Trauring
8da7f95579
Merge pull request #1194 from tahoe-lafs/3891-mutable-http-protocol-part-2
Mutable storage HTTP protocol, part 2

Fixes ticket:3891
2022-05-18 17:06:30 -04:00
Itamar Turner-Trauring
b868c081b7 Merge remote-tracking branch 'origin/master' into 3891-mutable-http-protocol-part-2 2022-05-18 15:53:47 -04:00
Itamar Turner-Trauring
6949b1ab0a
Merge pull request #1196 from tahoe-lafs/3898-broken-tor-test
Fix broken tor test

Fixes ticket:3898
2022-05-18 15:53:23 -04:00
Itamar Turner-Trauring
02bbce8111 Get rid of spurious sleep. 2022-05-18 13:44:18 -04:00
Itamar Turner-Trauring
63e16166d7 Restore default image building setup. 2022-05-18 13:43:26 -04:00
Itamar Turner-Trauring
43a34f031d Make it work temporarily. 2022-05-18 13:26:07 -04:00
Itamar Turner-Trauring
90a6cf18ac Just use system Tor, for more stability. 2022-05-18 13:20:44 -04:00