curl-library
Re: [PATCH] Addition of trailer headers in HTTP requests generated by libcurl
From: Chrysovaladis Datsios <cdatsios_at_gmail.com>
Date: Fri, 15 Mar 2013 11:39:42 +0200
Received on 2013-03-15
Date: Fri, 15 Mar 2013 11:39:42 +0200
Hi, I attach a patch with some changes and a test case.
In the patch:
-- I copy my 'trailer_headers_buf' into the original buffer and I free
mine at the end.
(no leaks from 'trailer_headers_buf' anymore)
-- I added a bool variable 'done' so as to update 'data->req.upload_done' at its
original place.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- application/octet-stream attachment: 0003-CURLOPT_TRAILERFUNCTION-support-chunked-encoding-req.patch
- text/x-csrc attachment: lib1503.c