Joey Hess
|
f9b7ce7224
|
add Annex worker pool to P2PHttp
This will be needed for get and store, since those need to run Annex
actions.
withLocalP2PConnections will also probably use it.
|
2024-07-10 12:19:47 -04:00 |
|
Joey Hess
|
48f76cb3e8
|
implement serveRemove and send WWW-Authenticate header on auth failure
|
2024-07-10 09:13:01 -04:00 |
|
Joey Hess
|
97d0fc9b65
|
git-annex p2phttp options
|
2024-07-10 00:01:55 -04:00 |
|
Joey Hess
|
6a8a4d1775
|
authentication is implemented
just need to make Command.P2PHttp generate a GetServerMode from options
|
2024-07-09 20:54:47 -04:00 |
|
Joey Hess
|
e5bf49b879
|
http basic authorization header parsing
Sadly servant does not expose this though it also implements it.
|
2024-07-09 20:07:53 -04:00 |
|
Joey Hess
|
08371c3745
|
started on auth
|
2024-07-09 17:30:55 -04:00 |
|
Joey Hess
|
dcd77ee555
|
fix p2phttp server to not get stuck
Process 1 command, then stop. Hopefully each of the Handlers will only
need 1 command.
|
2024-07-09 14:26:30 -04:00 |
|
Joey Hess
|
3d13521479
|
set up handles for p2phttp
Now it fully works.. for the first request. But then it gets stuck
waiting for the P2P protocol runner to shut down.
|
2024-07-09 13:50:42 -04:00 |
|
Joey Hess
|
edf8a3df2d
|
p2phttp is almost working for checkpresent
The server is fully running annex actions, only the P2PConnection is
wrong, currently using stdio.
|
2024-07-09 13:37:55 -04:00 |
|
Joey Hess
|
a3dd8b4bcb
|
capture API version in routes
Needed so the client can send it.
|
2024-07-09 12:04:29 -04:00 |
|
Joey Hess
|
751b8e0baf
|
implemented serveCheckPresent
Still need a way to run Proto though
|
2024-07-09 09:08:42 -04:00 |
|
Joey Hess
|
9a592f946f
|
split module
|
2024-07-08 21:12:23 -04:00 |
|