Loop pulling plain text from TLS
There might be more data to read. Fixes #71, #73
This commit is contained in:
parent
88cd62064a
commit
6fd6d228bf
@ -854,8 +854,10 @@ public class SessionProxy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
while true {
|
||||||
let controlData = try controlChannel.currentControlData(withTLS: negotiationKey.tls)
|
let controlData = try controlChannel.currentControlData(withTLS: negotiationKey.tls)
|
||||||
handleControlData(controlData)
|
handleControlData(controlData)
|
||||||
|
}
|
||||||
} catch _ {
|
} catch _ {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user