mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-22 12:32:29 +00:00
remote: return tls with remote host before host confirmation (#894)
This commit is contained in:
1 parent
4f5d52ada4
commit
e0b7942e45
2 files changed
+5
-5
No files matched your search
@@ -30,7 +30,7 @@ testNewPairing = do
|
||||
logNote "c 2"
|
||||
putMVar invVar (inv, hc)
|
||||
logNote "c 3"
|
||||
Right (sessId, r') <- atomically $ takeTMVar r
|
||||
Right (sessId, _tls, r') <- atomically $ takeTMVar r
|
||||
logNote "c 4"
|
||||
Right (_rcHostSession, _rcHelloBody, _hp') <- atomically $ takeTMVar r'
|
||||
logNote "c 5"
|
||||
@@ -98,7 +98,7 @@ testExistingPairing = do
|
||||
runCtrl drg hp invVar = async . runRight $ do
|
||||
(inv, hc, r) <- RC.connectRCHost drg hp (J.String "app")
|
||||
putMVar invVar inv
|
||||
Right (_sessId, r') <- atomically $ takeTMVar r
|
||||
Right (_sessId, _tls, r') <- atomically $ takeTMVar r
|
||||
Right (_rcHostSession, _rcHelloBody, hp') <- atomically $ takeTMVar r'
|
||||
threadDelay 250000
|
||||
liftIO $ RC.cancelHostClient hc
|
||||
|
||||
Reference in new issue
Block a user