haproxy/src
Willy Tarreau 28d65acf7a [MEDIUM] fix stats socket limitation to 16 kB
Due to the way the stats socket work, it was not possible to
maintain the information related to the command entered, so
after filling a whole buffer, the request was lost and it was
considered that there was nothing to write anymore.

The major reason was that some flags were passed directly
during the first call to stats_dump_raw() instead of being
stored persistently in the session.

To definitely fix this problem, flags were added to the stats
member of the session structure.

A second problem appeared. When the stats were produced, a first
call to client_retnclose() was performed, then one or multiple
subsequent calls to buffer_write_chunks() were done. But once the
stats buffer was full and a reschedule operated, the buffer was
flushed, the write flag cleared from the buffer and nothing was
done to re-arm it.

For this reason, a check was added in the proto_uxst_stats()
function in order to re-call the client FSM when data were added
by stats_dump_raw(). Finally, the whole unix stats dump FSM was
rewritten to avoid all the magics it depended on. It is now
simpler and looks more like the HTTP one.
2008-03-17 21:43:47 +01:00
..
acl.c [MEDIUM] restrict the set of allowed characters for identifiers 2007-12-02 18:45:09 +01:00
appsession.c [MAJOR] remove files distributed under an obscure license 2007-09-09 21:56:53 +02:00
backend.c [BUG] option allbackups was not working anymore in roundrobin mode 2008-03-08 21:59:15 +01:00
base64.c [CLEANUP] included common/version.h everywhere 2006-06-29 18:54:54 +02:00
buffers.c [MEDIUM] ensure we never overflow in chunk_printf() 2007-09-09 21:09:28 +02:00
cfgparse.c [MINOR] report correct section type for unknown keywords. 2008-03-08 21:47:10 +01:00
checks.c [BUG] fix truncated responses with sepoll 2008-01-20 23:56:15 +01:00
client.c [BUG] fix truncated responses with sepoll 2008-01-20 23:56:15 +01:00
cttproxy.c [MEDIUM] check for cttproxy support when required 2007-03-24 17:24:39 +01:00
dumpstats.c [MEDIUM] fix stats socket limitation to 16 kB 2008-03-17 21:43:47 +01:00
eb32tree.c [MINOR] merge ebtree version 3.0 2007-11-28 14:20:44 +01:00
eb64tree.c [MINOR] merge ebtree version 3.0 2007-11-28 14:20:44 +01:00
ebpttree.c [MINOR] merge ebtree version 3.0 2007-11-28 14:20:44 +01:00
ebtree.c [MINOR] merge ebtree version 3.0 2007-11-28 14:20:44 +01:00
ev_epoll.c [MEDIUM] limit the number of events returned by *poll* 2007-06-03 17:16:49 +02:00
ev_kqueue.c [MEDIUM] limit the number of events returned by *poll* 2007-06-03 17:16:49 +02:00
ev_poll.c [BUG] fix null timeouts in *poll-based pollers 2007-05-14 02:02:04 +02:00
ev_select.c [MINOR] allow null timeouts for past events in select 2007-05-14 03:16:06 +02:00
ev_sepoll.c [BUG] fix truncated responses with sepoll 2008-01-20 23:56:15 +01:00
fd.c [MAJOR] auto-registering of pollers at load time 2007-04-16 00:25:25 +02:00
haproxy.c [OPTIM] introduce global parameter "tune.maxaccept" 2008-01-20 23:43:15 +01:00
hdr_idx.c [MAJOR] huge rework of the HTTP request FSM 2007-01-21 19:16:41 +01:00
log.c [BUG] log response byte count, not request 2008-01-20 23:55:54 +01:00
memory.c [BUG] fix segfault at exit when using captures 2007-06-16 23:19:53 +02:00
proto_http.c [MEDIUM] fix stats socket limitation to 16 kB 2008-03-17 21:43:47 +01:00
proto_tcp.c [BUG] fix truncated responses with sepoll 2008-01-20 23:56:15 +01:00
proto_uxst.c [MEDIUM] fix stats socket limitation to 16 kB 2008-03-17 21:43:47 +01:00
protocols.c [MINOR] add a generic unbind_all_listeners() primitive 2007-11-04 22:42:49 +01:00
proxy.c [MINOR] tarpit timeout is also allowed in backends 2008-01-20 23:43:31 +01:00
queue.c [MEDIUM] implement the slowstart parameter for servers 2007-11-30 17:42:05 +01:00
rbtree.c [MINOR] imported the rbtree function from Linux kernel 2007-01-07 02:12:57 +01:00
regex.c [CLEANUP] shut warnings 'is*' macros from ctype.h on solaris 2007-06-17 21:51:38 +02:00
senddata.c [MEDIUM] moved stats and buffer generic functions to new files 2007-10-18 14:12:21 +02:00
server.c [MEDIUM] stats: report server and backend cumulated downtime 2007-10-22 21:36:23 +02:00
session.c [OPTIM] small optimization on session_process_counters() 2007-11-26 20:22:47 +01:00
sessionhash.c [BUG] fix segfault on exit in new appsession code 2007-10-15 20:08:16 +02:00
standard.c [BUG] str2sun could leak a small buffer in case of error during parsing 2008-03-08 21:59:10 +01:00
stream_sock.c [BUG] fix truncated responses with sepoll 2008-01-20 23:56:15 +01:00
task.c Merge branch 'pools' into merge-pools 2007-05-14 02:11:56 +02:00
time.c [BUILD] fix 2 minor issues on AIX 2007-11-30 18:38:35 +01:00
uri_auth.c [MINOR] report haproxy's version by default on the stats page 2007-10-15 10:05:11 +02:00