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 {
|
||||
let controlData = try controlChannel.currentControlData(withTLS: negotiationKey.tls)
|
||||
handleControlData(controlData)
|
||||
while true {
|
||||
let controlData = try controlChannel.currentControlData(withTLS: negotiationKey.tls)
|
||||
handleControlData(controlData)
|
||||
}
|
||||
} catch _ {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user