Re: [PATCH] Addition of trailer headers in HTTP requests generated by libcurl
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
- application/octet-stream attachment: 0003-CURLOPT_TRAILERFUNCTION-support-chunked-encoding-req.patch
- text/x-csrc attachment: lib1503.c