struct MHD_Daemon: removed unused member

This commit is contained in:
Evgeny Grin (Karlson2k)
2025-04-07 13:45:42 +03:00
parent bd2b01b9b5
commit f60029ae24
3 changed files with 0 additions and 11 deletions
-1
View File
@@ -1797,7 +1797,6 @@ allocate_events (struct MHD_Daemon *restrict d)
mhd_assert (0 != d->conns.cfg.count_limit);
mhd_assert (mhd_D_TYPE_HAS_EVENTS_PROCESSING (d->threading.d_type));
d->events.zero_wait = false;
mhd_DLINKEDL_INIT_LIST (&(d->events),proc_ready);
switch (d->events.poll_type)
-4
View File
@@ -105,8 +105,6 @@ mhd_daemon_get_wait_max (struct MHD_Daemon *restrict d)
return 0;
if (d->threading.resume_requested) /* Remove? It is triggered by ITC anyway */
return 0;
if (d->events.zero_wait)
return 0;
if (NULL != mhd_DLINKEDL_GET_FIRST (&(d->events), proc_ready))
return 0;
@@ -1432,8 +1430,6 @@ get_all_net_updates_by_epoll (struct MHD_Daemon *restrict d)
static MHD_FN_PAR_NONNULL_ (1) bool
process_all_events_and_data (struct MHD_Daemon *restrict d)
{
d->events.zero_wait = false; /* Reset as all pending data will be processed */
switch (d->events.poll_type)
{
case mhd_POLL_TYPE_EXT:
-6
View File
@@ -476,12 +476,6 @@ struct mhd_DaemonEventMonitoringData
*/
bool accept_pending;
/**
* Indicate that daemon already has some data to be processed on the next
* cycle
*/
bool zero_wait; // FIXME: Remove completely?
/**
* The list of the daemon's connections that need processing
*/