Re: [libmicrohttpd] Warnings from libmicrohttpd.h

2018-01-04 Thread Christian Grothoff
Eh, yes. Should be fixed in 98cd69d1..867c58ad, please report if not. Happy hacking! Christian On 01/03/2018 12:10 PM, Tim Rühsen wrote: > Hi, > > I see these annoying from the user-included file libmicrohttpd.h (latest > git master). Could you fix it, please ? > > /usr/oms/src/wget2/x86_64-w

[libmicrohttpd] How to send a binary payload (octet-stream)?

2018-01-04 Thread silvioprog
Hi dudes! Consider the following file: http://brook.no-ip.org/download/content.bin request: # debugdump.txt just for debuging $ url --header "Content-Type:application/octet-stream" --trace-ascii debugdump.txt --data-binary @content.bin http://localhost:9090 and example: #include #include #i

Re: [libmicrohttpd] How to send a binary payload (octet-stream)?

2018-01-04 Thread silvioprog
Oh, I found a good explanation just after sensing my question: * @param[in,out] upload_data_size set initially to the size of the *@a upload_data provided; the method must update this *value to the number of bytes NOT processed; ... it seems I need to load the upload_data on deman