Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
c0e820c352029eae558ec643764734d36a52c385
/
src
/
standard.c
e112c8a
BUILD/MINOR: tools: shut up the format truncation warning in get_gmt_offset()
by Willy Tarreau
· 5 years ago
4d589e7
MINOR: tools: add a function varint_bytes() to report the size of a varint
by Willy Tarreau
· 5 years ago
a2c9911
MINOR: tools: add append_prefixed_str()
by Willy Tarreau
· 5 years ago
8daa920
BUILD: tools: work around an internal compiler bug in gcc-3.4
by Willy Tarreau
· 5 years ago
9faebe3
MEDIUM: tools: improve time format error detection
by Willy Tarreau
· 5 years ago
1bfd602
MINOR: logs: use the new bitmap functions instead of fd_sets for encoding maps
by Willy Tarreau
· 5 years ago
42a6621
BUILD: tools: do not use the weak attribute for trace() on obsolete linkers
by Willy Tarreau
· 5 years ago
3710105
MINOR: tools: provide a may_access() function and make dump_hex() use it
by Willy Tarreau
· 6 years ago
9fc5dcb
MINOR: tools: add dump_hex()
by Willy Tarreau
· 6 years ago
d5ec4bf
CLEANUP: standard: use proper const to addr_to_str() and port_to_str()
by Willy Tarreau
· 6 years ago
9d22e56
MINOR: tools: add an unsetenv() implementation
by Willy Tarreau
· 6 years ago
e0609f5
MINOR: tools: make memvprintf() never pass a NULL target to vsnprintf()
by Willy Tarreau
· 6 years ago
9b6be3b
BUILD: tools: fix a build warning on some 32-bit archs
by Willy Tarreau
· 6 years ago
f324111
MINOR: tools: implement functions to look up the nth bit set in a mask
by Willy Tarreau
· 6 years ago
12a7184
BUG/MEDIUM: standard: Wrong reallocation size.
by Frédéric Lécaille
· 6 years ago
3b71716
MINOR: standard: Add a function to parse uints (dotted notation).
by Frédéric Lécaille
· 6 years ago
4eee38a
BUILD/MINOR: tools: fix build warning in the date conversion functions
by Willy Tarreau
· 6 years ago
0205a4e
MINOR: tools: preset the port of fd-based "sockets" to zero
by Willy Tarreau
· 6 years ago
76dbe78
MINOR: Fix typo in error message in the standard subsystem
by Joseph Herlant
· 6 years ago
32b8327
CLEANUP: Fix typos in the standard subsystem
by Joseph Herlant
· 6 years ago
2fe7dd0
MEDIUM: protocol: sockpair protocol
by William Lallemand
· 6 years ago
f16cb41
MINOR: tools: make date2str_log() take some consts
by Willy Tarreau
· 6 years ago
83061a8
MAJOR: chunks: replace struct chunk with struct buffer
by Willy Tarreau
· 6 years ago
843b7cb
MEDIUM: chunks: make the chunk struct's fields match the buffer struct
by Willy Tarreau
· 6 years ago
f7b7c3e
MINOR: servers: Support alphanumeric characters for the server templates names
by Thierry Fournier
· 7 years ago
5e64286
CLEANUP: standard: Fix typo in IPv6 mask example
by Tim Duesterhus
· 7 years ago
7d58b4d
BUG/MEDIUM: standard: Fix memory leak in str2ip2()
by Tim Duesterhus
· 7 years ago
4718517
MINOR: standard: Add str2mask6 function
by Tim Duesterhus
· 7 years ago
8575f72
CLEANUP: standard: Use len2mask4 in str2mask
by Tim Duesterhus
· 7 years ago
9c1e15d
MINOR: tools: emphasize the node being worked on in the tree dump
by Willy Tarreau
· 7 years ago
6c7f4de
MINOR: tools: improve the DOT dump of the ebtree
by Willy Tarreau
· 7 years ago
ed3cda0
MINOR: tools: add a function to dump a scope-aware tree to a file
by Willy Tarreau
· 7 years ago
99bca65
BUG/MEDIUM: standard: itao_str/idx and quote_str/idx must be thread-local
by Christopher Faulet
· 7 years ago
1bc04c7
BUG/MINOR: threads: Add missing THREAD_LOCAL on static here and there
by Christopher Faulet
· 7 years ago
93a518f
MINOR: standard: Add memvprintf function
by Christopher Faulet
· 7 years ago
1296382
CONTRIB: trace: add the possibility to place trace calls in the code
by Willy Tarreau
· 7 years ago
cb1949b
MINOR: tools: add a portable timegm() alternative
by Willy Tarreau
· 7 years ago
ed936c5
MINOR: tools: make debug_hexdump() take a string prefix
by Willy Tarreau
· 8 years ago
9faef1e
MINOR: tools: make debug_hexdump() use a const char for the string
by Willy Tarreau
· 8 years ago
577d5ac
CLEANUP: str2mask return code comment: non-zero -> zero.
by Jarno Huuskonen
· 8 years ago
b82f742
MINOR: server: Add 'server-template' new keyword supported in backend sections.
by Frédéric Lécaille
· 8 years ago
7345979
BUILD/MINOR: tools: fix build warning in debug_hexdump()
by Willy Tarreau
· 8 years ago
7b760c9
BUG/MEDIUM: tools: do not force an unresolved address to AF_INET:0.0.0.0
by Willy Tarreau
· 8 years ago
48ef4c9
MINOR: tools: make str2sa_range() return the port in a separate argument
by Willy Tarreau
· 8 years ago
d7dad1b
BUG/MINOR: tools: fix off-by-one in port size check
by Willy Tarreau
· 8 years ago
0ebb511
MINOR: tools: add a generic hexdump function for debugging
by Willy Tarreau
· 8 years ago
97c2ae1
REORG: cli: move dump_text(), dump_text_line(), and dump_binary() to standard.c
by Willy Tarreau
· 8 years ago
327298c
BUILD: fix build on Solaris 10/11
by David Carlier
· 8 years ago
ceccdd7
MEDIUM: tools: make str2sa_range() return the FQDN even when not resolving
by Willy Tarreau
· 8 years ago
dc3a9e8
CLEANUP: tools: make ipcpy() preserve the original port
by Willy Tarreau
· 8 years ago
ecde7df
MEDIUM: tools: make str2ip2() preserve existing ports
by Willy Tarreau
· 8 years ago
08396c8
MINOR: standard.c: ipcpy() function to copy an IP address from a struct sockaddr_storage into an other one
by Baptiste Assmann
· 9 years ago
08b24cf
MINOR: standard.c: ipcmp() function to compare 2 IP addresses stored in 2 struct sockaddr_storage
by Baptiste Assmann
· 9 years ago
16e0156
MINOR: tcp: add dst_is_local and src_is_local
by Willy Tarreau
· 8 years ago
1a5d060
MINOR: standard: add function "escape_string"
by Dragan Dosen
· 8 years ago
eec1d38
BUG/MEDIUM: dns: fix alignment issues in the DNS response parser
by Willy Tarreau
· 8 years ago
831962e
CLEANUP: fixed some usages of realloc leading to memory leak
by Hubert Verstraete
· 8 years ago
dc88785
MINOR: add list_append_word function
by Maxime de Roucy
· 9 years ago
3c2f2f2
CLEANUP: remove unneeded casts
by Vincent Bernat
· 9 years ago
e2e5bde
BUG/MINOR: log: Don't use strftime() which can clobber timezone if chrooted
by Benoit GARNIER
· 9 years ago
b413c2a
BUG/MINOR: log: GMT offset not updated when entering/leaving DST
by Benoit GARNIER
· 9 years ago
93f91c3
BUG/MINOR: standard: Avoid free of non-allocated pointer
by Andreas Seltenreich
· 9 years ago
70473a5
MINOR: common: mask conversion
by Thierry Fournier
· 9 years ago
0edd109
MINOR: standard: add function "escape_chunk"
by Dragan Dosen
· 9 years ago
9312794
MINOR: standard: add RFC HTTP date parser
by Thierry Fournier
· 9 years ago
b631c29
MINOR: tools: make csv_enc_append() always start at the first byte of the chunk
by Willy Tarreau
· 9 years ago
898529b
MEDIUM: tools: add csv_enc_append() to preserve the original chunk
by Willy Tarreau
· 9 years ago
ff5d510
MINOR: config: allow IPv6 bracketed literals
by mildis
· 9 years ago
eab7f39
BUG/MEDIUM: str2ip: make getaddrinfo() consider local address selection policy
by Dmitry Sivachenko
· 9 years ago
7fe3be7
MINOR: standard: avoid DNS resolution from the function str2sa_range()
by Thierry FOURNIER
· 9 years ago
9f69f46
BUG/MINOR: tools: make str2sa_range() report unresolvable addresses
by Willy Tarreau
· 9 years ago
72b8c1f
MEDIUM: tools: make str2sa_range() optionally return the FQDN
by Willy Tarreau
· 9 years ago
763a5d8
MINOR: standard: add 64 bits conversion functions
by Thierry FOURNIER
· 9 years ago
1480bd8
MINOR: standard: add function that converts signed int to a string
by Thierry FOURNIER
· 9 years ago
a68ca96
MAJOR: server: add DNS-based server name resolution
by Baptiste Assmann
· 10 years ago
ddea626
MINOR: common: escape CSV strings
by Thierry FOURNIER
· 10 years ago
9e7ec08
BUG/MINOR: utf8: remove compilator warning
by Thierry FOURNIER
· 10 years ago
58639a0
MINOR: global: export function and permits to not resolve DNS names
by Thierry FOURNIER
· 10 years ago
58048a2
BUG/MINOR: parse: check the validity of size string in a more strict way
by Godbach
· 10 years ago
3ca1a88
MINOR: tools: add new round_2dig() function to round integers
by Willy Tarreau
· 10 years ago
317e1c4
MINOR: sample: add "json" converter
by Thierry FOURNIER
· 10 years ago
588297f
MINOR: tools: add new functions to quote-encode strings
by Willy Tarreau
· 10 years ago
75ab8bd
MEDIUM: Add port_to_str helper
by Simon Horman
· 10 years ago
c874653
BUILD: don't use type "uint" which is not portable
by Willy Tarreau
· 11 years ago
ccfccef
MEDIUM: unix: implement support for Linux abstract namespace sockets
by Willy Tarreau
· 11 years ago
88afe03
BUG/MINOR: Fix name lookup ordering when compiled with USE_GETADDRINFO
by Nenad Merdanovic
· 11 years ago
761b3d5
BUILD/MEDIUM: standard: get rid of sprintf()
by Willy Tarreau
· 11 years ago
94ef3f3
BUILD/MEDIUM: standard: get rid of the last strcpy()
by Willy Tarreau
· 11 years ago
9f95e40
MINOR: standard: Add ipv6 support in the function url2sa().
by Thierry FOURNIER
· 11 years ago
fc7ac7b
MINOR: standard: Disable ip resolution during the runtime
by Thierry FOURNIER
· 11 years ago
b050463
MINOR: standard: Add function for converting cidr to network mask.
by Thierry FOURNIER
· 11 years ago
511e947
MEDIUM: acl/pattern: standardisation "of pat_parse_int()" and "pat_parse_dotted_ver()"
by Thierry FOURNIER
· 11 years ago
e059ec9
MINOR: standard: add function "encode_chunk"
by Thierry FOURNIER
· 11 years ago
ee330af
MINOR: standard: The parse_binary() returns the length consumed and his documentation is updated
by Thierry FOURNIER
· 11 years ago
9645d42
MINOR: standard: The function parse_binary() can use preallocated buffer
by Thierry FOURNIER
· 11 years ago
075415a
MINOR: tools: buf2ip6 must not modify output on failure
by Willy Tarreau
· 11 years ago
cd65991
CLEANUP/MINOR: standard: use the system define INET6_ADDRSTRLEN in place of MAX_IP6_LEN
by Thierry FOURNIER
· 11 years ago
bb77c8e
MINOR: tools: function my_memmem() to lookup binary contents
by Baptiste Assmann
· 11 years ago
126d406
MINOR: tools: add a generic binary hex string parser
by Willy Tarreau
· 11 years ago
d559dd8
MINOR: tools: Add a function to convert buffer to an ipv6 address
by Thierry FOURNIER
· 11 years ago
Next »