aiortc / aioquic

QUIC and HTTP/3 implementation in Python
BSD 3-Clause "New" or "Revised" License
1.6k stars 229 forks source link

examples/http3_server.py : giving error when trying to run the server #506

Closed ar-ag closed 2 weeks ago

ar-ag commented 2 weeks ago

I am trying to follow the examples provided under aioquic/examples but , on running the http3 server using the command

python3 examples/http3_server.py --certificate tests/ssl_cert.pem --private-key tests/ssl_key.pem

the following error is appearing

Traceback (most recent call last): File "/home/ar_ag/mininet/aioquic/examples/http3_server.py", line 550, in <module> default=defaults.max_datagram_size, AttributeError: 'QuicConfiguration' object has no attribute 'max_datagram_size'. Did you mean: 'max_datagram_frame_size'?