SoupServer stuck, waiting in several glib-networking handshake threads
Hi,
I'm not sure if it is a problem of libsoup or one of its dependency, but here is my issue: I have a https server application based on libsoup. It works fine, but after a variable amount of time (several months or just several days), the server stops to answer to http requests.
What I have found is, when the server is stuck, it looks like the GTask thread pool is full of gblib-networking threads (If I have understood correctly, the thread pool size of GTask is 10). Which may explain why it doesn't answer to http requests anymore.
Here is an example of a backtrace when this happen: Vpm_-2019_07_17-Unresponsive-_Thread_back_trace.txt
Libsoup I am using is version 2.64.2, glib-networking 2.58.0 and gnutls 3.6.4 (I would have tried more recent versions, but meson based releases don't work well in our build environment).