mirror of
https://github.com/Horizontal42/netsleuth.git
synced 2026-11-11 01:02:10 +03:00
Merge f0eee66988 into 8c99ac78b7
This commit is contained in:
commit
64f2393af8
1 changed files with 3 additions and 1 deletions
|
|
@ -29,7 +29,9 @@ async def measure_quic(label: str, host: str, *, port: int = 443, timeout: float
|
|||
from aioquic.quic.events import HandshakeCompleted
|
||||
|
||||
class _HandshakeCapture(QuicConnectionProtocol):
|
||||
handshake_event: HandshakeCompleted | None = None
|
||||
def __init__(self, *args, **kwargs) -> None: # type: ignore[no-untyped-def]
|
||||
super().__init__(*args, **kwargs)
|
||||
self.handshake_event: HandshakeCompleted | None = None
|
||||
|
||||
def quic_event_received(self, event) -> None:
|
||||
if isinstance(event, HandshakeCompleted):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue