Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
6e805dab2add31c7a60f2f4be933f8e6903151fe
/
src
/
resolvers.c
693b23b
MEDIUM: tree-wide: Use unsafe conn-stream API when it is relevant
by Christopher Faulet
· Mon Feb 28 09:09:05 2022 +0100
86e1c33
MEDIUM: applet: Set the conn-stream as appctx owner instead of the stream-int
by Christopher Faulet
· Mon Dec 20 17:09:39 2021 +0100
13a35e5
MAJOR: conn_stream/stream-int: move the appctx to the conn-stream
by Christopher Faulet
· Mon Dec 20 15:34:16 2021 +0100
0a82cf4
BUG/MEDIUM: resolvers: Really ignore trailing dot in domain names
by Christopher Faulet
· Fri Jan 28 17:47:57 2022 +0100
af93d2f
BUG/MINOR: resolvers: Don't overwrite the error for invalid query domain name
by Christopher Faulet
· Thu Dec 02 10:05:02 2021 +0100
c1699f8
MEDIUM: resolvers: No longer store query items in a list into the response
by Christopher Faulet
· Wed Dec 01 15:07:26 2021 +0100
80b2e34
BUG/MEDIUM: resolvers: Detach query item on response error
by Christopher Faulet
· Wed Dec 01 10:18:08 2021 +0100
f8642ee
MEDIUM: resolvers: rename dns extra counters to resolvers extra counters
by Emeric Brun
· Fri Oct 29 17:59:18 2021 +0200
d174f0e
MINOR: resolvers/dns: split dns and resolver counters in dns_counter struct
by Emeric Brun
· Fri Oct 29 17:30:41 2021 +0200
0161d32
BUG/MINOR: resolvers: throw log message if trash not large enough for query
by Emeric Brun
· Fri Oct 29 16:44:49 2021 +0200
c37caab
BUG/MINOR: resolvers: fix sent messages were counted twice
by Emeric Brun
· Fri Oct 29 16:28:33 2021 +0200
9ed1a06
BUG/MEDIUM: resolvers: Track api calls with a counter to free resolutions
by Christopher Faulet
· Tue Nov 02 16:25:05 2021 +0100
bce6db6
BUG/MEDIUM: resolvers: Don't recursively perform requester unlink
by Christopher Faulet
· Fri Oct 29 10:38:15 2021 +0200
14e7f29
MINOR: protocols: replace protocol_by_family() with protocol_lookup()
by Willy Tarreau
· Wed Oct 27 17:41:07 2021 +0200
dbb0bb5
CLEANUP: resolvers: get rid of single-iteration loop in resolv_get_ip_from_response()
by Willy Tarreau
· Fri Oct 22 08:34:14 2021 +0200
dcb696c
MEDIUM: resolvers: hash the records before inserting them into the tree
by Willy Tarreau
· Thu Oct 21 08:18:01 2021 +0200
7893ae1
MEDIUM: resolvers: replace the answer_list with a (flat) tree
by Willy Tarreau
· Thu Oct 21 07:39:57 2021 +0200
6878f80
MEDIUM: resolvers: remove the last occurrences of the "safe" argument
by Willy Tarreau
· Wed Oct 20 14:07:31 2021 +0200
f766ec6
MEDIUM: resolvers: use a kill list to preserve the list consistency
by Willy Tarreau
· Mon Oct 18 16:46:38 2021 +0200
aae7320
CLEANUP: resolvers: replace all LIST_DELETE with LIST_DEL_INIT
by Willy Tarreau
· Tue Oct 19 22:01:36 2021 +0200
239675e
CLEANUP: resolvers: simplify resolv_link_resolution() regarding requesters
by Willy Tarreau
· Tue Oct 19 11:59:25 2021 +0200
48664c0
CLEANUP: always initialize the answer_list
by Willy Tarreau
· Tue Oct 19 11:29:21 2021 +0200
25e0109
BUG/MEDIUM: resolvers: always check a valid item in query_list
by Willy Tarreau
· Tue Oct 19 11:17:33 2021 +0200
10c1a8c
BUILD: resolvers: avoid a possible warning on null-deref
by Willy Tarreau
· Wed Oct 20 17:29:28 2021 +0200
2acc160
CLEANUP: resolvers: do not export resolv_purge_resolution_answer_records()
by Willy Tarreau
· Tue Oct 19 11:16:11 2021 +0200
2a67aa0
BUG/MAJOR: resolvers: add other missing references during resolution removal
by Willy Tarreau
· Mon Oct 18 16:49:14 2021 +0200
75cc653
MEDIUM: resolvers: replace bogus resolv_hostname_cmp() with memcmp()
by Willy Tarreau
· Fri Oct 15 08:53:44 2021 +0200
814889c
MEDIUM: resolvers: lower-case labels when converting from/to DNS names
by Willy Tarreau
· Fri Oct 15 07:45:38 2021 +0200
7b232f1
BUG/MEDIUM: resolvers: fix truncated TLD consecutive to the API fix
by Willy Tarreau
· Fri Oct 15 08:09:25 2021 +0200
cc8fd4c
MINOR: resolvers: merge address and target into a union "data"
by Willy Tarreau
· Thu Oct 14 22:52:04 2021 +0200
b4ca019
BUG/MEDIUM: resolvers: use correct storage for the target address
by Willy Tarreau
· Thu Oct 14 22:30:38 2021 +0200
875ee70
MINOR: resolvers: fix the resolv_dn_label_to_str() API about trailing zero
by Willy Tarreau
· Thu Oct 14 08:05:25 2021 +0200
85c15e6
BUG/MINOR: resolvers: do not reject host names of length 255 in SRV records
by Willy Tarreau
· Thu Oct 14 08:00:38 2021 +0200
947ae12
BUG/MEDIUM: resolver: make sure to always use the correct hostname length
by Willy Tarreau
· Thu Oct 14 08:11:48 2021 +0200
bf9498a
MINOR: resolvers: fix the resolv_str_to_dn_label() API about trailing zero
by Willy Tarreau
· Thu Oct 14 07:49:49 2021 +0200
beeabf5
MINOR: task: provide 3 task_new_* wrappers to simplify the API
by Willy Tarreau
· Fri Oct 01 18:23:30 2021 +0200
dd56520
BUG/MINOR: resolvers: mark servers with name-resolution as non purgeable
by Amaury Denoyelle
· Thu Aug 26 15:35:59 2021 +0200
1f92339
BUG/MINOR: resolvers: Use a null-terminated string to lookup in servers tree
by Christopher Faulet
· Thu Jul 22 14:29:26 2021 +0200
d7bb234
BUG/MINOR: resolvers: Always attach server on matching record on resolution
by Christopher Faulet
· Thu Jun 24 15:16:48 2021 +0200
e886dd5
BUG/MINOR: resolvers: Use resolver's lock in resolv_srvrq_expire_task()
by Christopher Faulet
· Fri Jun 18 09:05:49 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
73001ab
MINOR: resolvers: Remove server from named_servers tree when removing a SRV item
by Christopher Faulet
· Tue Jun 15 16:14:37 2021 +0200
11c6c39
MINOR: resolvers: Clean server in a dedicated function when removing a SRV item
by Christopher Faulet
· Tue Jun 15 16:08:48 2021 +0200
72faef3
MEDIUM: global: remove dead code from nbproc/bind_proc removal
by Willy Tarreau
· Tue Jun 15 08:36:30 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
1112430
MINOR: errors: specify prefix "config" for parsing output
by Amaury Denoyelle
· Fri Jun 04 18:22:08 2021 +0200
ca14dd5
BUILD: resolvers: include tools.h
by Willy Tarreau
· Sat May 08 12:59:47 2021 +0200
e4a617c
MINOR: action: replace match_pfx by a keyword flags field
by Amaury Denoyelle
· Thu May 06 15:33:09 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
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
c8f3e45
MEDIUM: resolvers: add support of tcp address on nameserver line.
by Emeric Brun
· Wed Apr 07 16:04:54 2021 +0200
ce44482
REORG: global: move initcall register code in a dedicated file
by Amaury Denoyelle
· Thu Mar 25 15:09:38 2021 +0100
70490eb
CLEANUP: resolvers: use pool_zalloc() in resolv_link_resolution()
by Willy Tarreau
· Mon Mar 22 21:08:50 2021 +0100
30c0537
REORG: server: use flags for parse_server
by Amaury Denoyelle
· Mon Mar 08 16:36:46 2021 +0100
db31b44
CLEANUP: resolvers: Perform unsafe loop on requester list when possible
by Christopher Faulet
· Thu Mar 11 18:19:41 2021 +0100
e8674c7
MINOR: resolvers: Don't try to match immediatly renewed ADD items
by Christopher Faulet
· Fri Mar 12 16:42:45 2021 +0100
55c1c40
MINOR: resolvers: Use milliseconds for cached items in resolver responses
by Christopher Faulet
· Thu Mar 11 09:36:05 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
1dec5c7
MINOR: resolvers: Use a function to remove answers attached to a resolution
by Christopher Faulet
· Wed Mar 10 14:40:39 2021 +0100
3e0600f
BUG/MEDIUM: resolvers: Trigger a DNS resolution if an ADD item is obsolete
by Christopher Faulet
· Wed Mar 10 18:38:37 2021 +0100
6a8d11d
MINOR: resolvers: new function find_srvrq_answer_record()
by Baptiste Assmann
· Wed Mar 10 12:22:18 2021 +0100
77f8606
BUG/MEDIUM: resolvers: Fix the loop looking for an existing ADD item
by Christopher Faulet
· Wed Mar 10 15:19:57 2021 +0100
ab177ac
BUG/MEDIUM: resolvers: Don't set an address-less server as UP
by Christopher Faulet
· Wed Mar 10 15:34:52 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
5037c06
Revert "BUG/MINOR: resolvers: Only renew TTL for SRV records with an additional record"
by Christopher Faulet
· Wed Mar 10 15:54:14 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 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
69beaa9
REORG: server: Export and rename some functions updating server info
by Christopher Faulet
· Tue Feb 16 12:07:47 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
a331a1e
BUG/MINOR: resolvers: Only renew TTL for SRV records with an additional record
by Christopher Faulet
· Tue Feb 23 12:22:29 2021 +0100
9c246a4
BUG/MINOR: resolvers: Fix condition to release received ARs if not assigned
by Christopher Faulet
· Tue Feb 23 11:59:19 2021 +0100
56fc5d9
MEDIUM: resolvers: add supports of TCP nameservers in resolvers.
by Emeric Brun
· Fri Feb 12 20:05:45 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