Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
1ee71dd7d9bfebfcd7d3d3b3da5ec4951aaef82f
/
src
/
cfgparse.c
95d0810
BUG/MINOR: config: reject configs using HTTP with bufsize >= 256 MB
by Willy Tarreau
· Thu Aug 26 15:59:44 2021 +0200
50779ae
BUG/MINOR: stick-table: insert srv in used_name tree even with fixed id
by Amaury Denoyelle
· Mon Jun 14 17:04:25 2021 +0200
c5c5bc4
BUG/MINOR: proxy: Missing calloc return value check in chash_init_server_tree
by Remi Tricot-Le Breton
· Wed May 19 16:40:28 2021 +0200
f41ea3e
MINOR: cfgparse: Fail when encountering extra arguments in macro
by Tim Duesterhus
· Wed May 26 17:45:33 2021 +0200
6bfc10c
BUILD: config: avoid a build warning on numa_detect_topology() without threads
by Willy Tarreau
· Fri May 14 08:30:46 2021 +0200
0813861
REORG: config: uninline warnifnotcap() and failifnotcap()
by Willy Tarreau
· Sat May 08 19:58:37 2021 +0200
7190b98
MINOR: config: add a new message directive: .diag
by Willy Tarreau
· Fri May 07 08:59:50 2021 +0200
0b7c78a
MINOR: config: add predicates "version_atleast" and "version_before" to cond blocks
by Willy Tarreau
· Thu May 06 16:53:26 2021 +0200
58ca706
MINOR: config: add predicate "feature" to detect certain built-in features
by Willy Tarreau
· Thu May 06 16:34:23 2021 +0200
6492e87
MINOR: config: add predicates "streq()" and "strneq()" to conditional expressions
by Willy Tarreau
· Thu May 06 16:10:09 2021 +0200
42ed14b
MINOR: config: add predicate "defined()" to conditional expression blocks
by Willy Tarreau
· Thu May 06 15:55:14 2021 +0200
732525f
MINOR: config: make cfg_eval_condition() support predicates with arguments
by Willy Tarreau
· Thu May 06 15:49:04 2021 +0200
299bd1c
MINOR: config: improve .if condition error reporting
by Willy Tarreau
· Thu May 06 15:07:10 2021 +0200
5150805
MINOR: config: keep up-to-date current file/line/section in the global struct
by Willy Tarreau
· Thu May 06 10:04:45 2021 +0200
6a2110c
MINOR: config: centralize the ".if"/".elif" condition parser and evaluator
by Willy Tarreau
· Thu May 06 08:19:48 2021 +0200
71990e6
BUG/MINOR: config: .if/.elif should also accept negative integers
by Willy Tarreau
· Thu May 06 07:52:50 2021 +0200
f67ff02
BUG/MINOR: config: add a missing "ELIF_TAKE" test for ".elif" condition evaluator
by Willy Tarreau
· Thu May 06 08:48:09 2021 +0200
6e647c9
BUG/MINOR: config: fix uninitialized initial state in ".if" block evaluator
by Willy Tarreau
· Thu May 06 08:46:11 2021 +0200
8a022d5
MINOR: config: add a new "default-path" global directive
by Willy Tarreau
· Tue Apr 27 20:29:11 2021 +0200
da543e1
CLEANUP: cfgparse: de-uglify early file error handling in readcfgfile()
by Willy Tarreau
· Tue Apr 27 18:30:28 2021 +0200
07bf21c
BUG/MEDIUM: config: fix missing initialization in numa_detect_topology()
by Willy Tarreau
· Fri Apr 23 19:09:16 2021 +0200
a6f9c5d
BUG/MINOR: cpuset: fix compilation on platform without cpu affinity
by Amaury Denoyelle
· Fri Apr 23 16:58:08 2021 +0200
0f50cb9
MINOR: global: add option to disable numa detection
by Amaury Denoyelle
· Fri Mar 26 18:50:33 2021 +0100
b56a7c8
MEDIUM: cfgparse: detect numa and set affinity if needed
by Amaury Denoyelle
· Fri Mar 26 18:20:47 2021 +0100
a808235
MINOR: cfgparse: support the comma separator on parse_cpu_set
by Amaury Denoyelle
· Tue Apr 06 16:46:15 2021 +0200
c90932b
MINOR: cfgparse: use hap_cpuset for parse_cpu_set
by Amaury Denoyelle
· Wed Apr 14 16:16:03 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
9533a70
MINOR: log: register config file and line number on log servers.
by Emeric Brun
· Fri Apr 02 10:13:43 2021 +0200
728be0f
MINOR: config: diag if global section after non-global
by Amaury Denoyelle
· Wed Mar 31 11:43:47 2021 +0200
581db2b
MINOR: payload/config: Warn if a L6 sample fetch is used from an HTTP proxy
by Christopher Faulet
· Fri Mar 26 10:02:46 2021 +0100
42c6cf9
MINOR: action: Use a generic function to check validity of an action rule list
by Christopher Faulet
· Thu Mar 25 17:19:04 2021 +0100
5eef018
MINOR: config/proxy: Warn if a TCP proxy without backend is upgradable to HTTP
by Christopher Faulet
· Wed Mar 31 17:13:49 2021 +0200
3b6446f
MINOR: config/proxy: Don't warn for HTTP rules in TCP if 'switch-mode http' set
by Christopher Faulet
· Mon Mar 15 15:10:38 2021 +0100
c2ac5e4
MINOR: filters/http-ana: Decide to filter HTTP headers in HTTP analysers
by Christopher Faulet
· Mon Mar 08 18:20:09 2021 +0100
bb7abed
BUG/MINOR: config: Add warning for http-after-response rules in TCP mode
by Christopher Faulet
· Mon Mar 15 15:09:21 2021 +0100
77e6a4e
MINOR: sample: make smp_resolve_args() return an allocate error message
by Willy Tarreau
· Fri Mar 26 16:11:55 2021 +0100
30c0537
REORG: server: use flags for parse_server
by Amaury Denoyelle
· Mon Mar 08 16:36:46 2021 +0100
3efee65
MINOR: cfgparse: always alloc idle conns task
by Amaury Denoyelle
· Mon Mar 08 17:31:39 2021 +0100
1b8dacc
MINOR/BUG: mworker/cli: do not use the unix_bind prefix for the master CLI socket
by Eric Salama
· Tue Mar 16 15:12:17 2021 +0100
4975d14
CLEANUP: cli: rename the last few "stats_" to "cli_"
by Willy Tarreau
· Sat Mar 13 11:00:33 2021 +0100
433b05f
MINOR: cfgparse/bind: suggest correct spelling for unknown bind keywords
by Willy Tarreau
· Fri Mar 12 10:14:07 2021 +0100
e2afcc4
MINOR: cfgparse: add cfg_find_best_match() to suggest an existing word
by Willy Tarreau
· Fri Mar 12 09:08:04 2021 +0100
d4e78d8
MINOR: server: move actconns to the per-thread structure
by Willy Tarreau
· Thu Mar 04 10:47:54 2021 +0100
430bf4a
MINOR: server: allocate a per-thread struct for the per-thread connections stuff
by Willy Tarreau
· Thu Mar 04 09:45:32 2021 +0100
4cdac16
MINOR: cfgparse: finish to set up servers outside of the proxy setup loop
by Willy Tarreau
· Fri Mar 05 10:48:42 2021 +0100
35cd734
CLEANUP: config: replace a few free() with ha_free()
by Willy Tarreau
· Fri Feb 26 20:51:47 2021 +0100
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· Sat Feb 20 10:46:51 2021 +0100
d8aa21a
CLEANUP: server: rename srv_cleanup_{idle,toremove}_connections()
by Willy Tarreau
· Fri Feb 26 00:30:22 2021 +0100
6616132
MINOR: listener: refine the default MAX_ACCEPT from 64 to 4
by Willy Tarreau
· Fri Feb 19 15:50:27 2021 +0100
c943799
MEDIUM: resolvers/dns: split dns.c into dns.c and resolvers.c
by Emeric Brun
· Fri Feb 12 19:42:55 2021 +0100
8a55193
MEDIUM: resolvers: move resolvers section parsing from cfgparse.c to dns.c
by Emeric Brun
· Tue Nov 24 17:24:34 2020 +0100
750fe79
MINOR: resolvers: renames type dns_resolvers to resolvers.
by Emeric Brun
· Wed Dec 23 16:51:12 2020 +0100
4b10302
MINOR: cfgparse: implement a simple if/elif/else/endif macro block handler
by Willy Tarreau
· Fri Feb 12 17:59:10 2021 +0100
7d0c143
MINOR: cfgparse: move defproxy to cfgparse-listen as a static
by Willy Tarreau
· Fri Feb 12 12:29:28 2021 +0100
144289b
REORG: move init_default_instance() to proxy.c and pass it the defproxy pointer
by Willy Tarreau
· Fri Feb 12 08:19:01 2021 +0100
5bbc676
BUG/MINOR: stats: revert the change on ST_CONVDONE
by Willy Tarreau
· Fri Feb 12 11:49:25 2021 +0100
937c3ea
BUG/MEDIUM: config: don't pick unset values from last defaults section
by Willy Tarreau
· Fri Feb 12 11:14:35 2021 +0100
f232cb3
MEDIUM: connection: replace idle conn lists by eb trees
by Amaury Denoyelle
· Wed Jan 06 16:14:12 2021 +0100
5c7086f
MEDIUM: connection: protect idle conn lists with locks
by Amaury Denoyelle
· Mon Jan 11 09:21:52 2021 +0100
76837bc
CLEANUP: cfgparse: replace "realloc" with "my_realloc2" to fix to memory leak on error
by Ilya Shipitsin
· Thu Jan 07 22:45:13 2021 +0500
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
92149f9
MEDIUM: stick-tables: Add srvkey option to stick-table
by Thayne McCombs
· Fri Nov 20 01:28:26 2020 -0700
0a76901
MINOR: cfgparse: QUIC default server transport parameters init.
by Frédéric Lécaille
· Mon Nov 23 15:50:46 2020 +0100
884f2e9
MINOR: listener: Add QUIC info to listeners and receivers.
by Frédéric Lécaille
· Mon Nov 23 14:23:21 2020 +0100
f637044
MEDIUM: cli/ssl: configure ssl on server at runtime
by William Dauchy
· Sat Nov 14 19:25:33 2020 +0100
9139ec3
MINOR: cfgparse: tighten the scope of newnameserver variable, free it on error.
by Eric Salama
· Fri Nov 13 15:56:36 2020 +0100
cd10def
MINOR: backend: replace the lbprm lock with an rwlock
by Willy Tarreau
· Sat Oct 17 18:48:47 2020 +0200
9e9919d
MEDIUM: proxy: remove obsolete "monitor-net"
by Willy Tarreau
· Wed Oct 14 15:55:23 2020 +0200
77e0dae
MEDIUM: proxy: remove obsolete "mode health"
by Willy Tarreau
· Wed Oct 14 15:44:27 2020 +0200
a389c9e
MEDIUM: proxy: add mode PR_MODE_PEERS to flag peers frontends
by Willy Tarreau
· Wed Oct 07 17:49:42 2020 +0200
c3914d4
MEDIUM: proxy: replace proxy->state with proxy->disabled
by Willy Tarreau
· Thu Sep 24 08:39:22 2020 +0200
1ad64ac
CLEANUP: peers: don't use the PR_ST* states to mark enabled/disabled
by Willy Tarreau
· Thu Sep 24 08:48:08 2020 +0200
02b092f
MEDIUM: init: stop disabled proxies after initializing fdtab
by Willy Tarreau
· Wed Oct 07 18:36:54 2020 +0200
fa41cb6
MINOR: tools: support for word expansion of environment in parse_line
by Amaury Denoyelle
· Thu Oct 01 14:32:35 2020 +0200
1aab911
BUG/MINOR: Fix memory leaks cfg_parse_peers
by Eric Salama
· Fri Sep 18 11:55:17 2020 +0200
65ec4e3
MEDIUM: tools: make str2sa_range() check that the protocol has ->connect()
by Willy Tarreau
· Wed Sep 16 19:17:08 2020 +0200
5fc9328
MINOR: tools: make str2sa_range() directly return the protocol
by Willy Tarreau
· Wed Sep 16 18:25:03 2020 +0200
9b3178d
MINOR: listener: pass the chosen protocol to create_listeners()
by Willy Tarreau
· Wed Sep 16 17:58:55 2020 +0200
5e1779a
MEDIUM: config: make str2listener() not accept datagram sockets anymore
by Willy Tarreau
· Wed Sep 16 16:28:08 2020 +0200
aa33312
MINOR: cfgparse: add str2receiver() to parse dgram receivers
by Willy Tarreau
· Wed Sep 16 15:13:04 2020 +0200
3baec24
MEDIUM: tools: make str2sa_range() only report AF_CUST_UDP on listeners
by Willy Tarreau
· Wed Sep 16 20:35:12 2020 +0200
a215be2
MEDIUM: tools: make str2sa_range() check for the sockpair's FD usability
by Willy Tarreau
· Wed Sep 16 10:14:16 2020 +0200
804f11f
MINOR: config: do not test an inherited socket again
by Willy Tarreau
· Wed Sep 16 10:43:38 2020 +0200
a93e5c7
MINOR: tools: make str2sa_range() optionally return the fd
by Willy Tarreau
· Tue Sep 15 14:01:16 2020 +0200
909c23b
MINOR: listener: remove the inherited arg to create_listener()
by Willy Tarreau
· Tue Sep 15 13:50:58 2020 +0200
3281993
MINOR: tools: add several PA_O_* flags in str2sa_range() callers
by Willy Tarreau
· Fri Sep 04 15:53:16 2020 +0200
8b0fa8f
MEDIUM: config: remove all checks for missing/invalid ports/ranges
by Willy Tarreau
· Tue Sep 15 11:52:23 2020 +0200
8095876
MINOR: tools: add several PA_O_PORT_* flags in str2sa_range() callers
by Willy Tarreau
· Tue Sep 15 10:30:39 2020 +0200
cd3a5591
MINOR: tools: make str2sa_range() take more options than just resolve
by Willy Tarreau
· Fri Sep 04 15:30:46 2020 +0200
a5b325f
MINOR: protocol: add a real family for existing FDs
by Willy Tarreau
· Fri Sep 04 16:44:20 2020 +0200
3715906
REORG: listener: move the listening address to a struct receiver
by Willy Tarreau
· Thu Aug 27 07:48:42 2020 +0200
e26993c
MINOR: listener: move bind_proc and bind_thread to struct settings
by Willy Tarreau
· Thu Sep 03 07:18:55 2020 +0200
e42d87f
BUG/MINOR: dns: gracefully handle the "udp@" address format for nameservers
by Willy Tarreau
· Wed Sep 16 20:04:17 2020 +0200
b53dd03
BUG/MINOR: Fix type passed of sizeof() for calloc()
by Tim Duesterhus
· Sat Sep 12 20:26:42 2020 +0200
f92afb7
MEDIUM: cfgparse: Emit hard error on truncated lines
by Tim Duesterhus
· Tue Aug 18 22:00:04 2020 +0200
d3db384
BUG/MEDIUM: resolve: fix init resolving for ring and peers section.
by Emeric Brun
· Tue Jul 21 16:54:36 2020 +0200
9b9c174
BUILD: config: fix again bugs gcc warnings on calloc
by Willy Tarreau
· Fri Jul 17 15:04:53 2020 +0200
ad37c7a
BUILD: config: address build warning on raspbian+rpi4
by Willy Tarreau
· Fri Jul 17 14:18:36 2020 +0200
54932b4
MINOR: log: adds syslog udp message handler and parsing.
by Emeric Brun
· Tue Jul 07 09:43:24 2020 +0200
3835c0d
MEDIUM: udp: adds minimal proto udp support for message listeners.
by Emeric Brun
· Tue Jul 07 09:46:09 2020 +0200
Next »