haproxy/src
Willy Tarreau 894c642fbf BUG/MINOR: tcp-check: don't initialize then break a connection starting with a comment
The following config :

    backend tcp9000
        option tcp-check
        tcp-check comment "this is a comment"
        tcp-check connect port 10000
        server srv 127.0.0.1:9000 check inter 1s

will result in a connection being first made to port 9000 then immediately
destroyed and re-created on port 10000, because the first rule is a comment
and doesn't match the test for the first rule being a connect(). It's
mostly harmless (unless the server really must not receive empty
connections) and the workaround simply consists in removing the comment.

Let's proceed like in other places where we simply skip leading comments.
A new function was made to make this lookup les boring. The fix should be
backported to 1.7 and 1.6.
2017-10-04 16:13:57 +02:00
..
51d.c
acl.c
applet.c MINOR: applet: Check applets_active_queue before processing applets queue 2017-09-05 10:21:29 +02:00
arg.c
auth.c
backend.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
base64.c
buffer.c MINOR: buffers: Move swap_buffer into buffer.c and add deinit_buffer function 2017-09-05 10:34:30 +02:00
cfgparse.c MINOR: listeners: new function create_listeners 2017-09-15 11:49:52 +02:00
channel.c
checks.c BUG/MINOR: tcp-check: don't initialize then break a connection starting with a comment 2017-10-04 16:13:57 +02:00
chunk.c MINOR: chunks: Use dedicated function to init/deinit trash buffers 2017-09-05 10:22:20 +02:00
cli.c MINOR: unix: remove the now unused proto_uxst.h file 2017-09-15 11:49:52 +02:00
compression.c
connection.c MEDIUM: connection: get rid of data->init() which was not for data 2017-08-30 07:04:04 +02:00
da.c
dns.c MINOR: net_helper: add functions to read from vectors 2017-09-20 11:27:31 +02:00
ev_epoll.c MINOR: polling: Use fd_update_events to update events seen for a fd 2017-09-05 15:45:11 +02:00
ev_kqueue.c MINOR: polling: Use fd_update_events to update events seen for a fd 2017-09-05 15:45:11 +02:00
ev_poll.c MINOR: polling: Use fd_update_events to update events seen for a fd 2017-09-05 15:45:11 +02:00
ev_select.c MINOR: polling: Use fd_update_events to update events seen for a fd 2017-09-05 15:45:11 +02:00
fd.c MINOR: fd: Move (de)allocation of fdtab and fdinfo in (de)init_pollers 2017-09-05 10:49:45 +02:00
filters.c
flt_http_comp.c BUG/MINOR: compression: Check response headers before http-response rules eval 2017-09-15 18:42:23 +02:00
flt_spoe.c BUG/MINOR: spoe: Don't rely on SPOE ctx in debug message when its creation failed 2017-09-15 18:42:23 +02:00
flt_trace.c
freq_ctr.c
frontend.c MINOR: frontend: don't retrieve ALPN on the critical path 2017-09-15 11:49:27 +02:00
haproxy.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
hash.c
hdr_idx.c
hlua.c MEDIUM: session: count the frontend's connections at a single place 2017-09-15 11:49:52 +02:00
hlua_fcn.c BUG/MINOR: lua: Fix bitwise logic for hlua_server_check_* functions. 2017-07-28 15:24:57 +02:00
i386-linux-vsys.c
lb_chash.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
lb_fas.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
lb_fwlc.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
lb_fwrr.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
lb_map.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
listener.c MEDIUM: session: count the frontend's connections at a single place 2017-09-15 11:49:52 +02:00
log.c BUG/MINOR: log: fixing small memory leak in error code path. 2017-09-21 17:44:31 +02:00
lru.c
mailers.c
map.c MINOR: add severity information to cli feedback messages 2017-09-13 13:38:32 +02:00
memory.c MINOR: memory: remove macros 2017-07-21 09:54:03 +02:00
namespace.c
pattern.c
payload.c
peers.c MEDIUM: session: count the frontend's connections at a single place 2017-09-15 11:49:52 +02:00
pipe.c
proto_http.c MINOR: add severity information to cli feedback messages 2017-09-13 13:38:32 +02:00
proto_tcp.c BUG/MEDIUM: tcp/http: set-dst-port action broken 2017-10-04 04:36:17 +02:00
proto_udp.c
proto_uxst.c BUG/MINOR: unix: properly check for octal digits in the "mode" argument 2017-10-04 14:43:44 +02:00
protocol.c
proxy.c MINOR: listeners: make listeners count consistent with reality 2017-09-15 11:49:52 +02:00
queue.c MEDIUM: check: server states and weight propagation re-work 2017-09-05 15:23:16 +02:00
raw_sock.c REORG/MEDIUM: connection: introduce the notion of connection handle 2017-08-24 19:30:04 +02:00
rbtree.c
regex.c
sample.c MINOR: samples: Handle the type SMP_T_METH when we duplicate a sample in smp_dup 2017-07-24 17:15:47 +02:00
server.c BUG/MEDIUM: server: unwanted behavior leaving maintenance mode on tracked stopping server (take2) 2017-09-21 17:37:38 +02:00
session.c MEDIUM: session: count the frontend's connections at a single place 2017-09-15 11:49:52 +02:00
shctx.c
signal.c
ssl_sock.c MINOR: ssl: Remove useless checks on bind_conf or bind_conf->is_ssl 2017-09-15 18:42:23 +02:00
standard.c
stats.c MINOR: unix: remove the now unused proto_uxst.h file 2017-09-15 11:49:52 +02:00
stick_table.c MINOR: add severity information to cli feedback messages 2017-09-13 13:38:32 +02:00
stream.c MEDIUM: session: count the frontend's connections at a single place 2017-09-15 11:49:52 +02:00
stream_interface.c MEDIUM: connection: remove useless flag CO_FL_DATA_WR_SH 2017-08-30 10:05:49 +02:00
task.c MINOR: tasks: Move Lua notification from Lua to tasks 2017-09-11 18:59:40 +02:00
tcp_rules.c
time.c
trace.c
uri_auth.c
vars.c MINOR: samples: Don't allocate memory for SMP_T_METH sample when method is known 2017-07-24 17:16:11 +02:00
wurfl.c
xxhash.c