Lines Matching refs:scratch
134 struct dynbuf scratch; /* temp buffer for header construction */ member
161 Curl_dyn_init(&ctx->scratch, CURL_MAX_HTTP_HEADER); in cf_ngtcp2_ctx_init()
170 Curl_dyn_free(&ctx->scratch); in cf_ngtcp2_ctx_free()
1035 Curl_dyn_reset(&ctx->scratch); in cb_h3_recv_header()
1036 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/3 ")); in cb_h3_recv_header()
1038 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header()
1041 result = Curl_dyn_addn(&ctx->scratch, STRCONST(" \r\n")); in cb_h3_recv_header()
1043 h3_xfer_write_resp_hd(cf, data, stream, Curl_dyn_ptr(&ctx->scratch), in cb_h3_recv_header()
1044 Curl_dyn_len(&ctx->scratch), FALSE); in cb_h3_recv_header()
1046 stream_id, Curl_dyn_ptr(&ctx->scratch)); in cb_h3_recv_header()
1056 Curl_dyn_reset(&ctx->scratch); in cb_h3_recv_header()
1057 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header()
1060 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in cb_h3_recv_header()
1062 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header()
1065 result = Curl_dyn_addn(&ctx->scratch, STRCONST("\r\n")); in cb_h3_recv_header()
1067 h3_xfer_write_resp_hd(cf, data, stream, Curl_dyn_ptr(&ctx->scratch), in cb_h3_recv_header()
1068 Curl_dyn_len(&ctx->scratch), FALSE); in cb_h3_recv_header()