meejah
77bc83d341
incorrectly removed
2022-09-20 14:45:19 -06:00
meejah
0eeb11c9cd
after shutdown
2022-09-20 14:44:51 -06:00
meejah
6db1476dac
comment typo
2022-09-20 14:44:21 -06:00
meejah
81c8e1c57b
windows is special
2022-09-20 14:24:02 -06:00
meejah
fe80126e3f
fixups
2022-09-18 22:39:25 -06:00
meejah
254a994eb5
flake8
2022-09-17 16:41:17 -06:00
meejah
8b2cb79070
cleanup via reactor
2022-09-17 16:38:25 -06:00
meejah
aef2e96139
refactor: dispatch with our reactor, pass to tahoe_run
2022-09-17 16:38:24 -06:00
meejah
114d5e1ed8
pidfile on windows now
2022-09-17 16:37:33 -06:00
meejah
228bbbc2fe
new pid-file
2022-09-17 16:37:33 -06:00
meejah
82c72ddede
cleanup
2022-09-17 16:37:30 -06:00
meejah
642b604753
use stdin-closing for pidfile cleanup too
2022-09-17 16:36:55 -06:00
meejah
6048d1d9a9
in case hypothesis finds the magic
2022-09-17 16:36:26 -06:00
meejah
e6adfc7726
news
2022-09-17 16:36:26 -06:00
meejah
0e0ebf6687
more testing
2022-09-17 16:36:26 -06:00
meejah
cad162bb8f
should have pid-file on windows too, now
2022-09-17 16:36:26 -06:00
meejah
3bfb60c6f4
back to context-manager, simplify
2022-09-17 16:36:25 -06:00
meejah
fb532a71ef
own pid-file checks
2022-09-17 16:31:49 -06:00
Jean-Paul Calderone
7c25e1533f
Merge pull request #1210 from Fenn-CS/3916-refactor-fakeweb-n-memoryconsumer-tests
...
Switch FakeWebTest and MemoryConsumerTest to common.SyncTestCase
2022-08-30 14:52:23 -04:00
Fon E. Noel NFEBE
7aa97336a0
Refactor FakeWebTest & MemoryConsumerTest classes
...
There are base test classes namely `SyncTestCase` and
`AsyncTestCase` which we would like all test classes in
this code base to extend.
This commit refactors two test classes to use the `SyncTestCase`
with the newer assert methods.
Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2022-08-17 16:03:06 +01:00
Itamar Turner-Trauring
7dd346a32d
Merge pull request #1209 from tahoe-lafs/3913-bytes-vs-str
...
Fix a bytes-vs-str bug
Fixes ticket:3913
2022-08-15 09:50:00 -04:00
Itamar Turner-Trauring
636b8a9e2d
Fix a bytes-vs-str bug.
2022-08-12 11:28:08 -04:00
Itamar Turner-Trauring
d0208d0070
Merge pull request #1207 from tahoe-lafs/3909-new-werkzeug
...
Don't use broken new werkzeug
Fixes ticket:3909
2022-07-25 11:55:20 -04:00
Itamar Turner-Trauring
921e3a7712
Don't use broken version of werkzeug.
2022-07-25 09:55:03 -04:00
Itamar Turner-Trauring
c14463ac6d
News file.
2022-07-25 09:52:40 -04:00
Itamar Turner-Trauring
26f15f461c
Merge pull request #1204 from tahoe-lafs/3907-http-response-lengths
...
Improved HTTP response length handling
Fixes ticket:3907
2022-07-22 12:37:17 -04:00
Itamar Turner-Trauring
94e0568653
Actually we do need it.
2022-07-22 11:57:32 -04:00
Itamar Turner-Trauring
83f9c0788b
Use more direct API.
2022-07-22 11:56:18 -04:00
Itamar Turner-Trauring
be963e2324
Docstrings.
2022-07-22 11:55:33 -04:00
Itamar Turner-Trauring
2b3a8ddeec
Docstring.
2022-07-22 11:55:00 -04:00
Itamar Turner-Trauring
36b96a8776
Fix typo.
2022-07-22 11:53:28 -04:00
Itamar Turner-Trauring
f671b47a6d
Fix typo.
2022-07-22 11:53:12 -04:00
Itamar Turner-Trauring
5cd9ccfc6a
Slightly nicer handling for bad edge cases.
2022-07-22 11:52:56 -04:00
Itamar Turner-Trauring
757e8c418c
Fix typos.
2022-07-22 11:51:26 -04:00
Itamar Turner-Trauring
3b7345205b
News file.
2022-07-20 14:24:10 -04:00
Itamar Turner-Trauring
d85b20b62d
Fix lint.
2022-07-20 12:47:18 -04:00
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