Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
49bf7beb146c1ad7a45bedee69a036a6133fc618
/
src
/
server.c
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
75bef00
MINOR: server: Copy configuration file and line for server templates
by Christopher Faulet
· Mon Nov 02 22:04:55 2020 +0100
ac1c60fd
BUG/MINOR: server: Set server without addr but with dns in RMAINT on startup
by Christopher Faulet
· Mon Oct 26 10:31:17 2020 +0100
e6ba791
BUG/MINOR: server: fix down_time report for stats
by Amaury Denoyelle
· Thu Oct 29 15:59:05 2020 +0100
fe2bf09
BUG/MINOR: server: fix srv downtime calcul on starting
by Amaury Denoyelle
· Thu Oct 29 15:59:04 2020 +0100
595e767
MINOR: server: read-lock the cookie during srv_set_dyncookie()
by Willy Tarreau
· Tue Oct 20 17:30:08 2020 +0200
ac66d6b
MINOR: proxy; replace the spinlock with an rwlock
by Willy Tarreau
· Tue Oct 20 17:24:27 2020 +0200
1e690bb
BUG/MEDIUM: server: support changing the slowstart value from state-file
by Willy Tarreau
· Thu Oct 22 11:30:59 2020 +0200
c3914d4
MEDIUM: proxy: replace proxy->state with proxy->disabled
by Willy Tarreau
· Thu Sep 24 08:39:22 2020 +0200
fbd0bc9
MINOR: dns/stats: integrate dns counters in stats
by Amaury Denoyelle
· Mon Oct 05 11:49:46 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
a93e5c7
MINOR: tools: make str2sa_range() optionally return the fd
by Willy Tarreau
· Tue Sep 15 14:01:16 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
9743f70
BUG/MINOR: server: report correct error message for invalid port on "socks4"
by Willy Tarreau
· Tue Sep 15 11:25:54 2020 +0200
b0b7607
MINOR: server: Improve log message sent when server address is updated
by Christopher Faulet
· Tue Sep 08 10:38:40 2020 +0200
d6c6b5f
BUG/MEDIUM: dns: Be sure to renew IP address for already known servers
by Christopher Faulet
· Tue Sep 08 10:27:24 2020 +0200
87138c3
BUG/MAJOR: dns: disabled servers through SRV records never recover
by Baptiste Assmann
· Tue Aug 04 10:57:21 2020 +0200
012261a
BUG/MAJOR: dns: fix null pointer dereference in snr_update_srv_status
by Jerome Magnin
· Tue Jul 28 13:38:22 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
2d067f9
BUG/MEDIUM: server: fix possibly uninitialized state file on close
by Willy Tarreau
· Thu Jul 16 06:40:27 2020 +0200
dc6e8a9
BUG/MEDIUM: server: resolve state file handle leak on reload
by Ilya Shipitsin
· Thu Jul 16 02:02:40 2020 +0500
de4db17
MINOR: lists: rename some MT_LIST operations to clarify them
by Willy Tarreau
· Fri Jul 10 08:10:29 2020 +0200
Next »