summaryrefslogtreecommitdiffstats
path: root/lib/vquic/vquic_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vquic/vquic_int.h')
-rw-r--r--lib/vquic/vquic_int.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/vquic/vquic_int.h b/lib/vquic/vquic_int.h
index a820f39..c218a94 100644
--- a/lib/vquic/vquic_int.h
+++ b/lib/vquic/vquic_int.h
@@ -40,6 +40,7 @@ struct cf_quic_ctx {
socklen_t local_addrlen; /* length of local address */
struct bufq sendbuf; /* buffer for sending one or more packets */
+ struct curltime first_byte_at; /* when first byte was recvd */
struct curltime last_op; /* last (attempted) send/recv operation */
struct curltime last_io; /* last successful socket IO */
size_t gsolen; /* length of individual packets in send buf */
@@ -48,7 +49,8 @@ struct cf_quic_ctx {
#ifdef DEBUGBUILD
int wblock_percent; /* percent of writes doing EAGAIN */
#endif
- bool no_gso; /* do not use gso on sending */
+ BIT(got_first_byte); /* if first byte was received */
+ BIT(no_gso); /* do not use gso on sending */
};
CURLcode vquic_ctx_init(struct cf_quic_ctx *qctx);