MCPcopy Create free account
hub / github.com/apache/httpd / strip_field_value_ws

Function strip_field_value_ws

modules/http2/h2_util.c:1416–1425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1414}
1415
1416static void strip_field_value_ws(nghttp2_nv *nv)
1417{
1418 while(nv->valuelen && (nv->value[0] == ' ' || nv->value[0] == '\t')) {
1419 nv->value++; nv->valuelen--;
1420 }
1421 while(nv->valuelen && (nv->value[nv->valuelen-1] == ' '
1422 || nv->value[nv->valuelen-1] == '\t')) {
1423 nv->valuelen--;
1424 }
1425}
1426
1427typedef struct ngh_ctx {
1428 apr_pool_t *p;

Callers 2

add_headerFunction · 0.85
req_add_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected