Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
0fc136ce5b038772b6b5bc9bb6b0a5dfdc40aada
/
src
/
server.c
0fc136c
REORG: server: use parsing ctx for server parsing
by Amaury Denoyelle
· Fri May 28 11:00:18 2021 +0200
c008a63
CLEANUP: server: fix cosmetic of error message on sni parsing
by Amaury Denoyelle
· Fri May 28 11:01:22 2021 +0200
f1800e6
BUG/MINOR: server: Missing calloc return value check in srv_parse_source
by Remi Tricot-Le Breton
· Wed May 12 09:44:06 2021 +0200
79a88ba
BUG/MAJOR: server: prevent deadlock when using 'set maxconn server'
by Amaury Denoyelle
· Mon May 17 10:47:18 2021 +0200
b00a8e3
BUILD: server: include missing proxy.h in server.c
by Willy Tarreau
· Sat May 08 20:18:59 2021 +0200
ba6300e
BUILD: server: include tools.h from server.c
by Willy Tarreau
· Sat May 08 14:09:40 2021 +0200
24abb0c
BUG/MINOR: server: do not report diag for peer servers with null weight
by Amaury Denoyelle
· Fri May 07 15:13:51 2021 +0200
b205bfd
CLEANUP: cli/tree-wide: properly re-align the CLI commands' help messages
by Willy Tarreau
· Fri May 07 11:38:37 2021 +0200
3109ccf
MINOR: srv: close all idle connections on shutdown
by Amaury Denoyelle
· Thu Apr 29 17:30:05 2021 +0200
eafd701
MINOR: server: fix doc/trace on lb algo for dynamic server creation
by Amaury Denoyelle
· Thu Apr 29 14:59:42 2021 +0200
d6b4b6d
BUG/MINOR: server: fix potential null gcc error in delete server
by Amaury Denoyelle
· Wed Apr 21 11:50:26 2021 +0200
e558043
MINOR: server: implement delete server cli command
by Amaury Denoyelle
· Thu Apr 15 14:41:20 2021 +0200
d38e7fa
MINOR: server: add log on dynamic server creation
by Amaury Denoyelle
· Tue Apr 20 18:35:19 2021 +0200
cece918
BUG/MEDIUM: server: ensure thread-safety of server runtime creation
by Amaury Denoyelle
· Tue Apr 20 17:09:08 2021 +0200
fb24794
BUG/MINOR: server: free srv.lb_nodes in free_server
by Amaury Denoyelle
· Tue Apr 20 16:48:22 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
dcb121f
BUG/MINOR: server: make srv_alloc_lb() allocate lb_nodes for consistent hash
by Willy Tarreau
· Tue Apr 20 11:37:45 2021 +0200
14015b8
MINOR: server: move idle_conn_task to read_mostly
by Willy Tarreau
· Sat Apr 10 17:33:15 2021 +0200
da0e7f6
MINOR: server: diag for 0 weight server
by Amaury Denoyelle
· Tue Mar 30 10:26:27 2021 +0200
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
Next »