Fix a memory destruction ordering issue in RushIngestQuicServer
quic::QuicServer relies on an unowned pointer to a quic::QuicSimpleServerBackend. video_live::RushIngestQuicServer extends both, passing itself to the quic::QuicServer constructor. To be done safely, video_live::RushIngestQuicServer must set the correct base class order to ensure constructors and destructors are called in the correct order.
PiperOrigin-RevId: 466976602
diff --git a/quiche/quic/tools/quic_server.h b/quiche/quic/tools/quic_server.h
index 7cb870f..11ff04e 100644
--- a/quiche/quic/tools/quic_server.h
+++ b/quiche/quic/tools/quic_server.h
@@ -35,6 +35,7 @@
class QuicServer : public QuicSpdyServerBase, public QuicSocketEventListener {
public:
+ // `quic_simple_server_backend` must outlive the created QuicServer.
QuicServer(std::unique_ptr<ProofSource> proof_source,
QuicSimpleServerBackend* quic_simple_server_backend);
QuicServer(std::unique_ptr<ProofSource> proof_source,