libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 0.9.67 regression


From: Tim Rühsen
Subject: [libmicrohttpd] 0.9.67 regression
Date: Wed, 23 Oct 2019 15:39:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Hi,

with 0.9.67 some tests for Wget2 fail which were fine with 0.9.66. This
is still reproducible with latest master.

As it seems, a response with an empty body doesn't send a response any more.

That means

  response = MHD_create_response_from_buffer(0, (void *) "",
MHD_RESPMEM_PERSISTENT);

doesn't work, while

  response = MHD_create_response_from_buffer(1, (void *) "x",
MHD_RESPMEM_PERSISTENT);

still generates a response.

I tested this with MHD_HTTP_BAD_REQUEST, MHD_HTTP_OK and
MHD_HTTP_NOT_FOUND used for MHD_queue_response().


Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]