quic-interop / quic-network-simulator

ns3-based network simulator for QUIC testing
Other
151 stars 45 forks source link

add a wait-for-it script to check if a QUIC server is up #85

Closed marten-seemann closed 3 years ago

marten-seemann commented 3 years ago

Wait until the server is actually up and running before booting up the simulator.

We do that by sending a packet with the QUIC version WAIT (in ASCII) to the server, which will elicit a Version Negotiation packet. Once we receive a VN packet, we know that the server is up.

When running the simulator, this is triggered by the environment variable WAITFORSERVER (which contains the address:port of the server to wait for).