haproxy/include/common
Willy Tarreau 631f01c2f1 [MINOR] make use of addr_to_str() and get_host_port() to replace many inet_ntop()
Many inet_ntop calls were partially right, which was hard to detect given
the complex combinations. Some of them were relying on the listener's proto
instead of the address itself, which could have been different when dealing
with an accept-proxy connection.

The new addr_to_str() function does the dirty job and returns the family, which
makes it particularly suited to calls from switch/case statements. A large number
of if/else statements were removed and the stats output could even be cleaned up
in the case of session dump.

As a side effect of doing this, the resulting code is smaller by almost 1kB.
All changed parts have been tested and provided expected output.
2011-09-05 00:54:36 +02:00
..
appsession.h [MINOR] Make appsess{,ion}_refresh static 2011-06-25 21:07:01 +02:00
base64.h [MINOR] add encode/decode function for 30-bit integers from/to base64 2010-10-30 19:04:33 +02:00
cfgparse.h [MEDIUM] Manage peers section parsing and stick table registration on peers. 2010-11-11 09:29:08 +01:00
compat.h [MINOR] move MAXPATHLEN definition to compat.h 2010-11-11 09:21:53 +01:00
compiler.h [BUG] definitely fix regparm issues between haproxy core and ebtree 2009-10-27 21:53:58 +01:00
config.h [BUG] definitely fix regparm issues between haproxy core and ebtree 2009-10-27 21:53:58 +01:00
debug.h
defaults.h [MINOR] check: add redis check support 2011-08-06 15:52:47 +02:00
epoll.h [REORG] build: move syscall redefinition to specific places 2011-08-23 00:11:25 +02:00
errors.h [MINOR] errors: provide new status codes for config parsing functions 2010-08-10 14:01:15 +02:00
memory.h [BUILD] memory: add a few missing parenthesis to the pool management macros 2010-06-14 15:10:23 +02:00
mini-clist.h [MINOR] prepare req_*/rsp_* to receive a condition 2010-01-28 18:10:50 +01:00
rbtree.h
regex.h [MINOR] prepare req_*/rsp_* to receive a condition 2010-01-28 18:10:50 +01:00
sessionhash.h
splice.h [REORG] build: move syscall redefinition to specific places 2011-08-23 00:11:25 +02:00
standard.h [MINOR] make use of addr_to_str() and get_host_port() to replace many inet_ntop() 2011-09-05 00:54:36 +02:00
syscall.h [REORG] build: move syscall redefinition to specific places 2011-08-23 00:11:25 +02:00
template.h
ticks.h
time.h
tools.h [MINOR] tools: add two macros MID_RANGE and MAX_RANGE 2011-03-28 15:55:43 +02:00
uri_auth.h [REORG] http: move the http-request rules to proto_http 2011-03-13 22:00:24 +01:00
version.h [CLEANUP] reference product branch 1.5 2010-08-27 11:09:17 +02:00