Hello,
I noticed that the Info documentation of function
MHD_create_response_from_pipe is wrong. It takes only one
parameter (the file descriptor of the pipe), and not two.
Here is the simple patch that corrects this :
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index e1fc05bd..4701477b 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -2614,7 +2614,7 @@ Return @code{NULL} on error (i.e. invalid arguments, out of memory).
@end deftypefun
-@deftypefun {struct MHD_Response *} MHD_create_response_from_pipe (uint64_t size, int fd)
+@deftypefun {struct MHD_Response *} MHD_create_response_from_pipe (int fd)
Create a response object. The response object can be extended with
header information and then it can be used ONLY ONCE.
Best,
Aymeric Agon-Rambosson
P.S. Mr. Grin, sorry for the potential double reception, I was not
sure whether the mailing list would accept my email address.