[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Do we have examples using the new MHD_run_wait funct
From: |
Evgeny Grin |
Subject: |
Re: [libmicrohttpd] Do we have examples using the new MHD_run_wait function? |
Date: |
Wed, 28 Feb 2024 12:21:25 +0100 |
User-agent: |
Mozilla Thunderbird |
Hi Silvio,
We do not have any official example for the MHD_run_wait() function.
However, the idea is simple: if no network event happens the function
returns after specified number of seconds, if anything happens on the
network the function returns after processing all the relevant data.
GitHub cannot be used as an official interface for GNU projects.
See https://gnu.org/s/repo-criteria-evaluation.html#github-com
You may send patches to this ML, send them directly to me, or use any
other way of sharing convenient for you.
--
Evgeny
27-Feb-2024 20:13 (UTC+0100), silvioprog wrote:
I'll try to provide a "hello world"-like example using this new feature.
Could I provide a PR via GitHub
https://github.com/Karlson2k/libmicrohttpd
<https://github.com/Karlson2k/libmicrohttpd>?
(I saw Evgeny was the guy that introduced this feature, so I'll like
your code review as soon as I provide the example 😅)
On Mon, Feb 26, 2024 at 4:58 PM silvioprog <silvioprog@gmail.com
<mailto:silvioprog@gmail.com>> wrote:
Hey guys!
First of all, thanks a lot for this new feature!
Seems like this function is exactly what I'm looking for to provide
single thread support in my library. \o/
So, do we have any examples using this function?
Thanks a lot!
--
Silvio Clécio
--
Silvio Clécio
OpenPGP_0x460A317C3326D2AE.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature