mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 20:57:36 +03:00
only close the handshake fuzz runner once
This commit is contained in:
parent
cd78ea9020
commit
8251b3614f
1 changed files with 3 additions and 0 deletions
|
@ -116,6 +116,9 @@ func newRunner(client, server *handshake.CryptoSetup, role string) *runner {
|
||||||
func (r *runner) OnReceivedParams(*wire.TransportParameters) {}
|
func (r *runner) OnReceivedParams(*wire.TransportParameters) {}
|
||||||
func (r *runner) OnHandshakeComplete() {}
|
func (r *runner) OnHandshakeComplete() {}
|
||||||
func (r *runner) OnError(err error) {
|
func (r *runner) OnError(err error) {
|
||||||
|
if r.errored {
|
||||||
|
return
|
||||||
|
}
|
||||||
r.errored = true
|
r.errored = true
|
||||||
(*r.client).Close()
|
(*r.client).Close()
|
||||||
(*r.server).Close()
|
(*r.server).Close()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue