don't use SUCCESS-PLUS unncessarily
When dropping from a proxied remote that is not a cluster, SUCCESS-PLUS is not needed, so don't use it.
This commit is contained in:
parent
2762f9c4ce
commit
466c972913
1 changed files with 5 additions and 3 deletions
|
@ -292,11 +292,13 @@ proxy proxydone proxymethods servermode (ClientSide clientrunst clientconn) remo
|
|||
mapM_ (\u -> removedContent proxymethods u k) us
|
||||
protoerrhandler proxynextclientmessage $
|
||||
client $ net $ sendMessage $
|
||||
if all (maybe False fst) v'
|
||||
then if null us || protocolversion < 2
|
||||
let nonplussed = all (== remoteuuid) us
|
||||
|| protocolversion < 2
|
||||
in if all (maybe False fst) v'
|
||||
then if nonplussed
|
||||
then SUCCESS
|
||||
else SUCCESS_PLUS us
|
||||
else if null us || protocolversion < 2
|
||||
else if nonplussed
|
||||
then FAILURE
|
||||
else FAILURE_PLUS us
|
||||
|
||||
|
|
Loading…
Reference in a new issue