public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug debuginfod/29123] New: MHD_USE_EPOLL doesn't work
@ 2022-05-05 22:25 mark at klomp dot org
  2022-05-05 22:27 ` [Bug debuginfod/29123] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mark at klomp dot org @ 2022-05-05 22:25 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29123

            Bug ID: 29123
           Summary: MHD_USE_EPOLL doesn't work
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

There are two issues with the use of MHD_USE_EPOLL with libmicrohttp.

- MHD_USE_EPOLL isn't a define but an enum value, so this doesn't work:

#ifdef MHD_USE_EPOLL
                           | MHD_USE_EPOLL
#endif

- MHD_USE_EPOLL doesn't work together with MHD_USE_THREAD_PER_CONNECTION
  when both are defined in mhd_flags MHD_start_daemon fails.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debuginfod/29123] MHD_USE_EPOLL doesn't work
  2022-05-05 22:25 [Bug debuginfod/29123] New: MHD_USE_EPOLL doesn't work mark at klomp dot org
@ 2022-05-05 22:27 ` fche at redhat dot com
  2022-05-05 22:42 ` mark at klomp dot org
  2022-05-11 23:01 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2022-05-05 22:27 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29123

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
might need to use #if MHD_VERSION >= 0xsomething to protect it better

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debuginfod/29123] MHD_USE_EPOLL doesn't work
  2022-05-05 22:25 [Bug debuginfod/29123] New: MHD_USE_EPOLL doesn't work mark at klomp dot org
  2022-05-05 22:27 ` [Bug debuginfod/29123] " fche at redhat dot com
@ 2022-05-05 22:42 ` mark at klomp dot org
  2022-05-11 23:01 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2022-05-05 22:42 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29123

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Proposed patch:
https://sourceware.org/pipermail/elfutils-devel/2022q2/005014.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debuginfod/29123] MHD_USE_EPOLL doesn't work
  2022-05-05 22:25 [Bug debuginfod/29123] New: MHD_USE_EPOLL doesn't work mark at klomp dot org
  2022-05-05 22:27 ` [Bug debuginfod/29123] " fche at redhat dot com
  2022-05-05 22:42 ` mark at klomp dot org
@ 2022-05-11 23:01 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2022-05-11 23:01 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29123

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit 4b42d9ad28dc0820dc537b442e9dd88138a4b980
Author: Mark Wielaard <mark@klomp.org>
Date:   Fri May 6 00:29:28 2022 +0200

    debuginfod: Use MHD_USE_EPOLL for libmicrohttpd version 0.9.51 or higher

    Also disable MHD_USE_THREAD_PER_CONNECTION when using MHD_USE_EPOLL.

    https://sourceware.org/bugzilla/show_bug.cgi?id=29123

    Signed-off-by: Mark Wielaard <mark@klomp.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-11 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 22:25 [Bug debuginfod/29123] New: MHD_USE_EPOLL doesn't work mark at klomp dot org
2022-05-05 22:27 ` [Bug debuginfod/29123] " fche at redhat dot com
2022-05-05 22:42 ` mark at klomp dot org
2022-05-11 23:01 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).