Files
libmicrohttpd/doc
Christian Grothoff a05803df4f Robert Gronenberg wrote:
I am using libmicrohttpd in a multithreaded application in the
thread-per-connection mode. In order to maintain statistics and such on
the various clients, the application should be notified about
connections being started and stopped. Something like the
MHD_OPTION_NOTIFY_COMPLETED for requests, but then for connections. As
far as I could find libmicrohttpd does not (yet) provide that functionality.

Attached is a patch that does add this functionality by registering a
connection notification callback function: MHD_OPTION_NOTIFY_CONNECTION
(inspired by the MHD_OPTION_NOTIFY_COMPLETED option).

Could this be included in libmicrohttpd?

=>

The patch was only working for multithreaded apps, so I adjusted it
to cover other threading models, fixed a merge issue and added the
ability to associate a void* with the callbacks (and obtain it via
MHD connection info).  And I updated the manual & ChangeLog. Now
I think it can be included ;-).
2015-03-31 08:38:33 +00:00
..
2013-12-21 16:28:54 +00:00
2013-03-29 17:26:02 +00:00
2008-11-04 06:50:27 +00:00
2013-03-29 17:31:45 +00:00
2013-03-29 17:31:45 +00:00
2013-03-29 17:23:10 +00:00
2013-06-25 12:47:41 +00:00
2015-03-31 08:38:33 +00:00
2013-03-29 17:31:45 +00:00