Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
b48e7c001658b06d98b4f52f45badde6eb062869
/
src
/
server.c
ba13f16
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Fri Mar 19 22:21:44 2021 +0500
3046723
MINOR: server: support keyword proto in 'add server' cli
by Amaury Denoyelle
· Fri Mar 12 18:03:27 2021 +0100
fc465a5
MINOR: server: enable standard options for dynamic servers
by Amaury Denoyelle
· Tue Mar 09 17:36:23 2021 +0100
f99f77a
MEDIUM: server: implement 'add server' cli command
by Amaury Denoyelle
· Mon Mar 08 17:13:32 2021 +0100
76e10e7
MINOR: server: prepare parsing for dynamic servers
by Amaury Denoyelle
· Mon Mar 08 17:08:01 2021 +0100
30c0537
REORG: server: use flags for parse_server
by Amaury Denoyelle
· Mon Mar 08 16:36:46 2021 +0100
cf58dd7
REORG: server: attach servers in parse_server
by Amaury Denoyelle
· Mon Mar 08 16:35:54 2021 +0100
7d27efe
REORG: server: rename internal functions from parse_server
by Amaury Denoyelle
· Wed Mar 17 14:25:39 2021 +0100
9394a94
REORG: server: move alert traces in parse_server
by Amaury Denoyelle
· Mon Mar 08 11:20:52 2021 +0100
a8f442e
REORG: server: split parse_server
by Amaury Denoyelle
· Mon Mar 08 10:29:33 2021 +0100
3b89c11
MINOR: server: remove fastinter from mistyped kw list
by Amaury Denoyelle
· Fri Mar 12 16:04:00 2021 +0100
587b71e
REORG: server: move keywords in srv_kws
by Amaury Denoyelle
· Wed Mar 10 16:36:02 2021 +0100
828adf0
REORG: server: add a free server function
by Amaury Denoyelle
· Tue Mar 16 17:20:15 2021 +0100
59b2925
BUG/MINOR: resolvers: Add missing case-insensitive comparisons of DNS hostnames
by Christopher Faulet
· Tue Mar 16 11:21:04 2021 +0100
c392d46
CLEANUP: resolvers: Use ha_free() in srvrq_resolution_error_cb()
by Christopher Faulet
· Wed Mar 10 15:51:13 2021 +0100
d83a6df
BUG/MEDIUM: resolvers: Skip DNS resolution at startup if SRV resolution is set
by Christopher Faulet
· Fri Mar 12 10:23:05 2021 +0100
0efc099
BUG/MEDIUM: resolvers: Don't release resolution from a requester callbacks
by Christopher Faulet
· Thu Mar 11 18:09:53 2021 +0100
6b117ae
MINOR: resolvers: Directly call srvrq_update_srv_state() when possible
by Christopher Faulet
· Thu Mar 11 18:06:23 2021 +0100
5efdef2
MINOR: resolvers: Add function to change the srv status based on SRV resolution
by Christopher Faulet
· Thu Mar 11 18:03:21 2021 +0100
51d5e3b
MINOR: resolvers: Purge answer items when a SRV resolution triggers an error
by Christopher Faulet
· Wed Mar 10 15:46:46 2021 +0100
49531e8
BUG/MINOR; resolvers: Ignore DNS resolution for expired SRV item
by Christopher Faulet
· Wed Mar 10 15:07:27 2021 +0100
bca680b
BUG/MINOR: resolvers: Unlink DNS resolution to set RMAINT on SRV resolution
by Christopher Faulet
· Wed Mar 10 21:33:21 2021 +0100
5130c21
BUG/MINOR: resolvers: Reset server address on DNS error only on status change
by Christopher Faulet
· Wed Mar 10 20:31:40 2021 +0100
bd0227c
BUG/MINOR: resolvers: Consider server to have no IP on DNS resolution error
by Christopher Faulet
· Wed Mar 10 15:39:16 2021 +0100
736adef
BUG/MINOR: cfgparse/server: increment the extra keyword counter one at a time
by Willy Tarreau
· Fri Mar 12 14:47:10 2021 +0100
49c2b45
MINOR: cfgparse/server: try to fix spelling mistakes on server lines
by Willy Tarreau
· Fri Mar 12 09:58:04 2021 +0100
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 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
198e92a
MINOR: server: add a global list of all known servers
by Willy Tarreau
· Fri Mar 05 10:23:32 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
dcf753a
CLEANUP: Use the ist() macro whenever possible
by Tim Duesterhus
· Thu Mar 04 17:31: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
3e3d3be
REORG: server-state: Move functions to deal with server-state in its own file
by Christopher Faulet
· Tue Feb 16 13:31:30 2021 +0100
69beaa9
REORG: server: Export and rename some functions updating server info
by Christopher Faulet
· Tue Feb 16 12:07:47 2021 +0100
a67c6bf
MEDIUM: server: Don't load server-state file if a line is corrupted
by Christopher Faulet
· Tue Feb 16 11:51:12 2021 +0100
d0a5e84
MINOR: server: Parse and store server-state lines in a dedicated function
by Christopher Faulet
· Tue Feb 16 11:41:26 2021 +0100
5c37985
MEDIUM: server: Use a tree to store local server-state lines
by Christopher Faulet
· Tue Feb 16 11:32:22 2021 +0100
2c1db10
MINOR: server: Move loading state of servers in a dedicated function
by Christopher Faulet
· Tue Feb 16 11:30:47 2021 +0100
f4d1da9
MINOR: server: Remove cached line from global server-state tree when found
by Christopher Faulet
· Tue Feb 16 09:58:01 2021 +0100
ecfb9b9
MEDIUM: server: Store parsed params of a server-state line in the tree
by Christopher Faulet
· Mon Feb 15 18:27:35 2021 +0100
8a14b73
MINOR: server: Be more strict when reading the version of a server-state file
by Christopher Faulet
· Mon Feb 15 16:24:10 2021 +0100
8b4b6a0
CLEANUP: server: Use a local eb-tree to store lines of the global server-state file
by Christopher Faulet
· Mon Feb 15 16:53:51 2021 +0100
6d87c58
CLEANUP: server: Rename state_line structure into server_state_line
by Christopher Faulet
· Mon Feb 15 17:09:33 2021 +0100
fcb53fb
CLEANUP: server: Rename state_line node to node instead of name_name
by Christopher Faulet
· Mon Feb 15 12:07:40 2021 +0100
131b07b
MEDIUM: server: Refactor apply_server_state() to make it more readable
by Christopher Faulet
· Fri Feb 12 19:59:21 2021 +0100
2a031ec
MINOR: server: Only fill one array when parsing a server-state line
by Christopher Faulet
· Fri Feb 12 19:02:21 2021 +0100
0bf268e
MINOR: server: Be more strict on the server-state line parsing
by Christopher Faulet
· Fri Feb 12 18:49:31 2021 +0100
d127ffa
BUG/MEDIUM: resolvers: Reset address for unresolved servers
by Christopher Faulet
· Tue Feb 23 12:33:17 2021 +0100
52d4d30
BUG/MEDIUM: resolvers: Reset server address and port for obselete SRV records
by Christopher Faulet
· Tue Feb 23 12:24:09 2021 +0100
b4badf7
BUG/MINOR: resolvers: new callback to properly handle SRV record errors
by Baptiste Assmann
· Thu Nov 19 22:38:33 2020 +0100
28d7876
BUG/MINOR: server: Fix test on number of fields allowed in a server-state line
by Christopher Faulet
· Sat Feb 20 12:15:22 2021 +0100
ea2cdf5
MEDIUM: server: Don't introduce a new server-state file version
by Christopher Faulet
· Fri Feb 19 12:10:36 2021 +0100
868a575
BUG/MINOR: server: Be sure to cut the last parsed field of a server-state line
by Christopher Faulet
· Fri Feb 19 16:57:20 2021 +0100
06cd256
BUG/MINOR: server: Init params before parsing a new server-state line
by Christopher Faulet
· Fri Feb 19 16:47:11 2021 +0100
8990b01
MINOR: connection: allocate dynamically hash node for backend conns
by Amaury Denoyelle
· Fri Feb 19 15:29:16 2021 +0100
3f4ec7d
MINOR: cli: add missing agent commands for set server
by William Dauchy
· Mon Feb 15 17:22:16 2021 +0100
751153e
OPTIM: server: switch the actconn list to an mt-list
by Willy Tarreau
· Wed Feb 17 13:33:24 2021 +0100
eaab732
BUG/MINOR: server: Remove RMAINT from admin state when loading server state
by Christopher Faulet
· Fri Feb 12 17:36:08 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
d30e9a1
MINOR: resolvers: rework prototype suffixes to split resolving and dns.
by Emeric Brun
· Wed Dec 23 18:49:16 2020 +0100
456de77
MINOR: resolvers: renames resolvers DNS_UPD_* returncodes to RSLV_UPD_*
by Emeric Brun
· Wed Dec 23 18:17:31 2020 +0100
21fbeed
MINOR: resolvers: renames some dns prefixed types using resolv prefix.
by Emeric Brun
· Wed Dec 23 18:01:04 2020 +0100
08622d3
MINOR: resolvers: renames some resolvers specific types to not use dns prefix
by Emeric Brun
· Wed Dec 23 17:41:43 2020 +0100
750fe79
MINOR: resolvers: renames type dns_resolvers to resolvers.
by Emeric Brun
· Wed Dec 23 16:51:12 2020 +0100
50c870e
BUG/MINOR: dns: add missing sent counter and parent id to dns counters.
by Emeric Brun
· Mon Jan 04 10:40:46 2021 +0100
4696764
CLEANUP: server: Remove useless "filepath" variable in apply_server_state()
by Christopher Faulet
· Fri Feb 12 16:38:14 2021 +0100
8952ea6
BUG/MINOR: server: Don't call fopen() with server-state filepath set to NULL
by Christopher Faulet
· Fri Feb 12 16:31:03 2021 +0100
bb8669a
BUG/MINOR: server: parse_server() must take a const for the defproxy
by Willy Tarreau
· Fri Feb 12 12:15:05 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
ddc7ce9
MINOR: server: enhance error precision when applying server state
by William Dauchy
· Thu Feb 11 22:51:27 2021 +0100
d1a7b85
MEDIUM: server: support {check,agent}_addr, agent_port in server state
by William Dauchy
· Thu Feb 11 22:51:26 2021 +0100
63e6cba
MEDIUM: server: add server-states version 2
by William Dauchy
· Thu Feb 11 22:51:25 2021 +0100
7cabc06
MEDIUM: cli: add agent-port command
by William Dauchy
· Thu Feb 11 22:51:24 2021 +0100
b456e1f
MEDIUM: cli: add check-addr command
by William Dauchy
· Thu Feb 11 22:51:23 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
3ce6eed
MEDIUM: ssl: add a rwlock for SSL server session cache
by William Lallemand
· Mon Feb 08 10:43:44 2021 +0100
a8979a9
DOC: server: Add missing params in comment of the server state line parsing
by Christopher Faulet
· Thu Feb 04 10:12:05 2021 +0100
1c921cd
BUG/MINOR: check: consitent way to set agentaddr
by William Dauchy
· Wed Feb 03 22:30:08 2021 +0100
fe03e7d
MEDIUM: server: adding support for check_port in server state
by William Dauchy
· Wed Feb 03 22:30:06 2021 +0100
69f118d
MEDIUM: check: remove checkport checkaddr flag
by William Dauchy
· Wed Feb 03 22:30:07 2021 +0100
99497d7
MINOR: server: Don't set the check port during the update from a state file
by Christopher Faulet
· Thu Feb 04 10:17:15 2021 +0100
446db71
BUG/MINOR: cli: fix set server addr/port coherency with health checks
by William Dauchy
· Wed Feb 03 22:30:05 2021 +0100
bb470aa
MINOR: ssl: Remove client_crt member of the server's ssl context
by Remi Tricot-Le Breton
· Mon Jan 25 17:19:45 2021 +0100
18c68df
CLEANUP: srv: fix comment for pool-max-conn
by Amaury Denoyelle
· Tue Jan 26 14:35:24 2021 +0100
e3bdc81
MINOR: server: Forbid server definitions in frontend sections
by Christopher Faulet
· Wed Jan 13 13:14:13 2021 +0100
2aa4b3a
BUILD: SSL: guard TLS13 ciphersuites with HAVE_SSL_CTX_SET_CIPHERSUITES
by Ilya Shipitsin
· Thu Jan 07 11:55:45 2021 +0500
10d5c31
BUG/MINOR: srv: do not cleanup idle conns if pool max is null
by Amaury Denoyelle
· Wed Jan 06 14:28:51 2021 +0100
e3c4192
BUG/MINOR: srv: do not init address if backend is disabled
by Amaury Denoyelle
· Wed Jan 06 14:28:50 2021 +0100
24da7e1
BUG/MEDIUM: server: srv_set_addr_desc() crashes when a server has no address
by Thayne McCombs
· Tue Jan 05 23:10:09 2021 -0700
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
f46c10c
MINOR: server: Add QUIC definitions to servers.
by Frédéric Lécaille
· Mon Nov 23 14:29:28 2020 +0100
f38a018
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Mon Dec 21 01:16:17 2020 +0500
f637044
MEDIUM: cli/ssl: configure ssl on server at runtime
by William Dauchy
· Sat Nov 14 19:25:33 2020 +0100
7f8f6cb
BUG/MEDIUM: stats: prevent crash if counters not alloc with dummy one
by Amaury Denoyelle
· Tue Nov 10 14:24:31 2020 +0100
f5fe706
MINOR: server: remove idle lock in srv_cleanup_connections
by Willy Tarreau
· Fri Nov 06 12:07:31 2020 +0100
21b9ff5
BUG/MEDIUM: server: make it possible to kill last idle connections
by Willy Tarreau
· Thu Nov 05 09:12:20 2020 +0100
Next »