Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
f0de8cacc4777b23223e412a53d0849b358a52e0
/
src
/
tools.c
40725a4
MINOR: listener: also support "quic+" as an address prefix
by Willy Tarreau
· Mon Jan 16 13:55:27 2023 +0100
21e611d
MINOR: tools: add port for ipcmp as optional criteria
by Amaury Denoyelle
· Thu Dec 01 17:46:45 2022 +0100
08093cc
CLEANUP: tools: do not needlessly include xxhash nor cli from tools.h
by Willy Tarreau
· Thu Nov 24 08:09:12 2022 +0100
e3177af
CLEANUP: tools: extra check in utoa_pad
by Aurelien DARRAGON
· Tue Nov 22 11:42:07 2022 +0100
7de8de0
BUILD: tools: use __fallthrough in url_decode()
by Willy Tarreau
· Mon Nov 14 07:20:09 2022 +0100
94ab139
BUG/MEDIUM: config: count line arguments without dereferencing the output
by Willy Tarreau
· Mon Oct 03 08:27:55 2022 +0200
8a6767d
BUG/MINOR: config: don't count trailing spaces as empty arg (v2)
by Erwan Le Goas
· Fri Sep 23 15:06:34 2022 +0200
015bbc2
MINOR: tools: Impprove hash_ipanon to not hash FD-based addresses
by Christopher Faulet
· Thu Sep 29 11:53:07 2022 +0200
7e50e4b
MINOR: tools: Impprove hash_ipanon to support dgram sockets and port offsets
by Christopher Faulet
· Thu Sep 29 11:46:34 2022 +0200
5eef158
MINOR: tools: modify hash_ipanon in order to use it in cli
by Erwan Le Goas
· Thu Sep 29 10:25:31 2022 +0200
c5daf28
Revert "BUG/MINOR: config: don't count trailing spaces as empty arg"
by Christopher Faulet
· Wed Sep 28 18:22:23 2022 +0200
5529424
BUG/MINOR: config: don't count trailing spaces as empty arg
by Erwan Le Goas
· Fri Sep 23 15:06:34 2022 +0200
d2605cf
BUG/MINOR: anon: memory illegal accesses in tools.c with hash_anon and hash_ipanon
by Erwan Le Goas
· Wed Sep 21 16:24:23 2022 +0200
ae1e14d
CLEANUP: tools: removing escape_chunk() function
by Aurelien DARRAGON
· Tue Sep 20 14:41:38 2022 +0200
c5bff8e
BUG/MINOR: log: improper behavior when escaping log data
by Aurelien DARRAGON
· Tue Sep 20 14:33:18 2022 +0200
9c76637
MINOR: anon: add new macros and functions to anonymize contents
by Erwan Le Goas
· Wed Sep 14 17:40:24 2022 +0200
0dc9e6d
DEBUG: tools: provide a tree dump function for ebmbtrees as well
by Willy Tarreau
· Mon Aug 01 11:55:57 2022 +0200
5b3cd95
BUG/MEDIUM: tools: avoid calling dlsym() in static builds (try 2)
by Willy Tarreau
· Mon Jul 18 13:58:17 2022 +0200
288dc1d
BUG/MEDIUM: tools: avoid calling dlsym() in static builds
by Willy Tarreau
· Sat Jul 16 13:49:34 2022 +0200
c7a8a3c
MINOR: intops: add a function to return a valid bit position from a mask
by Willy Tarreau
· Tue Jun 21 20:19:54 2022 +0200
177aed5
MEDIUM: debug: detect redefinition of symbols upon dlopen()
by Willy Tarreau
· Sun Jun 19 16:49:51 2022 +0200
40dde2d
MEDIUM: debug: add a tainted flag when a shared library is loaded
by Willy Tarreau
· Sun Jun 19 16:41:59 2022 +0200
cb086c6
REORG: stconn: rename conn_stream.{c,h} to stconn.{c,h}
by Willy Tarreau
· Fri May 27 09:47:12 2022 +0200
5edca2f
REORG: rename cs_utils.h to sc_strm.h
by Willy Tarreau
· Fri May 27 09:25:10 2022 +0200
462b989
CLEANUP: stconn: rename cs_conn_*() to sc_conn_*()
by Willy Tarreau
· Wed May 18 18:06:53 2022 +0200
22535a5
CLEANUP: tools: Crash if inet_ntop fails due to ENOSPC in sa2str
by Tim Duesterhus
· Mon May 23 09:30:49 2022 +0200
162f087
BUG/MEDIUM: tools: Fix `inet_ntop` usage in sa2str
by Tim Duesterhus
· Sun May 22 13:06:27 2022 +0200
147eeb2
CLEANUP: tools: Clean up non-QUIC error message handling in str2sa_range()
by Tim Duesterhus
· Sun May 22 12:40:58 2022 +0200
3d7b468
CLEANUP: config: provide cleare hints about unsupported QUIC addresses
by Willy Tarreau
· Fri May 20 17:32:35 2022 +0200
2b049b8
CLEANUP: config: improve address parser error report for unmatched protocols
by Willy Tarreau
· Fri May 20 17:28:30 2022 +0200
7198c70
MINOR: tools: add get_exec_path implementation for solaris based systems.
by David Carlier
· Sat May 14 17:15:49 2022 +0100
8d31ab0
MINOR: tools: improve error message accuracy in str2sa_range
by Willy Tarreau
· Mon May 09 16:18:26 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
5e29b76
MEDIUM: stream-int/conn-stream: Move I/O functions to conn-stream
by Christopher Faulet
· Mon Apr 04 08:58:34 2022 +0200
4a7764a
MINOR: stream-int/conn-stream: Move si_cs_io_cb() in the conn-stream scope
by Christopher Faulet
· Fri Apr 01 16:58:52 2022 +0200
3ff476e
MINOR: tools: add strordered() to check whether strings are ordered
by Willy Tarreau
· Wed Mar 30 10:02:56 2022 +0200
3d7a918
BUG/MINOR: tools: url2sa reads too far when no port nor path
by William Lallemand
· Fri Mar 25 17:37:51 2022 +0100
b938b77
BUG/MINOR: tools: fix url2sa return value with IPv4
by William Lallemand
· Thu Mar 24 21:59:03 2022 +0100
43a5685
BUILD: fix kFreeBSD build.
by David Carlier
· Fri Mar 04 15:50:48 2022 +0000
8a91374
BUG/MINOR: tools: url2sa reads ipv4 too far
by William Lallemand
· Fri Feb 18 16:13:12 2022 +0100
f3d5c4b
BUILD: tools: fix warning about incorrect cast with dladdr1()
by Willy Tarreau
· Fri Jan 28 09:42:29 2022 +0100
ae5c42f
BUILD/MINOR: tools: solaris build fix on dladdr.
by David Carlier
· Fri Dec 31 08:15:29 2021 +0000
6ab7b21
MINOR: debug: add ability to dump loaded shared libraries
by Willy Tarreau
· Tue Dec 28 09:57:10 2021 +0100
ec347b1
MINOR: config: support default values for environment variables
by Willy Tarreau
· Thu Nov 18 17:42:50 2021 +0100
e3b4518
MINOR: protocols: make use of the protocol type to select the protocol
by Willy Tarreau
· Wed Oct 27 17:28:55 2021 +0200
b01179a
MINOR: ssl: Add ssllib_name_startswith precondition
by Remi Tricot-Le Breton
· Mon Oct 11 15:34:12 2021 +0200
4f06526
CLEANUP: Remove unreachable `break` from parse_time_err()
by Tim Duesterhus
· Thu Sep 16 17:38:27 2021 +0200
7b2108c
BUILD: tools: properly guard __GLIBC__ with defined()
by Willy Tarreau
· Mon Aug 30 10:15:35 2021 +0200
18795d4
BUG/MINOR: tools: Fix loop condition in dump_text()
by Tim Duesterhus
· Sun Aug 29 00:58:22 2021 +0200
3aeb3f9
MINOR: cfgcond: implements openssl_version_atleast and openssl_version_before
by William Lallemand
· Sat Aug 21 23:59:56 2021 +0200
c4e5232
MINOR: tools: add FreeBSD support to get_exec_path()
by devnexen@gmail.com
· Tue Aug 17 12:55:49 2021 +0100
bd2cced
BUILD: tools: get the absolute path of the current binary on NetBSD.
by David Carlier
· Tue Aug 17 08:44:25 2021 +0100
29c6cd7
CLEANUP: tools: Make errptr const in `parse_line()`
by Maximilian Mader
· Sun Jun 06 00:50:21 2021 +0200
b2475a1
MINOR: tools/rnd: compute the result outside of the CAS loop
by Willy Tarreau
· Sun May 09 10:26:14 2021 +0200
ae03d26
MINOR: tools: add a float-to-ascii conversion function
by Willy Tarreau
· Sat May 08 07:35:00 2021 +0200
56d1d8d
MINOR: tools: implement trimming of floating point numbers
by Willy Tarreau
· Sat May 08 10:28:53 2021 +0200
a46f1af
MINOR: config: support some pseudo-variables for file/line/section
by Willy Tarreau
· Thu May 06 10:25:11 2021 +0200
6419239
MINOR: tools: add functions to retrieve the address of a symbol
by Willy Tarreau
· Wed May 05 09:06:21 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
2675490
BUG/MEDIUM: log: fix config parse error logging on stdout/stderr or any raw fd
by Emeric Brun
· Wed Apr 07 14:26:44 2021 +0200
ce325c4
MINOR: server/bind: add support of new prefixes for addresses.
by Emeric Brun
· Fri Apr 02 17:05:09 2021 +0200
a683805
BUG/MINOR: tools: fix parsing "us" unit for timers
by Thayne McCombs
· Fri Apr 02 14:12:43 2021 -0600
12e1027
MINOR: tools: make url2ipv4 return the exact number of bytes parsed
by Willy Tarreau
· Thu Mar 25 11:34:40 2021 +0100
f23b1bc
BUILD: tools: fix build error with new PA_O_DEFAULT_DGRAM
by Willy Tarreau
· Tue Mar 23 18:36:37 2021 +0100
69ba351
MINOR: tools: introduce new option PA_O_DEFAULT_DGRAM on str2sa_range.
by Emeric Brun
· Mon Mar 22 17:17:34 2021 +0100
714c4c1
MINOR: tools: do not sum squares of differences for word fingerprints
by Willy Tarreau
· Mon Mar 15 09:44:53 2021 +0100
9294e88
MINOR: tools: improve word fingerprinting by counting presence
by Willy Tarreau
· Mon Mar 15 09:34:27 2021 +0100
e33c4b3
MINOR: tools: add the ability to update a word fingerprint
by Willy Tarreau
· Fri Mar 12 18:59:31 2021 +0100
ba2c445
MINOR: tools: add simple word fingerprinting to find similar-looking words
by Willy Tarreau
· Fri Mar 12 09:01:52 2021 +0100
06e69b5
REORG: tools: promote the debug PRNG to more general use as a statistical one
by Willy Tarreau
· Tue Mar 02 14:01:35 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
9553de7
MINOR: tools: Add function to compare an address to a network address
by Christopher Faulet
· Fri Feb 26 09:12:50 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
4b52412
BUG/MINOR: tools: Fix a memory leak on error path in parse_dotted_uints()
by Christopher Faulet
· Thu Feb 11 10:42:41 2021 +0100
060ffc8
CLEANUP: tools: typo in `strl2irc` mention
by William Dauchy
· Sat Feb 06 20:47:51 2021 +0100
d597ec2
MINOR: listener: export manage_global_listener_queue()
by Willy Tarreau
· Fri Jan 29 14:29:06 2021 +0100
02922e1
MINOR: session: export session_expire_embryonic()
by Willy Tarreau
· Fri Jan 29 12:27:57 2021 +0100
fb5401f
MINOR: listener: export accept_queue_process
by Willy Tarreau
· Fri Jan 29 12:25:23 2021 +0100
4deeb10
MINOR: tools: add print_time_short() to print a condensed duration value
by Willy Tarreau
· Fri Jan 29 10:47:52 2021 +0100
45fd103
CLEANUP: tools: make resolve_sym_name() take a const pointer
by Willy Tarreau
· Wed Jan 20 14:37:59 2021 +0100
92149f9
MEDIUM: stick-tables: Add srvkey option to stick-table
by Thayne McCombs
· Fri Nov 20 01:28:26 2020 -0700
10caf65
MINOR: tools: Add support for QUIC addresses parsing.
by Frédéric Lécaille
· Mon Nov 23 11:36:57 2020 +0100
586f71b
REORG: connection: move the socket iocb (conn_fd_handler) to sock.c
by Willy Tarreau
· Fri Dec 11 15:54:36 2020 +0100
82635a0
BUG/MINOR: tools: Reject size format not starting by a digit
by Christopher Faulet
· Fri Dec 11 09:30:45 2020 +0100
c20ad0d
BUG/MINOR: tools: make parse_time_err() more strict on the timer validity
by Christopher Faulet
· Fri Dec 11 09:23:07 2020 +0100
bdec3ba
BUILD: ssl: use SSL_MODE_ASYNC macro instead of OPENSSL_VERSION
by Ilya Shipitsin
· Sat Nov 14 01:56:34 2020 +0500
fe2cc41
BUILD: tools: fix minor build issue on isspace()
by Willy Tarreau
· Thu Oct 01 18:04:40 2020 +0200
fa41cb6
MINOR: tools: support for word expansion of environment in parse_line
by Amaury Denoyelle
· Thu Oct 01 14:32:35 2020 +0200
af9609b
MINOR: tools: drop listener detection hack from str2sa_range()
by Willy Tarreau
· Wed Sep 16 22:04:46 2020 +0200
b2ffc99
MEDIUM: tools: make str2sa_range() use protocol_lookup()
by Willy Tarreau
· Wed Sep 16 21:37:31 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
62a976c
MINOR: tools: remove the central test for "udp" in str2sa_range()
by Willy Tarreau
· Wed Sep 16 15:20:59 2020 +0200
3baec24
MEDIUM: tools: make str2sa_range() only report AF_CUST_UDP on listeners
by Willy Tarreau
· Wed Sep 16 20:35:12 2020 +0200
e835bd8
MINOR: tools: start to distinguish stream and dgram in str2sa_range()
by Willy Tarreau
· Wed Sep 16 11:35:47 2020 +0200
a215be2
MEDIUM: tools: make str2sa_range() check for the sockpair's FD usability
by Willy Tarreau
· Wed Sep 16 10:14:16 2020 +0200
6edc722
MEDIUM: tools: make str2sa_range() resolve pre-bound listeners
by Willy Tarreau
· Tue Sep 15 17:41:56 2020 +0200
a93e5c7
MINOR: tools: make str2sa_range() optionally return the fd
by Willy Tarreau
· Tue Sep 15 14:01:16 2020 +0200
7f96a84
MEDIUM: tools: make str2sa_range() validate callers' port specifications
by Willy Tarreau
· Tue Sep 15 11:12:44 2020 +0200
Next »