haproxy/include/proto
Christopher Faulet 621da6bafa BUG/MEDIUM: channel/htx: Use the total HTX size in channel_htx_recv_limit()
The receive limit of an HTX channel must be calculated against the total size of
the HTX message. Otherwise, the buffer may never be seen as full whereas the
receive limit is 0. Indeed, the function channel_htx_full() already takes care
to add a block size to the buffer's reserve (8 bytes). So if the function
channel_htx_recv_limit() also keep a block size free in addition to the buffer's
reserve, it means that at least 2 block size will be kept free but only one will
be taken into account, freezing the stream if the option http-buffer-request is
enabled.

This patch fixes the Github issue #136. It should be backported to 2.0 and
1.9. Thanks jaroslawr (Jarosław Rzeszótko) for his help.
2019-07-02 21:32:45 +02:00
..
acl.h
action.h
activity.h MINOR: time: move the cpu, mono, and idle time to thread_info 2019-05-20 21:14:14 +02:00
applet.h
arg.h
auth.h
backend.h
channel.h BUG/MEDIUM: channel/htx: Use the total HTX size in channel_htx_recv_limit() 2019-07-02 21:32:45 +02:00
checks.h
cli.h
compression.h
connection.h BUG/MEDIUM: connections: Always call shutdown, with no linger. 2019-07-02 16:40:55 +02:00
dict.h MINOR: dict: Add dictionary new data structure. 2019-06-05 08:33:35 +02:00
dns.h
fd.h MINOR: fd: Don't use atomic operations when it's not needed. 2019-06-12 14:36:24 +02:00
filters.h
flt_http_comp.h
freq_ctr.h OPTIM: freq-ctr: don't take the date lock for most updates 2019-05-25 20:31:53 +02:00
frontend.h
hdr_idx.h
hlua_fcn.h
hlua.h
http_fetch.h
http_htx.h MINOR: htx: Replace the function http_find_stline() by http_get_stline() 2019-05-28 07:42:12 +02:00
http_rules.h
lb_chash.h
lb_fas.h
lb_fwlc.h
lb_fwrr.h
lb_map.h
listener.h
log.h
map.h
mux_pt.h
mworker.h BUG/MINOR: mworker: Fix memory leak of mworker_proc members 2019-05-22 11:29:18 +02:00
obj_type.h CLEANUP: objtype: make obj_type() and obj_type_name() take consts 2019-05-22 11:50:48 +02:00
pattern.h
payload.h
peers.h MINOR: peers: Make peers protocol support new "server_name" data type. 2019-06-05 08:42:33 +02:00
pipe.h
port_range.h
proto_http.h MINOR: htx: Move the macro IS_HTX_STRM() in proto/stream.h 2019-05-28 07:42:12 +02:00
proto_sockpair.h
proto_tcp.h
proto_udp.h
protocol_buffers.h
protocol.h
proxy.h
queue.h
raw_sock.h
sample.h
server.h
session.h
shctx.h
signal.h
spoe.h
ssl_sock.h MINOR: ssl: Make ssl_sock_handshake() static. 2019-06-05 18:03:38 +02:00
stats.h
stick_table.h MINOR: stick-table: Add "server_name" new data type. 2019-06-05 08:33:35 +02:00
stream_interface.h CLEANUP: connection: rename the wait_event.task field to .tasklet 2019-06-14 14:42:29 +02:00
stream.h MINOR: htx: Move the macro IS_HTX_STRM() in proto/stream.h 2019-05-28 07:42:12 +02:00
task.h BUG: tasks: fix bug introduced by latest scheduler cleanup 2019-06-14 18:16:19 +02:00
tcp_rules.h
template.h
vars.h