aboutsummaryrefslogtreecommitdiffstats
path: root/src/tipideed/trace.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-24 12:38:53 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-24 12:38:53 +0000
commit305385e06f90ca3216e1aa4e43b20dd7d53c1222 (patch)
tree899d3460b511567889d5e5d78f77931af572b5fb /src/tipideed/trace.c
parent37d2f8cb438f68eaa1da8a56ea9ce5023091f128 (diff)
downloadtipidee-305385e06f90ca3216e1aa4e43b20dd7d53c1222.tar.gz
Make the switch to custom headers
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/trace.c')
-rw-r--r--src/tipideed/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/trace.c b/src/tipideed/trace.c
index 122d269..d1aed09 100644
--- a/src/tipideed/trace.c
+++ b/src/tipideed/trace.c
@@ -19,7 +19,7 @@ int respond_trace (char const *buf, tipidee_rql const *rql, tipidee_headers cons
size_t cl = 0 ;
char fmt[SIZE_FMT] ;
tipidee_response_status(buffer_1, rql, 200, "OK") ;
- tipidee_response_header_common_put_g(buffer_1, 0) ;
+ tipidee_response_header_writeall_g(buffer_1, g.rhdr, g.rhdrn, 0) ;
buffer_putsnoflush(buffer_1, "Content-Type: message/http\r\nContent-Length: ") ;
cl += strlen(tipidee_method_tostr(rql->m)) + 1;
if (rql->uri.host) cl += 7 + rql->uri.https + strlen(rql->uri.host) ;