You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from aioquic.asyncio import connect
from aioquic.asyncio.client import QuicConnection
from aioquic.asyncio.protocol import QuicConnectionProtocol
from aioquic.asyncio.transport import QuicTransport
from aioquic.asyncio.ssl import ClientContext
from aioquic.asyncio.ssl import ClientContext
class MyClientProtocol(QuicConnectionProtocol):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.transport = None
async def main():
# Create a context with no certificate validation
context = ClientContext()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
# Connect to the server
async with connect('localhost', 4433, ssl_context=context, create_protocol=MyClientProtocol) as transport:
# Interact with the server
pass
if __name__ == "__main__":
import asyncio
asyncio.run(main())
hi:
try to use python、nodejs、c++ as quic client connect to quiche server but got Handshake error
https://github.com/nodejs/quic
https://github.com/aiortc/aioquic
https://github.com/lucas-clemente/quic-go
those project Handshake is TLS 1.3
thanks
The text was updated successfully, but these errors were encountered: