haproxy/include/proto
Thierry FOURNIER 9cf7c4b9df MAJOR: poll: only rely on wake_expired_tasks() to compute the wait delay
Actually, HAProxy uses the function "process_runnable_tasks" and
"wake_expired_tasks" to get the next task which can expires.

If a task is added with "task_schedule" or other method during
the execution of an other task, the expiration of this new task
is not taken into account, and the execution of this task can be
too late.

Actualy, HAProxy seems to be no sensitive to this bug.

This fix moves the call to process_runnable_tasks() before the timeout
calculation and ensures that all wakeups are processed together. Only
wake_expired_tasks() needs to return a timeout now.
2015-02-28 23:12:30 +01:00
..
acl.h
arg.h BUG/MINOR: ARG6 and ARG7 don't fit in a 32 bits word 2015-02-20 14:34:16 +01:00
auth.h
backend.h MAJOR: checks: add support for a new "drain" administrative mode 2014-05-23 14:29:11 +02:00
channel.h MINOR: channel: rename bi_erase() to channel_truncate() 2015-01-14 20:32:59 +01:00
checks.h MEDIUM: Allow suppression of email alerts by log level 2015-02-06 07:59:58 +01:00
compression.h
connection.h MAJOR: namespace: add Linux network namespace support 2014-11-21 07:51:57 +01:00
cttproxy.h
dumpstats.h
fd.h MAJOR: polling: centralize calls to I/O callbacks 2014-11-21 20:37:32 +01:00
freq_ctr.h MINOR: freq_ctr: introduce a new averaging method 2014-06-17 17:15:51 +02:00
frontend.h
hdr_idx.h
lb_chash.h
lb_fas.h
lb_fwlc.h
lb_fwrr.h
lb_map.h
listener.h
log.h MEDIUM: log: support a user-configurable max log line length 2014-06-27 18:13:53 +02:00
map.h
obj_type.h
pattern.h BUG/MEDIUM: pattern: don't load more than once a pattern list. 2014-11-24 15:40:16 +01:00
payload.h
peers.h
pipe.h
port_range.h
proto_http.h BUG/MEDIUM: http: adjust close mode when switching to backend 2014-09-30 18:44:22 +02:00
proto_tcp.h MEDIUM: listener: implement a per-protocol pause() function 2014-07-08 01:13:34 +02:00
proto_uxst.h BUG/MEDIUM: unix: completely unbind abstract sockets during a pause() 2014-07-08 01:13:35 +02:00
protocol.h
proxy.h
queue.h REORG: checks: put the functions in the appropriate files ! 2014-05-22 11:27:00 +02:00
raw_sock.h
sample.h
server.h BUG/MINOR: server: move the directive #endif to the end of file 2014-07-29 11:03:14 +02:00
session.h CLEANUP: session: remove session_from_task() 2014-12-28 12:19:57 +01:00
shctx.h BUG/MAJOR: ssl: Fallback to private session cache if current lock mode is not supported. 2014-05-08 22:46:32 +02:00
signal.h
ssl_sock.h BUILD: ssl: use OPENSSL_NO_OCSP to detect OCSP support 2014-12-09 20:49:22 +01:00
stick_table.h MEDIUM: stick-table: make it easier to register extra data types 2014-07-15 19:14:52 +02:00
stream_interface.h MINOR: stream-int: retrieve session pointer from stream-int 2014-12-24 23:47:31 +01:00
task.h MAJOR: poll: only rely on wake_expired_tasks() to compute the wait delay 2015-02-28 23:12:30 +01:00
template.h