Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
eb51e163069ecd40b52f6123135a65a44911c418
/
src
/
standard.c
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
327298c
BUILD: fix build on Solaris 10/11
by David Carlier
· Sun Nov 20 10:42:38 2016 +0000
ceccdd7
MEDIUM: tools: make str2sa_range() return the FQDN even when not resolving
by Willy Tarreau
· Wed Nov 02 22:27:10 2016 +0100
dc3a9e8
CLEANUP: tools: make ipcpy() preserve the original port
by Willy Tarreau
· Fri Nov 04 18:47:01 2016 +0100
ecde7df
MEDIUM: tools: make str2ip2() preserve existing ports
by Willy Tarreau
· Wed Nov 02 22:37:03 2016 +0100
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
831962e
CLEANUP: fixed some usages of realloc leading to memory leak
by Hubert Verstraete
· Tue Jun 28 22:44:26 2016 +0200
dc88785
MINOR: add list_append_word function
by Maxime de Roucy
· Fri May 13 23:52:54 2016 +0200
3c2f2f2
CLEANUP: remove unneeded casts
by Vincent Bernat
· Sun Apr 03 13:48:42 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
93f91c3
BUG/MINOR: standard: Avoid free of non-allocated pointer
by Andreas Seltenreich
· Thu Mar 03 20:40:37 2016 +0100
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
b631c29
MINOR: tools: make csv_enc_append() always start at the first byte of the chunk
by Willy Tarreau
· Fri Jan 08 10:04:08 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
ff5d510
MINOR: config: allow IPv6 bracketed literals
by mildis
· Mon Oct 26 18:50:08 2015 +0100
eab7f39
BUG/MEDIUM: str2ip: make getaddrinfo() consider local address selection policy
by Dmitry Sivachenko
· Fri Oct 02 01:01:58 2015 +0200
7fe3be7
MINOR: standard: avoid DNS resolution from the function str2sa_range()
by Thierry FOURNIER
· Sat Sep 26 20:03:36 2015 +0200
9f69f46
BUG/MINOR: tools: make str2sa_range() report unresolvable addresses
by Willy Tarreau
· Tue Sep 08 16:01:25 2015 +0200
72b8c1f
MEDIUM: tools: make str2sa_range() optionally return the FQDN
by Willy Tarreau
· Tue Sep 08 15:50:19 2015 +0200
763a5d8
MINOR: standard: add 64 bits conversion functions
by Thierry FOURNIER
· Mon Jul 06 23:09:52 2015 +0200
1480bd8
MINOR: standard: add function that converts signed int to a string
by Thierry FOURNIER
· Sat Jun 06 19:14:59 2015 +0200
a68ca96
MAJOR: server: add DNS-based server name resolution
by Baptiste Assmann
· Tue Apr 14 01:15:08 2015 +0200
ddea626
MINOR: common: escape CSV strings
by Thierry FOURNIER
· Thu May 28 16:00:28 2015 +0200
9e7ec08
BUG/MINOR: utf8: remove compilator warning
by Thierry FOURNIER
· Thu Mar 12 19:32:38 2015 +0100
58639a0
MINOR: global: export function and permits to not resolve DNS names
by Thierry FOURNIER
· Tue Nov 25 12:02:25 2014 +0100
58048a2
BUG/MINOR: parse: check the validity of size string in a more strict way
by Godbach
· Wed Jan 28 17:36:16 2015 +0800
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
c874653
BUILD: don't use type "uint" which is not portable
by Willy Tarreau
· Wed May 28 23:05:07 2014 +0200
ccfccef
MEDIUM: unix: implement support for Linux abstract namespace sockets
by Willy Tarreau
· Sat May 10 01:49:15 2014 +0200
88afe03
BUG/MINOR: Fix name lookup ordering when compiled with USE_GETADDRINFO
by Nenad Merdanovic
· Mon Apr 14 15:56:58 2014 +0200
761b3d5
BUILD/MEDIUM: standard: get rid of sprintf()
by Willy Tarreau
· Mon Apr 14 14:53:06 2014 +0200
94ef3f3
BUILD/MEDIUM: standard: get rid of the last strcpy()
by Willy Tarreau
· Mon Apr 14 14:49:00 2014 +0200
9f95e40
MINOR: standard: Add ipv6 support in the function url2sa().
by Thierry FOURNIER
· Fri Mar 21 14:51:46 2014 +0100
fc7ac7b
MINOR: standard: Disable ip resolution during the runtime
by Thierry FOURNIER
· Tue Feb 11 15:23:04 2014 +0100
b050463
MINOR: standard: Add function for converting cidr to network mask.
by Thierry FOURNIER
· Sat Dec 14 15:39:02 2013 +0100
511e947
MEDIUM: acl/pattern: standardisation "of pat_parse_int()" and "pat_parse_dotted_ver()"
by Thierry FOURNIER
· Thu Jan 23 17:40:34 2014 +0100
e059ec9
MINOR: standard: add function "encode_chunk"
by Thierry FOURNIER
· Mon Mar 17 12:01:13 2014 +0100
ee330af
MINOR: standard: The parse_binary() returns the length consumed and his documentation is updated
by Thierry FOURNIER
· Tue Jan 21 11:36:14 2014 +0100
9645d42
MINOR: standard: The function parse_binary() can use preallocated buffer
by Thierry FOURNIER
· Fri Dec 06 19:59:28 2013 +0100
075415a
MINOR: tools: buf2ip6 must not modify output on failure
by Willy Tarreau
· Thu Dec 12 11:29:39 2013 +0100
cd65991
CLEANUP/MINOR: standard: use the system define INET6_ADDRSTRLEN in place of MAX_IP6_LEN
by Thierry FOURNIER
· Wed Dec 11 12:33:54 2013 +0100
bb77c8e
MINOR: tools: function my_memmem() to lookup binary contents
by Baptiste Assmann
· Sun Oct 06 23:24:13 2013 +0200
126d406
MINOR: tools: add a generic binary hex string parser
by Willy Tarreau
· Tue Dec 03 17:50:47 2013 +0100
d559dd8
MINOR: tools: Add a function to convert buffer to an ipv6 address
by Thierry FOURNIER
· Fri Nov 22 16:16:59 2013 +0100
4a04dc3
BUG/MEDIUM: sample: The function v4tov6 cannot support input and output overlap
by Thierry FOURNIER
· Thu Nov 28 16:33:15 2013 +0100
5068d96
MINOR: http: change url_decode to return the size of the decoded string.
by Thierry FOURNIER
· Fri Oct 04 16:27:27 2013 +0200
88c278f
MEDIUM: stats: add proxy name filtering on the statistic page
by de Lafond Guillaume
· Mon Apr 15 19:27:10 2013 +0200
1b2fed6
BUG/MEDIUM: tools: vsnprintf() is not always reliable on Solaris
by Willy Tarreau
· Mon Apr 01 22:48:54 2013 +0200
a39d199
BUILD: fix usual isdigit() warning on solaris
by Willy Tarreau
· Mon Apr 01 20:37:42 2013 +0200
dad36a3
MAJOR: tools: support environment variables in addresses
by Willy Tarreau
· Mon Mar 11 01:20:04 2013 +0100
40aa070
MAJOR: listener: support inheriting a listening fd from the parent
by Willy Tarreau
· Sun Mar 10 23:51:38 2013 +0100
2470928
MEDIUM: tools: support specifying explicit address families in str2sa_range()
by Willy Tarreau
· Sun Mar 10 21:32:12 2013 +0100
c120c8d
CLEANUP: minor cleanup in str2sa_range() and str2ip()
by Willy Tarreau
· Sun Mar 10 19:27:44 2013 +0100
add0ab1
CLEANUP: tools: remove str2sun() which is not used anymore.
by Willy Tarreau
· Wed Mar 06 15:08:16 2013 +0100
1558638
MEDIUM: tools: make str2sa_range() parse unix addresses too
by Willy Tarreau
· Mon Mar 04 19:48:14 2013 +0100
d393a62
MINOR: tools: prepare str2sa_range() to accept a prefix
by Willy Tarreau
· Mon Mar 04 18:22:00 2013 +0100
df350f1
MINOR: tools: prepare str2sa_range() to return an error message
by Willy Tarreau
· Fri Mar 01 20:22:54 2013 +0100
e4c58c8
BUG/MEDIUM: tools: fix bad character handling in str2sa_range()
by Willy Tarreau
· Wed Mar 06 15:28:17 2013 +0100
d4448bc
MEDIUM: tools: make str2sa_range support all address syntaxes
by Willy Tarreau
· Wed Feb 20 15:55:15 2013 +0100
58ea039
BUG/MEDIUM: config: fix parser crash with bad bind or server address
by Sean Carey
· Fri Feb 15 23:39:18 2013 +0100
de2dd6b
BUG/MEDIUM: tools: off-by-one in quote_arg()
by Willy Tarreau
· Thu Jan 24 02:14:42 2013 +0100
56adcf2
MINOR: tools: simplify the use of the int to ascii macros
by Willy Tarreau
· Sun Dec 23 18:00:29 2012 +0100
4e25b01
MINOR: log: add '%Tl' to log-format
by Yuxans Yao
· Fri Oct 19 10:36:09 2012 +0800
3dd0c4e
OPTIM: tools: inline hex2i()
by Willy Tarreau
· Fri Oct 26 00:58:22 2012 +0200
9ccf661
BUG/MAJOR: fix a segfault on option http_proxy and url_ip acl
by Cyril Bonté
· Wed Oct 24 23:47:47 2012 +0200
70eec38
MINOR: standard: make indent_msg() support empty messages
by Willy Tarreau
· Wed Oct 10 08:56:47 2012 +0200
eb6cead
MINOR: standard: make memprintf() support a NULL destination
by Willy Tarreau
· Thu Sep 20 19:43:14 2012 +0200
21c705b
MINOR: config: add a function to indent error messages
by Willy Tarreau
· Fri Sep 14 11:40:36 2012 +0200
dd2f85e
CLEANUP: includes: fix includes for a number of users of fd.h
by Willy Tarreau
· Sun Sep 02 22:34:23 2012 +0200
6d20e28
MINOR: standard: add an IPv6 parsing function (str62net)
by Willy Tarreau
· Fri Apr 27 22:49:47 2012 +0200
9a7bea5
MINOR: standard: add a memprintf() function to build formatted error messages
by Willy Tarreau
· Fri Apr 27 11:16:50 2012 +0200
421f5b5
MINOR: Date and time fonctions that don't use snprintf
by William Lallemand
· Mon Feb 06 18:15:57 2012 +0100
e7340ec
MINOR: add ultoa, ulltoa, ltoa, lltoa implementations
by William Lallemand
· Tue Jan 24 11:15:39 2012 +0100
631f01c
[MINOR] make use of addr_to_str() and get_host_port() to replace many inet_ntop()
by Willy Tarreau
· Mon Sep 05 00:36:48 2011 +0200
86ad42c
[MINOR] make use of set_host_port() and get_host_port() to get rid of family mismatches
by Willy Tarreau
· Sat Aug 27 12:29:07 2011 +0200
bf9c2fc
[BUG] stats: support url-encoded forms
by Willy Tarreau
· Tue May 31 18:06:18 2011 +0200
4f92d32
[MEDIUM] IPv6 support for stick-tables
by David du Colombier
· Thu Mar 24 11:09:31 2011 +0100
d5f4328
[MEDIUM] use getaddrinfo to resolve names if gethostbyname fail
by David du Colombier
· Thu Mar 17 10:40:16 2011 +0100
fab5a43
[MEDIUM] config: rework the IPv4/IPv6 address parser to support host-only addresses
by Willy Tarreau
· Fri Mar 04 15:31:53 2011 +0100
6f5ccb1
[MEDIUM] add internal support for IPv6 server addresses
by David du Colombier
· Thu Mar 10 22:26:24 2011 +0100
4c14eaa
[CLEANUP] hash: move the avalanche hash code globally available
by Willy Tarreau
· Wed Nov 24 14:01:45 2010 +0100
7417275
[MINOR] standard: change arg type from const char* to char*
by Willy Tarreau
· Fri Oct 15 23:21:42 2010 +0200
4ec83cd
[MINOR] standard: add read_uint() to parse a delimited unsigned integer
by Willy Tarreau
· Fri Oct 15 23:19:55 2010 +0200
5b18020
[MINOR] tools: add a get_std_op() function to parse operators
by Willy Tarreau
· Sun Jul 18 10:40:48 2010 +0200
acf9577
[MINOR] config: provide a function to quote args in a more friendly way
by Willy Tarreau
· Mon Jun 14 19:09:21 2010 +0200
f0b38bf
[CLEANUP] stick_table: move pattern to key functions to stick_table.c
by Willy Tarreau
· Sun Jun 06 13:22:23 2010 +0200
d54bbdc
[MINOR] add very fast IP parsing functions
by Willy Tarreau
· Mon Sep 07 11:00:31 2009 +0200
88e0581
[BUILD] fix some build warnings on Solaris with is* macros
by Willy Tarreau
· Wed Mar 03 00:16:00 2010 +0100
d5191e7
[BUG] config: report unresolvable host names as errors
by Willy Tarreau
· Tue Feb 09 20:50:45 2010 +0100
2937c0d
[MINOR] standard: str2mask: string to netmask converter
by Willy Tarreau
· Tue Jan 26 17:36:17 2010 +0100
Next »