Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
b9082a93e5b8e5baea88062a0dfb1f6317251e7b
/
include
/
common
/
standard.h
4d653a6
REORG: include: move SWAP/MID_RANGE/MAX_RANGE from tools.h to standard.h
by Willy Tarreau
· Wed Jun 03 17:49:00 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
8d2b777
REORG: ebtree: move the include files from ebtree to include/import/
by Willy Tarreau
· Wed May 27 10:58:19 2020 +0200
5eb96cb
MINOR: standard: Add my_memspn and my_memcspn
by Christopher Faulet
· Wed Apr 15 10:23:01 2020 +0200
62ba9ba
BUG/MINOR: http: make url_decode() optionally convert '+' to SP
by Willy Tarreau
· Thu Apr 23 17:54:47 2020 +0200
09568fd
BUG/MINOR: tools: fix the i386 version of the div64_32 function
by Willy Tarreau
· Thu Apr 23 17:08:02 2020 +0200
bb86986
MINOR: init: report the haproxy version and executable path once on errors
by Willy Tarreau
· Thu Apr 16 10:52:41 2020 +0200
2e8ab6b
MINOR: use DISGUISE() everywhere we deliberately want to ignore a result
by Willy Tarreau
· Sat Mar 14 11:03:20 2020 +0100
77e3b4a
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Tue Mar 10 12:06:11 2020 +0500
d7dc67b
CLEANUP: remove unused code in 'my_ffsl/my_flsl' functions
by Miroslav Zagorac
· Sun Mar 08 16:32:20 2020 +0100
ee3bcdd
MINOR: tools: add a generic function to generate UUIDs
by Willy Tarreau
· Sun Mar 08 17:48:17 2020 +0100
52bf839
BUG/MEDIUM: random: implement a thread-safe and process-safe PRNG
by Willy Tarreau
· Sun Mar 08 00:42:37 2020 +0100
7a40909
MINOR: tools: add 64-bit rotate operators
by Willy Tarreau
· Sun Mar 08 00:41:00 2020 +0100
0fbf28a
Revert "BUG/MEDIUM: random: implement per-thread and per-process random sequences"
by Willy Tarreau
· Sat Mar 07 11:24:39 2020 +0100
1c306aa
BUG/MEDIUM: random: implement per-thread and per-process random sequences
by Willy Tarreau
· Fri Mar 06 19:04:55 2020 +0100
13faf16
MINOR: debug: improve backtrace() on aarch64 and possibly other systems
by Willy Tarreau
· Wed Mar 04 07:44:06 2020 +0100
eb8b1ca
MINOR: tools: add resolve_sym_name() to resolve function pointers
by Willy Tarreau
· Tue Mar 03 17:09:08 2020 +0100
762fb3e
MINOR: tools: add new function dump_addr_and_bytes()
by Willy Tarreau
· Tue Mar 03 15:57:10 2020 +0100
9080711
BUILD: general: always pass unsigned chars to is* functions
by Willy Tarreau
· Tue Feb 25 08:16:33 2020 +0100
a71667c
BUG/MINOR: tools: also accept '+' as a valid character in an identifier
by Willy Tarreau
· Mon Feb 17 06:34:11 2020 +0100
36f586b
MINOR: tools: add is_idchar() to tell if a char may belong to an identifier
by Willy Tarreau
· Fri Feb 14 18:25:17 2020 +0100
fb4ba91
MINOR: tools: add a generic struct "name_desc" for name-description pairs
by Willy Tarreau
· Thu Aug 29 09:32:21 2019 +0200
4d589e7
MINOR: tools: add a function varint_bytes() to report the size of a varint
by Willy Tarreau
· Fri Aug 23 19:02:26 2019 +0200
9eebd8a
REORG: trace: rename trace.c to calltrace.c and mention it's not thread-safe
by Willy Tarreau
· Thu Aug 08 16:53:40 2019 +0200
32c2455
MINOR: tools: add a DEFNULL() macro to use NULL for empty args
by Willy Tarreau
· Mon Aug 19 17:39:33 2019 +0200
a2c9911
MINOR: tools: add append_prefixed_str()
by Willy Tarreau
· Wed Aug 21 13:17:37 2019 +0200
9faebe3
MEDIUM: tools: improve time format error detection
by Willy Tarreau
· Fri Jun 07 19:00:37 2019 +0200
1bfd602
MINOR: logs: use the new bitmap functions instead of fd_sets for encoding maps
by Willy Tarreau
· Fri Jun 07 11:10:07 2019 +0200
7355b04
MINOR: tools: add new bitmap manipulation functions
by Willy Tarreau
· Fri Jun 07 10:42:43 2019 +0200
e3e2b72
REORG: compat: move some integer limit definitions from standard.h to compat.h
by Willy Tarreau
· Mon May 20 19:10:52 2019 +0200
3710105
MINOR: tools: provide a may_access() function and make dump_hex() use it
by Willy Tarreau
· Mon May 20 16:48:20 2019 +0200
9fc5dcb
MINOR: tools: add dump_hex()
by Willy Tarreau
· Mon May 20 16:13:40 2019 +0200
d5ec4bf
CLEANUP: standard: use proper const to addr_to_str() and port_to_str()
by Willy Tarreau
· Thu Apr 25 17:48:16 2019 +0200
9d22e56
MINOR: tools: add an unsetenv() implementation
by Willy Tarreau
· Fri Mar 29 18:49:09 2019 +0100
d87a67f
MINOR: tools: implement my_flsl()
by Willy Tarreau
· Tue Mar 05 12:04:55 2019 +0100
f324111
MINOR: tools: implement functions to look up the nth bit set in a mask
by Willy Tarreau
· Tue Feb 26 09:56:22 2019 +0100
3b71716
MINOR: standard: Add a function to parse uints (dotted notation).
by Frédéric Lécaille
· Mon Feb 25 15:04:22 2019 +0100
cafa56e
MINOR: tools: improve the popcount() operation
by Willy Tarreau
· Sat Feb 02 20:17:31 2019 +0100
59caa3b
MINOR: tools: increase the number of ITOA strings to 16
by Willy Tarreau
· Fri Dec 14 13:59:42 2018 +0100
32b8327
CLEANUP: Fix typos in the standard subsystem
by Joseph Herlant
· Thu Nov 15 11:58:28 2018 -0800
ce487aa
BUG/MEDIUM: tools: fix direction of my_ffsl()
by Willy Tarreau
· Mon Oct 29 16:09:57 2018 +0100
1ff7633
CLEANUP: tools: fix misleading comment above function LIM2A
by Ioannis Cherouvim
· Wed Oct 24 10:05:19 2018 +0300
98d334b
MINOR: tools: add a new function atleast2() to test masks for more than 1 bit
by Willy Tarreau
· Mon Oct 15 09:33:41 2018 +0200
27346b0
OPTIM: tools: optimize my_ffsl() for x86_64
by Willy Tarreau
· Wed Oct 10 19:05:56 2018 +0200
4c0fcc2
BUG/MINOR: tools: fix set_net_port() / set_host_port() on IPv4
by Willy Tarreau
· Thu Sep 20 10:48:35 2018 +0200
2fe7dd0
MEDIUM: protocol: sockpair protocol
by William Lallemand
· Tue Sep 11 16:51:29 2018 +0200
ab813a4
REORG: http: move some header value processing functions to http.c
by Willy Tarreau
· Mon Sep 10 18:41:28 2018 +0200
f16cb41
MINOR: tools: make date2str_log() take some consts
by Willy Tarreau
· Tue Sep 04 19:08:48 2018 +0200
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· Fri Jul 13 11:56:34 2018 +0200
5e64286
CLEANUP: standard: Fix typo in IPv6 mask example
by Tim Duesterhus
· Tue Feb 20 17:02:18 2018 +0100
4718517
MINOR: standard: Add str2mask6 function
by Tim Duesterhus
· Thu Jan 25 16:24:49 2018 +0100
ff81318
MINOR: standard: Add my_ffsl function to get the position of the bit set to one
by Christopher Faulet
· Wed Nov 22 15:00:13 2017 +0100
9c1e15d
MINOR: tools: emphasize the node being worked on in the tree dump
by Willy Tarreau
· Wed Nov 15 18:51:29 2017 +0100
ed3cda0
MINOR: tools: add a function to dump a scope-aware tree to a file
by Willy Tarreau
· Wed Nov 15 15:04:05 2017 +0100
99bca65
BUG/MEDIUM: standard: itao_str/idx and quote_str/idx must be thread-local
by Christopher Faulet
· Tue Nov 14 16:47:26 2017 +0100
aa39860
MINOR: tools: don't use unlikely() in hex2i()
by Willy Tarreau
· Fri Nov 10 11:19:54 2017 +0100
5222d8e
BUG/MINOR: stdarg.h inclusion
by David Carlier
· Fri Nov 03 12:00:26 2017 +0000
93a518f
MINOR: standard: Add memvprintf function
by Christopher Faulet
· Tue Oct 24 11:25:33 2017 +0200
1296382
CONTRIB: trace: add the possibility to place trace calls in the code
by Willy Tarreau
· Tue Oct 24 10:54:08 2017 +0200
dea7c5c
BUG/MINOR: tools: fix my_htonll() on x86_64
by Willy Tarreau
· Wed Oct 18 11:39:33 2017 +0200
36eb3a3
MINOR: tools: make my_htonll() more efficient on x86_64
by Willy Tarreau
· Wed Sep 20 08:18:49 2017 +0200
cb1949b
MINOR: tools: add a portable timegm() alternative
by Willy Tarreau
· Wed Jul 19 19:05:29 2017 +0200
ed936c5
MINOR: tools: make debug_hexdump() take a string prefix
by Willy Tarreau
· Thu Apr 27 18:03:20 2017 +0200
9faef1e
MINOR: tools: make debug_hexdump() use a const char for the string
by Willy Tarreau
· Thu Apr 27 17:54:58 2017 +0200
577d5ac
CLEANUP: str2mask return code comment: non-zero -> zero.
by Jarno Huuskonen
· Sun May 21 17:32:21 2017 +0300
6ab2bae
REORG: spoe: move spoe_encode_varint / spoe_decode_varint from spoe to common
by Thierry FOURNIER
· Wed Apr 19 11:49:44 2017 +0200
b82f742
MINOR: server: Add 'server-template' new keyword supported in backend sections.
by Frédéric Lécaille
· Thu Apr 13 18:24:23 2017 +0200
48ef4c9
MINOR: tools: make str2sa_range() return the port in a separate argument
by Willy Tarreau
· Fri Jan 06 18:32:38 2017 +0100
0ebb511
MINOR: tools: add a generic hexdump function for debugging
by Willy Tarreau
· Mon Dec 05 00:10:57 2016 +0100
97c2ae1
REORG: cli: move dump_text(), dump_text_line(), and dump_binary() to standard.c
by Willy Tarreau
· Tue Nov 22 18:00:20 2016 +0100
dcbc5c5
MINOR: show Built with PCRE version
by Lukas Tribus
· Mon Sep 12 21:42:07 2016 +0000
08396c8
MINOR: standard.c: ipcpy() function to copy an IP address from a struct sockaddr_storage into an other one
by Baptiste Assmann
· Sun Jan 31 00:27:17 2016 +0100
08b24cf
MINOR: standard.c: ipcmp() function to compare 2 IP addresses stored in 2 struct sockaddr_storage
by Baptiste Assmann
· Sat Jan 23 23:39:12 2016 +0100
16e0156
MINOR: tcp: add dst_is_local and src_is_local
by Willy Tarreau
· Tue Aug 09 16:46:18 2016 +0200
1a5d060
MINOR: standard: add function "escape_string"
by Dragan Dosen
· Fri Jul 22 16:00:31 2016 +0200
eec1d38
BUG/MEDIUM: dns: fix alignment issues in the DNS response parser
by Willy Tarreau
· Wed Jul 13 11:59:39 2016 +0200
2eae3a0
MINOR: new function my_realloc2 = realloc + free upon failure
by Hubert Verstraete
· Tue Jun 28 22:41:00 2016 +0200
5f6e905
BUILD: fix build on Solaris 11
by Willy Tarreau
· Fri May 20 06:29:59 2016 +0200
dc88785
MINOR: add list_append_word function
by Maxime de Roucy
· Fri May 13 23:52:54 2016 +0200
e2e5bde
BUG/MINOR: log: Don't use strftime() which can clobber timezone if chrooted
by Benoit GARNIER
· Sun Mar 27 03:04:16 2016 +0200
b413c2a
BUG/MINOR: log: GMT offset not updated when entering/leaving DST
by Benoit GARNIER
· Sun Mar 27 11:08:03 2016 +0200
70473a5
MINOR: common: mask conversion
by Thierry Fournier
· Wed Feb 17 17:12:14 2016 +0100
0edd109
MINOR: standard: add function "escape_chunk"
by Dragan Dosen
· Fri Feb 12 13:23:02 2016 +0100
9312794
MINOR: standard: add RFC HTTP date parser
by Thierry Fournier
· Wed Jan 20 18:49:45 2016 +0100
898529b
MEDIUM: tools: add csv_enc_append() to preserve the original chunk
by Willy Tarreau
· Wed Jan 06 18:07:04 2016 +0100
ffaf30b
BUILD: Fix the build on OSX (htonll/ntohll)
by Joseph Lynch
· Tue Oct 06 19:43:18 2015 -0700
7fe3be7
MINOR: standard: avoid DNS resolution from the function str2sa_range()
by Thierry FOURNIER
· Sat Sep 26 20:03:36 2015 +0200
72b8c1f
MEDIUM: tools: make str2sa_range() optionally return the FQDN
by Willy Tarreau
· Tue Sep 08 15:50:19 2015 +0200
5b4dd68
MINOR: standard: provide htonll() and ntohll()
by Willy Tarreau
· Tue Jul 21 23:47:18 2015 +0200
763a5d8
MINOR: standard: add 64 bits conversion functions
by Thierry FOURNIER
· Mon Jul 06 23:09:52 2015 +0200
e6c3941
BUILD/MINOR: tools: rename popcount to my_popcountl
by David Carlier
· Thu Jul 02 07:00:17 2015 +0000
1480bd8
MINOR: standard: add function that converts signed int to a string
by Thierry FOURNIER
· Sat Jun 06 19:14:59 2015 +0200
ddea626
MINOR: common: escape CSV strings
by Thierry FOURNIER
· Thu May 28 16:00:28 2015 +0200
e6e49cf
MINOR: tools: provide an rdtsc() function for time comparisons
by Willy Tarreau
· Wed Apr 29 17:13:35 2015 +0200
58639a0
MINOR: global: export function and permits to not resolve DNS names
by Thierry FOURNIER
· Tue Nov 25 12:02:25 2014 +0100
3ca1a88
MINOR: tools: add new round_2dig() function to round integers
by Willy Tarreau
· Thu Jan 15 18:43:49 2015 +0100
317e1c4
MINOR: sample: add "json" converter
by Thierry FOURNIER
· Tue Aug 12 10:20:47 2014 +0200
588297f
MINOR: tools: add new functions to quote-encode strings
by Willy Tarreau
· Mon Jun 16 15:16:40 2014 +0200
75ab8bd
MEDIUM: Add port_to_str helper
by Simon Horman
· Mon Jun 16 09:39:41 2014 +0900
18ca2d4
MINOR: tools: split is_addr() and is_inet_addr()
by Willy Tarreau
· Fri May 09 22:40:55 2014 +0200
Next »