blob: e1429e9747088b474670c1af0df926405bad1538 [file] [log] [blame]
willy tarreau036e1ce2005-12-17 13:46:33 +01001ChangeLog :
2===========
willy tarreau4302f492005-12-18 01:00:37 +01003
willy tarreaud2058dc2006-03-25 20:35:41 +010042006/03/25 : 1.2.11
5 - added the '-db' command-line option to disable backgrounding.
6 - added the -sf/-st command-line arguments which are used to specify
7 a list of pids to send a FINISH or TERMINATE signal upon startup.
8 They will also be asked to release their port if a bind fails.
9 - reworked the startup mechanism to allow the sending of a signal to a list
10 of old pids if a socket cannot be bound, with a retry for a limited amount
11 of time (1 second by default).
12 - added the ability to enforce limits on memory usage.
13 - added the 'source' load-balancing algorithm which uses the source IP(v4|v6)
14 - re-architectured the server round-robin mechanism to ease integration of
15 other algorithms. It now relies on the number of active and backup servers.
16 - added a counter for the number of active and backup servers, and report
17 these numbers upon SIGHUP or state change.
18
willy tarreaubfad5742006-03-23 14:19:11 +0100192006/03/23 : 1.2.10.1
20 - while fixing the backup server round-robin "feature", a new bug was
21 introduced which could miss some backup servers.
22 - the displayed proxy name was wrong when dumping upon SIGHUP.
23
willy tarreauaaff30e2006-03-19 21:30:41 +0100242006/03/19 : 1.2.10
25 - assert.h is needed when DEBUG is defined.
26 - ENORMOUS long standing bug affecting the epoll polling system :
27 event_data is a union, not a structure !
28 - Make fd management more robust and easier to debug. Also some
29 micro-optimisations.
30 - Limit the number of consecutive accept() in multi-process mode.
31 This produces a more evenly distributed load across the processes and
32 slightly improves performance by reducing bottlenecks.
33 - Make health-checks be more regular, and faster to retry after a timeout.
34 - Fixed some messages to ease parsing of alerts.
35 - provided a patch to enable epoll on RHEL3 kernels.
36 - Separated OpenBSD build from the main Makefile into a new one.
37
willy tarreau50be0172006-03-15 19:41:19 +0100382006/03/15 : 1.2.9
39 - haproxy could not be stopped after being paused, it had to be woken up
40 first. This has been fixed.
41 - the 'ulimit-n' parameter is now optional and by default computed from
42 maxconn + the number of listeners + the number of health-checks.
43 - it is now possible to specify a maximum number of connections at build
44 time with the SYSTEM_MAXCONN define. The value set in the configuration
45 file will then be limited to this value, and only the command-line '-n'
46 option will be able to bypass it. It will prevent against accidental
47 high memory usage on small systems.
48 - RFC2616 expects that any HTTP agent accepts multi-line headers. Earlier
49 versions did not detect a line beginning with a space as the continuation
50 of previous header. It is now correct.
51 - health checks sent to servers configured with identical intervals were
52 sent in perfect synchronisation because the initial time was the same
53 for all. This could induce high load peaks when fragile servers were
54 hosting tens of instances for the same application. Now the load is
55 spread evenly across the smallest interval amongst a listener.
56 - a new 'forceclose' option was added to make the proxy close the outgoing
57 channel to the server once it has sent all its headers and the server
58 starts responding. This helps some servers which don't close upon the
59 'Connection: close' header. It implies 'option httpclose'.
60 - there was a bug in the way the backup servers were handled. They were
61 erroneously load-balanced while the doc said the opposite. Since
62 load-balanced backup servers is one of the features some people have
63 been asking for, the problem was fixed to reflect the documented
64 behaviour and a new option 'allbackups' was introduced to provide the
65 feature to those who need it.
66 - a never ending connect() could lead to a fast select() loop if its
67 timeout times the number of retransmits exceeded the server read or write
68 timeout, because the later was used to compute select()'s timeout while
69 the connection timeout was not reached.
70 - now we initialize the libc's localtime structures very early so that even
71 under OOM conditions, we can still send dated error messages without
72 segfaulting.
73 - the 'daemon' mode implies 'quiet' and disables 'verbose' because file
74 descriptors are closed.
75
willy tarreau065f1c02006-01-29 22:10:07 +0100762006/01/29 : 1.2.8
77 - fixed a nasty bug affecting poll/epoll which could return unmodified data
78 from the server to the client, and sometimes lead to memory corruption
79 crashing the process.
80 - added the new pause/play mechanism with SIGTTOU/SIGTTIN for hot-reconf.
81
822005/12/18 : 1.2.7.1
83 - the "retries" option was ignored because connect() could not return an
84 error if the connection failed before the timeout.
85 - TCP health-checks could not detect a connection refused in poll/epoll
86 mode.
87
willy tarreaua56eca72005-12-18 01:34:42 +0100882005/11/13 : 1.2.7
willy tarreau77bc8542005-12-18 01:31:43 +010089 - building with -DUSE_PCRE should include PCRE headers and not regex.h. At
90 least on Solaris, this caused the libc's regex primitives to be used instead
91 of PCRE, which caused trouble on group references. This is now fixed.
willy tarreaud0fb4652005-12-18 01:32:04 +010092 - delayed the quiet mode during startup so that most of the startup alerts can
93 be displayed even in quiet mode.
94 - display an alert when a listener has no address, invalid or no port, or when
95 there are no enabled listeners upon startup.
willy tarreau4373b962005-12-18 01:32:31 +010096 - added "static-pcre" to the list of supported regex options in the Makefile.
willy tarreau77bc8542005-12-18 01:31:43 +010097
willy tarreaub952e1d2005-12-18 01:31:20 +0100982005/10/09 : 1.2.7rc (1.1.33rc)
99 - second batch of socklen_t changes.
100 - clean-ups from Cameron Simpson.
101 - because tv_remain() does not know about eternity, using no timeout can
102 make select() spin around a null time-out. Bug reported by Cameron Simpson.
103 - client read timeout was not properly set to eternity initialized after an
104 accept() if it was not set in the config. It remained undetected so long
105 because eternity is 0 and newly allocated pages are zeroed by the system.
106 - do not call get_original_dst() when not in transparent mode.
107 - implemented a workaround for a bug in certain epoll() implementations on
108 linux-2.4 kernels (epoll-lt <= 0.21).
109 - implemented TCP keepalive with new options : tcpka, clitcpka, srvtcpka.
110
willy tarreauc5f73ed2005-12-18 01:26:38 +01001112005/08/07 : 1.2.6
112 - clean-up patch from Alexander Lazic fixes build on Debian 3.1 (socklen_t).
113
1142005/07/06 : 1.2.6-pre5 (1.1.32)
willy tarreau0fe39652005-12-18 01:25:24 +0100115 - added the number of active sessions (proxy/process) in the logs
116
1172005/07/06 : 1.2.6-pre4 (1.1.32-pre4)
willy tarreaub1285d52005-12-18 01:20:14 +0100118 - the time-out fix introduced in 1.1.25 caused a corner case where it was
119 possible for a client to keep a connection maintained regardless of the
120 timeout if the server closed the connection during the HEADER phase,
121 while the client ignored the close request while doing nothing in the
122 other direction. This has been fixed now by ensuring that read timeouts
123 are re-armed when switching to any SHUTW state.
124
1252005/07/05 : 1.2.6-pre3 (1.1.32-pre3)
126 - enhanced error reporting in the logs. Now the proxy will precisely detect
127 various error conditions related to the system and/or process limits, and
128 generate LOG_EMERG logs indicating that a resource has been exhausted.
129 - logs will contain two new characters for the error cause : 'R' indicates
130 a resource exhausted, and 'I' indicates an internal error, though this
131 one should never happen.
132 - server connection timeouts can now be reported in the logs (sC), as well
133 as connections refused because of maxconn limitations (PC).
134
1352005/07/05 : 1.2.6-pre2 (1.1.32-pre2)
136 - new global configuration keyword "ulimit-n" may be used to raise the FD
137 limit to usable values.
138 - a warning is now displayed on startup if the FD limit is lower than the
139 configured maximum number of sockets.
140
1412005/07/05 : 1.2.6-pre1 (1.1.32-pre1)
142 - new configuration keyword "monitor-net" makes it possible to be monitored
143 by external devices which connect to the proxy without being logged nor
144 forwarded to any server. Particularly useful on generic TCPv4 relays.
145
willy tarreau5dffb602005-12-18 01:15:23 +01001462005/06/21 : 1.2.5.2
147 - fixed build on PPC where chars are unsigned by default
148
willy tarreau08dedbe2005-12-18 01:13:48 +01001492005/05/02 : 1.2.5.1
150 - dirty hack to fix a bug introduced with epoll : if we close an FD and
151 immediately reassign it to another session through a connect(), the
152 Prev{Read,Write}Events are not updated, which causes trouble detecting
153 changes, thus leading to many timeouts at high loads.
154
willy tarreau64a3cc32005-12-18 01:13:11 +01001552005/04/30 : 1.2.5 (1.1.31)
156 - changed the runtime argument to disable epoll() to '-de'
157 - changed the runtime argument to disable poll() to '-dp'
158 - added global options 'nopoll' and 'noepoll' to do the same at the
159 configuration level.
160 - added a 'linux24e' target to the Makefile for Linux 2.4 systems patched to
161 support epoll().
162 - changed default FD_SETSIZE to 65536 on Solaris (default=1024)
163 - conditionned signals redirection to #ifdef DEBUG_MEMORY
164
willy tarreau1c2ad212005-12-18 01:11:29 +01001652005/04/26 : 1.2.5-pre4
166 - made epoll() support a compile-time option : ENABLE_EPOLL
167 - provided a very little libc replacement for a possibly missing epoll()
168 implementation which can be enabled by -DUSE_MY_EPOLL
169 - implemented the poll() poller, which can be enabled with -DENABLE_POLL.
170 The equivalent runtime argument becomes '-P'. A few tests show that it
171 performs like select() with many fds, but slightly slower (certainly
172 because of the higher amount of memory involved).
173 - separated the 3 polling methods and the tasks scheduler into 4 distinct
174 functions which makes the code a lot more modular.
175 - moved some event tables to private static declarations inside the poller
176 functions.
177 - the poller functions can now initialize themselves, run, and cleanup.
178 - changed the runtime argument to enable epoll() to '-E'.
179 - removed buggy epoll_ctl() code in the client_retnclose() function. This
180 function was never meant to remove anything.
181 - fixed a typo which caused glibc to yell about a double free on exit.
182 - removed error checking after epoll_ctl(DEL) because we can never know if
183 the fd is still active or already closed.
184 - added a few entries in the makefile
185
willy tarreauad90a0c2005-12-18 01:09:15 +01001862005/04/25 : 1.2.5-pre3
187 - experimental epoll() support (use temporary '-e' argument)
188
1892005/04/24 : 1.2.5-pre2
willy tarreauc1f47532005-12-18 01:08:26 +0100190 - implemented the HTTP 303 code for error redirection. This forces the
191 browser to fetch the given URI with a GET request. The new keyword for
192 this is 'errorloc303', and a new 'errorloc302' keyword has been created
193 to make them easily distinguishable.
194 - added more controls in the parser for valid use of '\x' sequence.
195 - few fixes from Alex & Klaus
196
willy tarreauad90a0c2005-12-18 01:09:15 +01001972005/02/17 : 1.2.5-pre1
willy tarreauc1f47532005-12-18 01:08:26 +0100198 - fixed a few errors in the documentation
199
2002005/02/13
201 - do not pre-initialize unused file-descriptors before select() anymore.
202
willy tarreau12350152005-12-18 01:03:27 +01002032005/01/22 : 1.2.4
204 - merged Alexander Lazic's and Klaus Wagner's work on application
205 cookie-based persistence. Since this is the first merge, this version is
206 not intended for general use and reports are more than welcome. Some
207 documentation is really needed though.
208
willy tarreau0174f312005-12-18 01:02:42 +01002092005/01/22 : 1.2.3 (1.1.30)
210 - add an architecture guide to the documentation
211 - released without any changes
212
2132004/12/26 : 1.2.3-pre1 (1.1.30-pre1)
214 - increased default BUFSIZE to 16 kB to accept max headers of 8 kB which is
215 compatible with Apache. This limit can be configured in the makefile now.
216 Thanks to Eric Fehr for the checks.
217 - added a per-server "source" option which now makes it possible to bind to
218 a different source for each (potentially identical) server.
219 - changed cookie-based server selection slightly to allow several servers to
220 share a same cookie, thus making it possible to associate backup servers to
221 live servers and ease soft-stop for maintenance periods. (Alexander Lazic)
222 - added the cookie 'prefix' mode which makes it possible to use persistence
223 with thin clients which support only one cookie. The server name is prefixed
224 before the application cookie, and restore back.
225 - fixed the order of servers within an instance to match documentation. Now
226 the servers are *really* used in the order of their declaration. This is
227 particularly important when multiple backup servers are in use.
228
willy tarreau4302f492005-12-18 01:00:37 +01002292004/10/18 : 1.2.2 (1.1.29)
230 - fixed a bug where a TCP connection would be logged twice if the 'logasap'
231 option was enabled without the 'tcplog' option.
232 - encode_string() would use hdr_encode_map instead of the map argument.
233
2342004/08/10 : (1.1.29-pre2)
235 - the logged request is now encoded with '#XX' for unprintable characters
236 - new keywords 'capture request header' and 'capture response header' enable
237 logging of arbitrary HTTP headers in requests and responses
238 - removed "-DSOLARIS" after replacing the last inet_aton() with inet_pton()
239
willy tarreau982249e2005-12-18 00:57:06 +01002402004/06/06 : 1.2.1 (1.1.28)
241 - added the '-V' command line option to verbosely report errors even though
242 the -q or 'quiet' options are specified. This is useful with '-c'.
243 - added a Red Hat init script and a .spec from Simon Matter <simon.matter@invoca.ch>
willy tarreau036e1ce2005-12-17 13:46:33 +0100244
willy tarreau982249e2005-12-18 00:57:06 +01002452004/06/05 :
246 - added the "logasap" option which produces a log without waiting for the data
247 to be transferred from the server to the client.
248 - added the "httpclose" option which removes any "connection:" header and adds
249 "Connection: close" in both direction.
willy tarreau97f58572005-12-18 00:53:44 +0100250 - added the 'checkcache' option which blocks cacheable responses containing
251 dangerous headers, such as 'set-cookie'.
willy tarreau982249e2005-12-18 00:57:06 +0100252 - added 'rspdeny' and 'rspideny' to block certain responses to avoid sensible
253 information leak from servers.
willy tarreau25c4ea52005-12-18 00:49:49 +0100254
2552004/04/18 :
willy tarreaudd07e972005-12-18 00:48:48 +0100256 - send an EMERG log when no server is available for a given proxy
257 - added the '-c' command line option to syntactically check the
258 configuration file without starting the service.
259
willy tarreau8a86dbf2005-12-18 00:45:59 +01002602003/11/09 : 1.2.0
261 - the same as 1.1.27 + IPv6 support on the client side
262
willy tarreaufe2c5c12005-12-17 14:14:34 +01002632003/10/27 : 1.1.27
264 - the configurable HTTP health check introduced in 1.1.23 revealed a shameful
265 bug : the code still assumed that HTTP requests were the same size as the
266 original ones (22 bytes), and failed if they were not.
267 - added support for pidfiles.
268
willy tarreauc58fc692005-12-17 14:13:08 +01002692003/10/22 : 1.1.26
270 - the fix introduced in 1.1.25 for client timeouts while waiting for servers
271 broke almost all compatibility with POST requests, because the proxy
272 stopped to read anything from the client as soon as it got all of its
273 headers.
274
willy tarreauc1cae632005-12-17 14:12:23 +01002752003/10/15 : 1.1.25
276 - added the 'tcplog' option, which provides enhanced, HTTP-like logs for
277 generic TCP proxies, or lighter logs for HTTP proxies.
278 - fixed a time-out condition wrongly reported as client time-out in data
279 phase if the client timeout was lower than the connect timeout times the
280 number of retries.
281
willy tarreau197e8ec2005-12-17 14:10:59 +01002822003/09/21 : 1.1.24
283 - if a client sent a full request then shut its write connection down, then
284 the request was aborted. This case was detected only when using haproxy
285 both as health-check client and as a server.
286 - if 'option httpchk' is used in a 'health' mode server, then responses will
287 change from 'OK' to 'HTTP/1.0 200 OK'.
288 - fixed a Linux-only bug in case of HTTP server health-checks, where a single
289 server response followed by a close could be ignored, and the server seen
290 as failed.
291
willy tarreaueedaa9f2005-12-17 14:08:03 +01002922003/09/19 : 1.1.23
293 - fixed a stupid bug introduced in 1.1.22 which caused second and subsequent
294 'default' sections to keep previous parameters, and not initialize logs
295 correctly.
296 - fixed a second stupid bug introduced in 1.1.22 which caused configurations
297 relying on 'dispatch' mode to segfault at the first connection.
298 - 'option httpchk' now supports method, HTTP version and a few headers.
299 - now, 'option httpchk', 'cookie' and 'capture' can be specified in
300 'defaults' section
301
3022003/09/10 : 1.1.22
willy tarreaua41a8b42005-12-17 14:02:24 +0100303 - 'listen' now supports optionnal address:port-range lists
304 - 'bind' introduced to add new listen addresses
305 - fixed a bug which caused a session to be kept established on a server till
306 it timed out if the client closed during the DATA phase.
307 - the port part of each server address can now be empty to make the proxy
308 connect to the server on the same port it was connected to, be an absolute
309 unsigned number to reflect a single port (as in older versions), or an
310 explicitly signed number (+N/-N) to indicate that this offset must be
311 applied to the port the proxy was connected to, when connecting to the
312 server.
313 - the 'port' server option allows the user to specify a different
314 health-check port than the service one. It is mandatory when only relative
315 ports have been specified and check is required. By default, the checks are
316 sent to the service port.
317 - new 'defaults' section which is rather similar to 'listen' except that all
318 values are only used as default values for future 'listen' sections, until
319 a new 'defaults' resets them. At the moment, server options, regexes,
320 cookie names and captures cannot be set in the 'defaults' section.
321
willy tarreau2f6ba652005-12-17 13:57:42 +01003222003/05/06 : 1.1.21
323 - changed the debug output format so that it now includes the session unique
324 ID followed by the instance name at the beginning of each line.
325 - in debug mode, accept now shows the client's IP and port.
326 - added one 3 small debugging scripts to search and pretty print debug output
327 - changed the default health check request to "OPTIONS /" instead of
328 "OPTIONS *" since not all servers implement the later one.
329 - "option httpchk" now accepts an optional parameter allowing the user to
330 specify and URI other than '/' during health-checks.
331
willy tarreaub1ff9db2005-12-17 13:51:03 +01003322003/04/21 : 1.1.20
333 - fixed two problems with time-outs, one where a server would be logged as
334 timed out during transfer that take longer to complete than the fixed
335 time-out, and one where clients were logged as timed-out during the data
336 phase because they didn't have anything to send. This sometimes caused
337 slow client connections to close too early while in fact there was no
338 problem. The proper fix would be to have a per-fd time-out with
339 conditions depending on the state of the HTTP FSM.
340
willy tarreau906b2682005-12-17 13:49:52 +01003412003/04/16 : 1.1.19
342 - haproxy was NOT RFC compliant because it was case-sensitive on HTTP
343 "Cookie:" and "Set-Cookie:" headers. This caused JVM 1.4 to fail on
344 cookie persistence because it uses "cookie:". Two memcmp() have been
345 replaced with strncasecmp().
346
willy tarreau036e1ce2005-12-17 13:46:33 +01003472003/04/02 : 1.1.18
348 - Haproxy can be compiled with PCRE regex instead of libc regex, by setting
349 REGEX=pcre on the make command line.
350 - HTTP health-checks now use "OPTIONS *" instead of "OPTIONS /".
351 - when explicit source address binding is required, it is now also used for
352 health-checks.
353 - added 'reqpass' and 'reqipass' to allow certain headers but not the request
354 itself.
355 - factored several strings to reduce binary size by about 2 kB.
356 - replaced setreuid() and setregid() with more standard setuid() and setgid().
357 - added 4 status flags to the log line indicating who ended the connection
358 first, the sessions state, the validity of the cookie, and action taken on
359 the set-cookie header.
360
3612002/10/18 : 1.1.17
362 - add the notion of "backup" servers, which are used only when all other
363 servers are down.
364 - make Set-Cookie return "" instead of "(null)" when the server has no
365 cookie assigned (useful for backup servers).
366 - "log" now supports an optionnal level name (info, notice, err ...) above
367 which nothing is sent.
368 - replaced some strncmp() with memcmp() for better efficiency.
369 - added "capture cookie" option which logs client and/or server cookies
370 - cleaned up/down messages and dump servers states upon SIGHUP
371 - added a redirection feature for errors : "errorloc <errnum> <url>"
372 - now we won't insist on connecting to a dead server, even with a cookie,
373 unless option "persist" is specified.
374 - added HTTP/408 response for client request time-out and HTTP/50[234] for
375 server reply time-out or errors.
376
3772002/09/01 : 1.1.16
378 - implement HTTP health checks when option "httpchk" is specified.
379
3802002/08/07 : 1.1.15
381 - replaced setpgid()/setpgrp() with setsid() for better portability, because
382 setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
383
3842002/07/20 : 1.1.14
385 - added "postonly" cookie mode
386
3872002/07/15 : 1.1.13
388 - tv_diff used inverted parameters which led to negative times !
389
3902002/07/13 : 1.1.12
391 - fixed stats monitoring, and optimized some tv_* for most common cases.
392 - replaced temporary 'newhdr' with 'trash' to reduce stack size
393 - made HTTP errors more HTML-fiendly.
394 - renamed strlcpy() to strlcpy2() because of a slightly difference between
395 their behaviour (return value), to avoid confusion.
396 - restricted HTTP messages to HTTP proxies only
397 - added a 502 message when the connection has been refused by the server,
398 to prevent clients from believing this is a zero-byte HTTP 0.9 reply.
399 - changed 'Cache-control:' from 'no-cache="set-cookie"' to 'private' when
400 inserting a cookie, because some caches (apache) don't understand it.
401 - fixed processing of server headers when client is in SHUTR state
402
4032002/07/04 :
404 - automatically close fd's 0,1 and 2 when going daemon ; setpgrp() after
405 setpgid()
406
4072002/06/04 : 1.1.11
408 - fixed multi-cookie handling in client request to allow clean deletion
409 in insert+indirect mode. Now, only the server cookie is deleted and not
willy tarreau906b2682005-12-17 13:49:52 +0100410 all the header. Should now be compliant to RFC2965.
willy tarreau036e1ce2005-12-17 13:46:33 +0100411 - added a "nocache" option to "cookie" to specify that we explicitly want
412 to add a "cache-control" header when we add a cookie.
413 It is also possible to add an "Expires: <old-date>" to keep compatibility
414 with old/broken caches.
415
4162002/05/10 : 1.1.10
417 - if a cookie is used in insert+indirect mode, it's desirable that the
418 the servers don't see it. It was not possible to remove it correctly
419 with regexps, so now it's removed automatically.
420
4212002/04/19 : 1.1.9
422 - don't use snprintf()'s return value as an end of message since it may
423 be larger. This caused bus errors and segfaults in internal libc's
424 getenv() during localtime() in send_log().
425 - removed dead insecure send_syslog() function and all references to it.
426 - fixed warnings on Solaris due to buggy implementation of isXXXX().
427
4282002/04/18 : 1.1.8
429 - option "dontlognull"
430 - fixed "double space" bug in config parser
431 - fixed an uninitialized server field in case of dispatch
432 with no existing server which could cause a segfault during
433 logging.
434 - the pid logged was always the father's, which was wrong for daemons.
435 - fixed wrong level "LOG_INFO" for message "proxy started".
436
4372002/04/13 :
438 - http logging is now complete :
439 - ip:port, date, proxy, server
440 - req_time, conn_time, hdr_time, tot_time
441 - status, size, request
442 - source address
443
4442002/04/12 : 1.1.7
445 - added option forwardfor
446 - added reqirep, reqidel, reqiallow, reqideny, rspirep, rspidel
447 - added "log global" in "listen" section.
448
4492002/04/09 :
450 - added a new "global" section :
451 - logs
452 - debug, quiet, daemon modes
453 - uid, gid, chroot, nbproc, maxconn
454
4552002/04/08 : 1.1.6
456 - regex are now chained and not limited anymore.
457 - unavailable server now returns HTTP/502.
458 - increased per-line args limit to 40
459 - added reqallow/reqdeny to block some request on matches
460 - added HTTP 400/403 responses
461
4622002/04/03 : 1.1.5
463 - connection logging displayed incorrect source address.
464 - added proxy start/stop and server up/down log events.
465 - replaced log message short buffers with larger trash.
466 - enlarged buffer to 8 kB and replace buffer to 4 kB.
467
4682002/03/25 : 1.1.4
469 - made rise/fall/interval time configurable
470
4712002/03/22 : 1.1.3
472 - fixed a bug : cr_expire and cw_expire were inverted in CL_STSHUT[WR]
473 which could lead to loops.
474
4752002/03/21 : 1.1.2
476 - fixed a bug in buffer management where we could have a loop
477 between event_read() and process_{cli|srv} if R==BUFSIZE-MAXREWRITE.
478 => implemented an adjustable buffer limit.
479 - fixed a bug : expiration of tasks in wait queue timeout is used again,
480 and running tasks are skipped.
481 - added some debug lines for accept events.
482 - send warnings for servers up/down.
483
4842002/03/12 : 1.1.1
485 - fixed a bug in total failure handling
486 - fixed a bug in timestamp comparison within same second (tv_cmp_ms)
487
4882002/03/10 : 1.1.0
489 - fixed a few timeout bugs
490 - rearranged the task scheduler subsystem to improve performance,
491 add new tasks, and make it easier to later port to librt ;
492 - allow multiple accept() for one select() wake up ;
493 - implemented internal load balancing with basic health-check ;
494 - cookie insertion and header add/replace/delete, with better strings
495 support.
496
4972002/03/08
498 - reworked buffer handling to fix a few rewrite bugs, and
499 improve overall performance.
500 - implement the "purge" option to delete server cookies in direct mode.
501
5022002/03/07
503 - fixed some error cases where the maxfd was not decreased.
504
5052002/02/26
506 - now supports transparent proxying, at least on linux 2.4.
507
5082002/02/12
509 - soft stop works again (fixed select timeout computation).
510 - it seems that TCP proxies sometimes cannot timeout.
511 - added a "quiet" mode.
512 - enforce file descriptor limitation on socket() and accept().
513
5142001/12/30 : release of version 1.0.2 : fixed a bug in header processing
5152001/12/19 : release of version 1.0.1 : no MSG_NOSIGNAL on solaris
5162001/12/16 : release of version 1.0.0.
5172001/12/16 : added syslog capability for each accepted connection.
5182001/11/19 : corrected premature end of files and occasional SIGPIPE.
5192001/10/31 : added health-check type servers (mode health) which replies OK then closes.
5202001/10/30 : added the ability to support standard TCP proxies and HTTP proxies
521 with or without cookies (use keyword http for this).
5222001/09/01 : added client/server header replacing with regexps.
523 eg:
524 cliexp ^(Host:\ [^:]*).* Host:\ \1:80
525 srvexp ^Server:\ .* Server:\ Apache
5262000/11/29 : first fully working release with complete FSMs and timeouts.
5272000/11/28 : major rewrite
5282000/11/26 : first write