[libmicrohttpd] problem in client certificate authentication example?

2021-03-02 Thread folkert
if that status (client_cert_status in the example) is 0, the certificate should be used. In my opinion the example should be changed to verify that status as people may use the example "as is", potentially implementing security-problems in software using it. Hopefully I'm wrong in my ana

[libmicrohttpd] doing "client certificate authentication" earlier in the TLS handshake

2021-03-03 Thread folkert
the way into gnutls? Regards, Folkert van Heusden --

[libmicrohttpd] why

2021-03-04 Thread folkert
Hi, While going through the libmicrohttpd sources, I noticed this part in daemon.c: /* Allocate memory pool in the processing thread so * intensively used memory area is allocated in "good" * (for the thread) memory region. It is important with * NUMA and/or complex cache hierarchy. */ connection

[libmicrohttpd] chunked encoding & mjpeg stream

2022-02-27 Thread folkert
Hello, Some browsers (like chrome and firefox) get confused when showing an mjpeg-stream when produced by libmicrohttpd. Most likely this is caused by the chunked encoding. An MJPEG stream consists of a "multipart/x-mixed-replace" http-stream of jpeg images. After every jpeg frame, a multipart-he