mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
struct MHD_Daemon: removed unused member
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user