int phdr;
int ret;
int i;
+ uint32_t used = htx_used_space(htx);
struct htx_sl *sl = NULL;
unsigned int sl_flags = 0;
/* now send the end of headers marker */
htx_add_endof(htx, HTX_BLK_EOH);
+ /* Set bytes used in the HTX mesage for the headers now */
+ sl->hdrs_bytes = htx_used_space(htx) - used;
+
ret = 1;
return ret;
int phdr;
int ret;
int i;
+ uint32_t used = htx_used_space(htx);
struct htx_sl *sl = NULL;
unsigned int sl_flags = 0;
/* now send the end of headers marker */
htx_add_endof(htx, HTX_BLK_EOH);
+ /* Set bytes used in the HTX mesage for the headers now */
+ sl->hdrs_bytes = htx_used_space(htx) - used;
+
ret = 1;
return ret;