libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit a3a5829974afc48dbe89277f5e5a2224186bf4b0
parent 3af47d6660f76a7d55a1ba086256ccb45237e55d
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Thu,  8 May 2025 10:39:43 +0200

upgrade_prep: fixed missing header value. Patch by Ayush Dey

Diffstat:
Msrc/mhd2/upgrade_prep.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mhd2/upgrade_prep.c b/src/mhd2/upgrade_prep.c @@ -291,8 +291,9 @@ build_reply_header (struct MHD_Connection *restrict c, } memcpy (buf + buf_used, - headers[i].name, - hdr_name_len); + headers[i].value, + hdr_value_len); + buf_used += hdr_value_len; buf[buf_used++] = '\r'; buf[buf_used++] = '\n'; }