Itamar Turner-Trauring
|
da8a36fac9
|
Improve test coverage.
|
2022-07-20 12:07:46 -04:00 |
|
Itamar Turner-Trauring
|
92392501a7
|
Expand spec.
|
2022-07-20 11:47:15 -04:00 |
|
Itamar Turner-Trauring
|
69739f5f9b
|
Handle case where requested range results in empty response.
|
2022-07-20 11:42:01 -04:00 |
|
Itamar Turner-Trauring
|
43c6af6fde
|
More error handling for edge cases.
|
2022-07-20 11:28:14 -04:00 |
|
Itamar Turner-Trauring
|
1b8b71b306
|
Content-Range headers are now checked (somewhat) and the server now sends
correct headers when reading beyond the end.
|
2022-07-19 16:10:22 -04:00 |
|
Itamar Turner-Trauring
|
b3aff5c43b
|
More efficient implementations.
|
2022-07-19 14:37:46 -04:00 |
|
Itamar Turner-Trauring
|
49dfc8445c
|
Implementation of getting length of shares (albeit inefficiently for now).
|
2022-07-18 14:12:12 -04:00 |
|
Itamar Turner-Trauring
|
69f90e6336
|
Merge pull request #1203 from tahoe-lafs/3872-resource-limits-http-storage
A variety of CPU and memory resource limits for the HTTP storage client and server
Fixes ticket:3872
|
2022-07-15 12:44:08 -04:00 |
|
Itamar Turner-Trauring
|
a24aefaebf
|
There can be up to 256 shares.
|
2022-07-15 11:35:28 -04:00 |
|
Itamar Turner-Trauring
|
87932e3444
|
Correct type.
|
2022-07-06 09:50:16 -04:00 |
|
Itamar Turner-Trauring
|
0b5132745d
|
A nicer interface.
|
2022-07-06 09:47:08 -04:00 |
|
Itamar Turner-Trauring
|
fd8a385d1d
|
Reformat with black.
|
2022-07-06 09:46:59 -04:00 |
|
Itamar Turner-Trauring
|
dac0080ea2
|
Make sure we update remaining length, and update test to catch the edge case
this fixes.
|
2022-07-06 09:40:46 -04:00 |
|
Itamar Turner-Trauring
|
5c5556d915
|
More robust usage.
|
2022-07-06 09:38:31 -04:00 |
|
Itamar Turner-Trauring
|
69c4dbf2b5
|
Fix tests and point to future work.
|
2022-07-05 17:17:38 -04:00 |
|
Itamar Turner-Trauring
|
6e3ca256b9
|
Some refactoring to handle edge cases better, in progress.
|
2022-07-05 15:36:21 -04:00 |
|
Itamar Turner-Trauring
|
3270d24c45
|
Slight simplification.
|
2022-07-05 11:30:48 -04:00 |
|
Itamar Turner-Trauring
|
1e6864ac01
|
Typo.
|
2022-07-05 11:30:01 -04:00 |
|
Itamar Turner-Trauring
|
97d0ba23eb
|
Switch to hypothesis-based test.
|
2022-07-05 11:21:46 -04:00 |
|
Itamar Turner-Trauring
|
249f431849
|
Use MonkeyPatch instead of MockPatch, since we're not mocking.
|
2022-07-05 11:14:52 -04:00 |
|
Itamar Turner-Trauring
|
451e68795c
|
Lints, better explanation.
|
2022-06-30 13:54:58 -04:00 |
|
Itamar Turner-Trauring
|
bee46fae93
|
Resource limits on the client side.
|
2022-06-30 13:48:33 -04:00 |
|
Itamar Turner-Trauring
|
ab80c0f0a1
|
Set some length limits on various queries lengths.
|
2022-06-30 13:35:30 -04:00 |
|
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
|
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 |
|