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:
Joey Hess 2024-07-28 09:14:42 -04:00
parent 0ea645944e
commit ef8f24f28c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 6 deletions

View file

@ -175,7 +175,7 @@ proxySpecialRemote protoversion r ihdl ohdl owaitv endv = go
Just (VALIDITY Valid) ->
store
Just (VALIDITY Invalid) ->
return ()
liftIO $ sendmessage FAILURE
_ -> giveup "protocol error"
else store
_ -> giveup "protocol error"