fix PUT to http proxied special remote
It was hanging because it never sent FAILURE in the INVALID case. And putoffset always triggers the INVALID case.
This commit is contained in:
parent
0ea645944e
commit
ef8f24f28c
2 changed files with 3 additions and 6 deletions
|
@ -175,7 +175,7 @@ proxySpecialRemote protoversion r ihdl ohdl owaitv endv = go
|
||||||
Just (VALIDITY Valid) ->
|
Just (VALIDITY Valid) ->
|
||||||
store
|
store
|
||||||
Just (VALIDITY Invalid) ->
|
Just (VALIDITY Invalid) ->
|
||||||
return ()
|
liftIO $ sendmessage FAILURE
|
||||||
_ -> giveup "protocol error"
|
_ -> giveup "protocol error"
|
||||||
else store
|
else store
|
||||||
_ -> giveup "protocol error"
|
_ -> giveup "protocol error"
|
||||||
|
|
|
@ -28,11 +28,8 @@ Planned schedule of work:
|
||||||
|
|
||||||
## work notes
|
## work notes
|
||||||
|
|
||||||
* test http server proxying with special remotes
|
* shut down of a connection to a http proxied special remote may not work
|
||||||
|
properly
|
||||||
git-annex get --from origin-d works
|
|
||||||
git-annex drop --from origin-d works
|
|
||||||
git-annex copy --to origin-d HANGS
|
|
||||||
|
|
||||||
* Make http server support clusters.
|
* Make http server support clusters.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue