haproxy/include/common
Willy Tarreau 1b4b7ce6dd [BUG] stream_sock: use get_addr_len() instead of sizeof() on sockaddr_storage
John Helliwell reported a runtime issue on Solaris since 1.5-dev5. Traces
show that connect() returns EINVAL, which means the socket length is not
appropriate for the family. Solaris does not like being called with sizeof
and needs the address family's size on sockaddr_storage.

The fix consists in adding a get_addr_len() function which returns the
socket's address length based on its family. Tests show that this works
for both IPv4 and IPv6 addresses.
2011-04-05 16:56:50 +02:00
..
appsession.h [MEDIUM] minor update to the task api: let the scheduler queue itself 2009-03-08 09:38:41 +01: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 [MINOR] term_trace: add better instrumentations to trace the code 2008-08-16 14:55:08 +02:00
defaults.h [MEDIUM] cookie: support client cookies with some contents appended to their value 2010-10-30 19:04:32 +02:00
epoll.h
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
standard.h [BUG] stream_sock: use get_addr_len() instead of sizeof() on sockaddr_storage 2011-04-05 16:56:50 +02:00
template.h
ticks.h [MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1 2009-03-21 10:25:14 +01:00
time.h [MINOR] add curr_sec_ms and curr_sec_ms_scaled for current second. 2009-03-05 16:56:16 +01:00
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