Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
3bc6af417d10e0f5c46f2997be919e14c689ab9c
/
src
/
server.c
0ba54bb
BUG/MINOR: server/cli: Fix locking in function processing "set server" command
by Christopher Faulet
· Fri Jun 18 08:47:14 2021 +0200
dcac418
BUG/MEDIUM: resolvers: Add a task on servers to check SRV resolution status
by Christopher Faulet
· Tue Jun 15 16:17:17 2021 +0200
c7b391a
BUG/MEDIUM: server/cli: Fix ABBA deadlock when fqdn is set from the CLI
by Christopher Faulet
· Tue Jun 15 12:01:29 2021 +0200
a386e78
BUG/MINOR: server: Forbid to set fqdn on the CLI if SRV resolution is enabled
by Christopher Faulet
· Tue Jun 15 11:37:40 2021 +0200
8a8f270
CLEANUP: server: a separate function for initializing the per_thr field
by Miroslav Zagorac
· Tue Jun 15 15:33:20 2021 +0200
8ff0434
BUG/MEDIUM: server: do not auto insert a dynamic server in px addr_node
by Amaury Denoyelle
· Tue Jun 08 15:19:51 2021 +0200
1613b4a
BUG/MINOR: server: do not keep an invalid dynamic server in px ids tree
by Amaury Denoyelle
· Tue Jun 08 17:00:20 2021 +0200
406aaef
BUG/MEDIUM: server: do not forget to generate the dynamic servers ids
by Amaury Denoyelle
· Wed Jun 09 09:58:47 2021 +0200
82d7f77
BUG/MEDIUM: server: clear dynamic srv on delete from proxy id/name trees
by Amaury Denoyelle
· Wed Jun 09 16:00:43 2021 +0200
31ddd76
BUG/MEDIUM: server: extend thread-isolate over much of CLI 'add server'
by Amaury Denoyelle
· Thu Jun 10 15:26:44 2021 +0200
caef19e
BUG/MAJOR: resolvers: segfault using server template without SRV RECORDs
by Emeric Brun
· Mon Jun 14 10:02:18 2021 +0200
3406766
MEDIUM: resolvers: add a ref between servers and srv request or used SRV record
by Emeric Brun
· Fri Jun 11 10:48:45 2021 +0200
bd78c91
MEDIUM: resolvers: add a ref on server to the used A/AAAA answer item
by Emeric Brun
· Fri Jun 11 10:08:05 2021 +0200
12ca658
BUG/MINOR: resolvers: answser item list was randomly purged or errors
by Emeric Brun
· Thu Jun 10 15:25:25 2021 +0200
efbf35c
BUG/MINOR: server: explicitly set "none" init-addr for dynamic servers
by Amaury Denoyelle
· Thu Jun 10 17:34:10 2021 +0200
5e560e8
MINOR: server: use ha_alert in server parsing functions
by Amaury Denoyelle
· Fri May 28 16:35:05 2021 +0200
9d0138a
MINOR: server: use parsing ctx for server init addr
by Amaury Denoyelle
· Fri May 28 11:01:52 2021 +0200
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
Next »