oops
This commit is contained in:
parent
212e5d04e6
commit
b028b1a379
1 changed files with 2 additions and 2 deletions
|
@ -614,13 +614,13 @@ proxyRequest proxydone proxyparams requestcomplete requestmessage protoerrhandle
|
||||||
y $ net $ sendBytes len b nullMeterUpdate
|
y $ net $ sendBytes len b nullMeterUpdate
|
||||||
|
|
||||||
relayDATAFinish x y sendsuccessfailure ()
|
relayDATAFinish x y sendsuccessfailure ()
|
||||||
| proxyProtocolVersion proxyparams == ProtocolVersion 0 = sendsuccessfailure
|
| proxyClientProtocolVersion proxyparams == ProtocolVersion 0 = sendsuccessfailure
|
||||||
-- Protocol version 1 has a VALID or
|
-- Protocol version 1 has a VALID or
|
||||||
-- INVALID message after the data.
|
-- INVALID message after the data.
|
||||||
| otherwise = relayonemessage x y (\_ () -> sendsuccessfailure)
|
| otherwise = relayonemessage x y (\_ () -> sendsuccessfailure)
|
||||||
|
|
||||||
relayDATAFinishMulti k rs
|
relayDATAFinishMulti k rs
|
||||||
| proxyProtocolVersion proxyparams == ProtocolVersion 0 =
|
| proxyClientProtocolVersion proxyparams == ProtocolVersion 0 =
|
||||||
finish $ net receiveMessage
|
finish $ net receiveMessage
|
||||||
| otherwise =
|
| otherwise =
|
||||||
flip protoerrhandler (client $ net $ receiveMessage) $
|
flip protoerrhandler (client $ net $ receiveMessage) $
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue