mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
MINOR: mux-quic: send one last time before release
Call qc_send() on qc_release(). This is mostly useful for application protocol with a connection closing procedure. Most notably, this will be useful to implement HTTP/3 GOAWAY emission.
This commit is contained in:
parent
c49d5d1a4b
commit
a154dc0290
@ -1601,6 +1601,11 @@ static void qc_release(struct qcc *qcc)
|
|||||||
* procedure.
|
* procedure.
|
||||||
*/
|
*/
|
||||||
qcc->app_ops->release(qcc->ctx);
|
qcc->app_ops->release(qcc->ctx);
|
||||||
|
|
||||||
|
/* useful if application protocol should emit some closing
|
||||||
|
* frames. For example HTTP/3 GOAWAY frame.
|
||||||
|
*/
|
||||||
|
qc_send(qcc);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
qcc_emit_cc_app(qcc, QC_ERR_NO_ERROR, 0);
|
qcc_emit_cc_app(qcc, QC_ERR_NO_ERROR, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user