uint64_t max_push_id);
ngx_int_t ngx_http_v3_cancel_push(ngx_connection_t *c, uint64_t push_id);
-ngx_int_t ngx_http_v3_client_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic,
+ngx_int_t ngx_http_v3_send_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic,
ngx_uint_t index, ngx_str_t *value);
-ngx_int_t ngx_http_v3_client_insert(ngx_connection_t *c, ngx_str_t *name,
+ngx_int_t ngx_http_v3_send_insert(ngx_connection_t *c, ngx_str_t *name,
ngx_str_t *value);
-ngx_int_t ngx_http_v3_client_set_capacity(ngx_connection_t *c,
+ngx_int_t ngx_http_v3_send_set_capacity(ngx_connection_t *c,
ngx_uint_t capacity);
-ngx_int_t ngx_http_v3_client_duplicate(ngx_connection_t *c, ngx_uint_t index);
-ngx_int_t ngx_http_v3_client_ack_header(ngx_connection_t *c,
+ngx_int_t ngx_http_v3_send_duplicate(ngx_connection_t *c, ngx_uint_t index);
+ngx_int_t ngx_http_v3_send_ack_header(ngx_connection_t *c,
ngx_uint_t stream_id);
-ngx_int_t ngx_http_v3_client_cancel_stream(ngx_connection_t *c,
+ngx_int_t ngx_http_v3_send_cancel_stream(ngx_connection_t *c,
ngx_uint_t stream_id);
-ngx_int_t ngx_http_v3_client_inc_insert_count(ngx_connection_t *c,
+ngx_int_t ngx_http_v3_send_inc_insert_count(ngx_connection_t *c,
ngx_uint_t inc);
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http3 parse headers done");
if (st->prefix.insert_count > 0) {
- if (ngx_http_v3_client_ack_header(c, c->quic->id) != NGX_OK) {
+ if (ngx_http_v3_send_ack_header(c, c->quic->id) != NGX_OK) {
return NGX_ERROR;
}
}
ngx_int_t
-ngx_http_v3_client_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic,
+ngx_http_v3_send_ref_insert(ngx_connection_t *c, ngx_uint_t dynamic,
ngx_uint_t index, ngx_str_t *value)
{
u_char *p, buf[NGX_HTTP_V3_PREFIX_INT_LEN * 2];
ngx_int_t
-ngx_http_v3_client_insert(ngx_connection_t *c, ngx_str_t *name,
- ngx_str_t *value)
+ngx_http_v3_send_insert(ngx_connection_t *c, ngx_str_t *name, ngx_str_t *value)
{
u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN];
size_t n;
ngx_int_t
-ngx_http_v3_client_set_capacity(ngx_connection_t *c, ngx_uint_t capacity)
+ngx_http_v3_send_set_capacity(ngx_connection_t *c, ngx_uint_t capacity)
{
u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN];
size_t n;
ngx_int_t
-ngx_http_v3_client_duplicate(ngx_connection_t *c, ngx_uint_t index)
+ngx_http_v3_send_duplicate(ngx_connection_t *c, ngx_uint_t index)
{
u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN];
size_t n;
ngx_int_t
-ngx_http_v3_client_ack_header(ngx_connection_t *c, ngx_uint_t stream_id)
+ngx_http_v3_send_ack_header(ngx_connection_t *c, ngx_uint_t stream_id)
{
u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN];
size_t n;
ngx_int_t
-ngx_http_v3_client_cancel_stream(ngx_connection_t *c, ngx_uint_t stream_id)
+ngx_http_v3_send_cancel_stream(ngx_connection_t *c, ngx_uint_t stream_id)
{
u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN];
size_t n;
ngx_int_t
-ngx_http_v3_client_inc_insert_count(ngx_connection_t *c, ngx_uint_t inc)
+ngx_http_v3_send_inc_insert_count(ngx_connection_t *c, ngx_uint_t inc)
{
u_char buf[NGX_HTTP_V3_PREFIX_INT_LEN];
size_t n;
/* TODO increment can be sent less often */
- if (ngx_http_v3_client_inc_insert_count(c, 1) != NGX_OK) {
+ if (ngx_http_v3_send_inc_insert_count(c, 1) != NGX_OK) {
return NGX_ERROR;
}