I started playing with newer versions of libmicrohttpd recently noticed an
issue with HEAD requests after bumping up the library version from 0.9.51
to 0.9.63.
Platform: Debian 9.8 amd64
$ uname -a
Linux somehostname 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27)
x86_64 GNU/Linux
$ sudo apt sh
Hi Damon,
I've tried to reproduce the issue, and for me MHD with HEAD responds
with the correct non-zero content length. Maybe your code contains some
subtle difference in how you call
MHD_create_response_from_fd_at_offse64()? If not, some minimal example
to reproduce the issue would be helpful.