[libmicrohttpd] TCP connection closed with Digest auth

2020-01-08 Thread Ahmed Zaki
Hello, I am using libmicrohttpd (0.9.69) in a RestFul API server that uses Digest authentication. All the endpoints are working fine except for a PUT on one of the endpoints where the client uploads a large (12~13MBytes) file to the application. This fails on all browsers/OSs expect Chrome on Ubun

Re: [libmicrohttpd] TCP connection closed with Digest auth

2020-01-08 Thread Christian Grothoff
Hi Ahmed, I think MHD is right to close the connection after returning the 401, simply because due to the PUT + Expect: 100-continue we cannot be sure if the client received the 401 *before* starting the upload, as clients are expected to start the upload after a few 100ms in the _absence_ of a re