[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Remove PlibC from autotools files
From: |
LRN |
Subject: |
Re: [libmicrohttpd] Remove PlibC from autotools files |
Date: |
Thu, 08 Aug 2013 22:15:50 +0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Thunderbird/25.0a1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08.08.2013 21:25, Michael Cronenworth wrote:
> On 08/08/2013 11:35 AM, LRN wrote:
>> Can you please email the whole MHD_select() function in its complete,
>> patched form? (yes, i'm too lazy to apply your patches myself)
>
> http://fpaste.org/30900/13759826/
>
>
Thanks.
Now, consider this:
MHD_USE_THREAD_PER_CONNECTION is set, MHD_select_thread() runs
MHD_select() in a while loop, connection timeout is set to 5 seconds.
select() will block for up to 5 seconds. And while it blocks, pipe won't
be peeked. That is for how long the shutdown operation will lag, if all
connections are idle.
What if timeout is set not to 5 seconds, but more... ? Now you get the idea.
My proposal: get the appropriate permissions (from me, ndurner and,
possibly, bratao) and expropriate GNUnet code that uses 2 threads (main
thread and a separate pipe-waiting thread) and a socket to signal
between them.
Grothoff, what do you think?
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJSA+BSAAoJEOs4Jb6SI2CwHLoIAMc7Kqfaubue2rn0YfhPPYcr
UxyCSKejUtAeI0WQ4KXpQOTba12uFHm0L4VeqRYh8u8/NcyJ20Ds8hlkd4sKZ0qV
smgn1IyyF9FtKXDEYwPT3dT58DLJ+94m1jwdmK4Pp4wIPHuHFNe4/wJXkgt6qzg6
YYDk1ZEEBvrEUi/89jT2TyLHgc7NdhnAZtfNDZe5kcw4hkRAbuQ4UeJ9CNGuaeys
KgwKKxd/V45ebDZKqPz03Gc4Wu2La85S4ayKb253bOzr/SSPAOGLksILPAE1vDwW
c+PPIi+p5JJwoVe5zpdtl71KpAt9W4Dbs1xmg/TowfHiH8ckagPoLsQ3LtqyRQI=
=ZLz2
-----END PGP SIGNATURE-----
- Re: [libmicrohttpd] Remove PlibC from autotools files, (continued)
- Re: [libmicrohttpd] Remove PlibC from autotools files, Michael Cronenworth, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, Christian Grothoff, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, Michael Cronenworth, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, Michael Cronenworth, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/07
- Re: [libmicrohttpd] Remove PlibC from autotools files, Michael Cronenworth, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, Michael Cronenworth, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files,
LRN <=
- Re: [libmicrohttpd] Remove PlibC from autotools files, Christian Grothoff, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, Michael Cronenworth, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, Christian Grothoff, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, Christian Grothoff, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, Evgeny Grin, 2013/08/08
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/09
- Re: [libmicrohttpd] Remove PlibC from autotools files, Evgeny Grin, 2013/08/09
- Re: [libmicrohttpd] Remove PlibC from autotools files, LRN, 2013/08/09