[libmicrohttpd] "Failed to join a thread": Race condition when closing the connection?

2018-02-01 Thread Jan-Benedict Glaw
Hi! We're using libmicrohttpd for serving API requests. That worked fine until recently, when I changed popen()/pclose() to a more shallow (and much faster) version (when the application VSZ is large.) It seems that I uncovered a small bug. I'm not yet all the way through the code, but I guess

Re: [libmicrohttpd] MHD and PVS-Studio Analysis

2018-02-01 Thread Christian Grothoff
Hi silvioprog, One of the issues was clearly real (fixed in Git), the other three I don't get. Looking at the code, the flag can clearly go in either direction, and the incremented dest pointer cannot be NULL (was checked just a few lines above). Regardless, running such tools is always a good i