libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] How to detect when the client closes the connection in l


From: Andrew Oseredchuk
Subject: [libmicrohttpd] How to detect when the client closes the connection in libmicrohttpd
Date: Thu, 2 Nov 2017 09:40:25 +0200

Hello,

Im writing server application based on libmicrohttpd. Clients send requests to server and server run a new process that is responsible for responce. Server process needs some time to prepare responce. During this time client could close connection.

Is where a way how server/libmicrohttpd could detect connection abort and stop server process execution? Or is where a way we can get directly to libmicrohttpd socket to run "recv" on it in some background thread?

Thank you in advance,
Andrew

reply via email to

[Prev in Thread] Current Thread [Next in Thread]