diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-31 08:38:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-31 08:38:33 +0000 |
commit | a05803df4f24075bd708d7367502a658a76ecf21 (patch) | |
tree | 8d7fdda1f199dd0f6bc95e2fefaac9483ee15c76 /AUTHORS | |
parent | 5fe98c752902b97abb2011411b5ca73a1b216c74 (diff) | |
download | libmicrohttpd-a05803df4f24075bd708d7367502a658a76ecf21.tar.gz libmicrohttpd-a05803df4f24075bd708d7367502a658a76ecf21.zip |
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 ;-).
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ Luke-Jr <luke@dashjr.org> | |||
51 | Sree Harsha Totakura <sreeharsha@totakura.in> | 51 | Sree Harsha Totakura <sreeharsha@totakura.in> |
52 | Hani Benhabiles <kroosec@gmail.com> | 52 | Hani Benhabiles <kroosec@gmail.com> |
53 | Guy Martin <gmsoft@tuxicoman.be> | 53 | Guy Martin <gmsoft@tuxicoman.be> |
54 | Robert Groenenberg <robert.groenenberg@broadforward.com> | ||
54 | 55 | ||
55 | 56 | ||
56 | Documentation contributions also came from: | 57 | Documentation contributions also came from: |