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