blob: f6a35638c0e71cb8035cf6b5c22da5d3dfd8ff8a [file] [log] [blame]
willy tarreau036e1ce2005-12-17 13:46:33 +01001ChangeLog :
2===========
willy tarreau4302f492005-12-18 01:00:37 +01003
Willy Tarreau7b4c5ae2008-04-19 21:06:14 +020042008/04/19 : 1.3.15
5 - [BUILD] Added support for 'make install'
6 - [BUILD] Added 'install-man' make target for installing the man page
7 - [BUILD] Added 'install-bin' make target
8 - [BUILD] Added 'install-doc' make target
9 - [BUILD] Removed "/" after '$(DESTDIR)' in install targets
10 - [BUILD] Changed 'install' target to install the binaries first
11 - [BUILD] Replace hardcoded 'LD = gcc' with 'LD = $(CC)'
12 - [MEDIUM]: Inversion for options
13 - [MEDIUM]: Count retries and redispatches also for servers, fix redistribute_pending, extend logs, %d->%u cleanup
14 - [BUG]: Restore clearing t->logs.bytes
15 - [MEDIUM]: rework checks handling
16 - [DOC] Update a "contrib" file with a hint about a scheme used for formathing subjects
17 - [MEDIUM] Implement "track [<backend>/]<server>"
18 - [MINOR] Implement persistent id for proxies and servers
19 - [BUG] Don't increment server connections too much + fix retries
20 - [MEDIUM]: Prevent redispatcher from selecting the same server, version #3
21 - [MAJOR] proto_uxst rework -> SNMP support
22 - [BUG] appsession lookup in URL does not work
23 - [BUG] transparent proxy address was ignored in backend
24 - [BUG] hot reconfiguration failed because of a wrong error check
25 - [DOC] big update to the configuration manual
26 - [DOC] large update to the configuration manual
27 - [DOC] document more options
28 - [BUILD] major rework of the GNU Makefile
29 - [STATS] add support for "show info" on the unix socket
30 - [DOC] document options forwardfor to logasap
31 - [MINOR] add support for the "backlog" parameter
32 - [OPTIM] introduce global parameter "tune.maxaccept"
33 - [MEDIUM] introduce "timeout http-request" in frontends
34 - [MINOR] tarpit timeout is also allowed in backends
35 - [BUG] increment server connections for each connect()
36 - [MEDIUM] add a turn-around state of one second after a connection failure
37 - [BUG] fix typo in redispatched connection
38 - [DOC] document options nolinger to ssl-hello-chk
39 - [DOC] added documentation for "option tcplog" to "use_backend"
40 - [BUG] connect_server: server might not exist when sending error report
41 - [MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY)
42 - [MEDIUM] add non-local bind to connect() on Linux
43 - [MINOR] add transparent proxy support for balabit's Tproxy v4
44 - [BUG] use backend's source and not server's source with tproxy
45 - [BUG] fix overlapping server flags
46 - [MEDIUM] fix server health checks source address selection
47 - [BUG] build failed on CONFIG_HAP_LINUX_TPROXY without CONFIG_HAP_CTTPROXY
48 - [DOC] added "server", "source" and "stats" keywords
49 - [DOC] all server parameters have been documented
50 - [DOC] document all req* and rsp* keywords.
51 - [DOC] added documentation about HTTP header manipulations
52 - [BUG] log response byte count, not request
53 - [BUILD] code did not build in full debug mode
54 - [BUG] fix truncated responses with sepoll
55 - [MINOR] use s->frt_addr as the server's address in transparent proxy
56 - [MINOR] fix configuration hint about timeouts
57 - [DOC] minor cleanup of the doc and notice to contributors
58 - [MINOR] report correct section type for unknown keywords.
59 - [BUILD] update MacOS Makefile to build on newer versions
60 - [DOC] fix erroneous "useallbackups" option in the doc
61 - [DOC] applied small fixes from early readers
62 - [MINOR] add configuration support for "redir" server keyword
63 - [MEDIUM] completely implement the server redirection method
64 - [TESTS] add a test case for the server redirection mechanism
65 - [DOC] add a configuration entry for "server ... redir <prefix>"
66 - [BUILD] backend.c and checks.c did not build without tproxy !
67 - Revert "[BUILD] backend.c and checks.c did not build without tproxy !"
68 - [BUILD] backend.c and checks.c did not build without tproxy !
69 - [OPTIM] used unsigned ints for HTTP state and message offsets
70 - [OPTIM] GCC4's builtin_expect() is suboptimal
71 - [BUG] failed conns were sometimes incremented in the frontend!
72 - [BUG] timeout.check was not pre-set to eternity
73 - [TESTS] add test-pollers.cfg to easily report pollers in use
74 - [BUG] do not apply timeout.connect in checks if unset
75 - [BUILD] ensure that makefile understands USE_DLMALLOC=1
76 - [MINOR] silent gcc for a wrong warning
77 - [CLEANUP] update .gitignore to ignore more temporary files
78 - [CLEANUP] report dlmalloc's source path only if explictly specified
79 - [BUG] str2sun could leak a small buffer in case of error during parsing
80 - [BUG] option allbackups was not working anymore in roundrobin mode
81 - [MAJOR] implementation of the "leastconn" load balancing algorithm
82 - [BUILD] ensure that users don't build without setting the target anymore.
83 - [DOC] document the leastconn LB algo
84 - [MEDIUM] fix stats socket limitation to 16 kB
85 - [DOC] fix unescaped space in httpchk example.
86 - [BUG] fix double-decrement of server connections
87 - [TESTS] add a test case for port mapping
88 - [TESTS] add a benchmark for integer hashing
89 - [TESTS] add new methods in ip-hash test file
90 - [MAJOR] implement parameter hashing for POST requests
91
Willy Tarreaue5b77e82007-12-06 01:25:44 +0100922007/12/06 : 1.3.14
93 - New option http_proxy (Alexandre Cassen)
94 - add support for "maxqueue" to limit server queue overload (Elijah Epifanov)
95 - Check for duplicated conflicting proxies (Krzysztof Oledzki)
96 - stats: report server and backend cumulated downtime (Krzysztof Oledzki)
97 - use backends only with use_backend directive (Krzysztof Oledzki)
98 - Handle long lines properly (Krzysztof Oledzki)
99 - Implement and use generic findproxy and relax duplicated proxy check (Krzysztof Oledzki)
100 - continous statistics (Krzysztof Oledzki)
101 - add support for logging via a UNIX socket (Robert Tsai)
102 - fix error checking in strl2ic/strl2uic()
103 - fix calls to localtime()
104 - provide easier-to-use ultoa_* functions
105 - provide easy-to-use limit_r and LIM2A* macros
106 - add a simple test for the status page
107 - move error codes to common/errors.h
108 - silent warning about LIST_* being redefined on OpenBSD
109 - add socket address length to the protocols
110 - group PR_O_BALANCE_* bits into a checkable value
111 - externalize the "balance" option parser to backend.c
112 - introduce the "url_param" balance method
113 - make default_backend work in TCP mode too
114 - disable warning about localtime_r on Solaris
115 - adjust error messages about conflicting proxies
116 - avoid calling some layer7 functions if not needed
117 - simplify error path in event_accept()
118 - add an options field to the listeners
119 - added a new state to listeners
120 - unbind_listener() must use fd_delete() and not close()
121 - add a generic unbind_listener() primitive
122 - add a generic delete_listener() primitive
123 - add a generic unbind_all_listeners() primitive
124 - create proto_tcp and move initialization of proxy listeners
125 - stats: report numerical process ID, proxy ID and server ID
126 - relative_pid was not initialized
127 - missing header names in raw stats output
128 - fix missing parenthesis in check_response_for_cacheability
129 - small optimization on session_process_counters()
130 - merge ebtree version 3.0
131 - make ebtree headers multiple-include compatible
132 - ebtree: include config.h for REGPRM*
133 - differentiate between generic LB params and map-specific ones
134 - add a weight divisor to the struct proxy
135 - implement the Fast Weighted Round Robin (FWRR) algo
136 - include filltab25.c to experiment on FWRR for dynamic weights
137 - merge test-fwrr.cfg to validate dynamic weights
138 - move the load balancing algorithm to be->lbprm.algo
139 - change server check result to a bit field
140 - implement "http-check disable-on-404" for graceful shutdown
141 - secure the calling conditions of ->set_server_status_{up,down}
142 - report disabled servers as "NOLB" when they are still UP
143 - document the "http-check disable-on-404" option
144 - http-check disable-on-404 is not limited to HTTP mode
145 - add a test file for disable-on-404
146 - use distinct bits per load-balancing algorithm type
147 - implement the slowstart parameter for servers
148 - document the server's slowstart parameter
149 - stats: report the server warm up status in a "throttle" column
150 - fix 2 minor issues on AIX
151 - add the "nbsrv" ACL verb
152 - add the "fail" condition to monitor requests
153 - remove a warning from gcc due to htons() in standard.c
154 - fwrr: ensure that we never overflow in placements
155 - store the build options to report with -vv
156 - fix the status return of the init script (R.I. Pienaar)
157 - stats: real time monitoring script for unix socket (Prizee)
158 - document "nbsrv" and "monitor fail"
159 - restrict the set of allowed characters for identifiers
160 - implement a time parsing function
161 - add support for time units in the configuration
162 - add a bit of documentation about timers
163 - introduce separation between contimeout, and tarpit + queue
164 - introduce the "timeout" keyword
165 - grouped all timeouts in one structure
166 - slowstart is in ms, not seconds
167 - slowstart: ensure we don't start with a null weight
168 - report the number of times each server was selected
169 - fix build on AIX due to recent log changes
170 - fix build on Solaris due to recent log changes
171
Willy Tarreaue855f422007-10-18 22:38:22 +02001722007/10/18 : 1.3.13
173 - replace the code under O'Reilly license (Arnaud Cornet)
174 - add a small man page (Arnaud Cornet)
175 - stats: report haproxy's version by default (Krzysztof Oledzki)
176 - stats: count server retries and redispatches (Krzysztof Oledzki)
177 - core: added easy support for Doug Lea's malloc (dlmalloc)
178 - core: fade out memory usage when stopping proxies
179 - core: moved the sockaddr pointer to the fdtab structure
180 - core: add generic protocol support
181 - core: implement client-side support for PF_UNIX sockets
182 - stats: implement the CSV output
183 - stats: add a link to the CSV export HTML page
184 - stats: implement the statistics output on a unix socket
185 - config: introduce the "stats" keyword in global section
186 - build: centralize version and date into one file for each
187 - tests: added a new hash algorithm
188
1892007/10/18 : 1.3.12.3
190 - add the "nolinger" option to disable data lingering (Alexandre Cassen)
191 - fix double-free during clean exit (Krzysztof Oledzki)
192 - prevent the system from sending an RST when closing health-checks
193 (Krzysztof Oledzki)
194 - do not add a cache-control header when on non-cacheable responses
195 (Krzysztof Oledzki)
196 - spread health checks even more (Krzysztof Oledzki)
197 - stats: scope "." must match the backend and not the frontend
198 - fixed call to chroot() during startup
199 - fix wrong timeout computation in event_accept()
200 - remove condition for exit() under fork() failure
201
2022007/09/20 : 1.3.12.2
203 - fix configuration sanity checks for TCP listeners
204 - set the log socket receive window to zero bytes
205 - pre-initialize timeouts to infinity, not zero
206 - fix the SIGHUP message not to alert on server-less proxies
207 - timeouts and retries could be ignored when switching backend
208 - added a file to check that "retries" works.
209 - O'Reilly has clarified its license
210
2112007/09/05 : 1.3.12.1
212 - spec I/O: fix allocations of spec entries for an FD
213 - ensure we never overflow in chunk_printf()
214 - improve behaviour with large number of servers per proxy
215 - add support for "stats refresh <interval>"
216 - stats page: added links for 'refresh' and 'hide down'
217 - fix backend's weight in the stats page.
218 - the "stats" keyword is not allowed in a pure frontend.
219 - provide a test configuration file for stats and checks
220
Willy Tarreaub21152b2007-06-17 23:41:40 +02002212007/06/17 : 1.3.12
222 - fix segfault at exit when using captures
223 - bug: negation in ACL conds was not cleared between terms
224 - errorfile: use a local file to feed error messages
225 - acl: support '-i' to ignore case when matching
226 - acl: smarter integer comparison with operators eq,lt,gt,le,ge
227 - acl: support maching on 'path' component
228 - acl: implement matching on header values
229 - acl: distinguish between request and response headers
230 - acl: permit to return any header when no name specified
231 - acl: provide default ACLs
232 - added the 'use_backend' keyword for full content-switching
233 - acl: specify the direction during fetches
234 - acl: provide the argument length for fetch functions
235 - acl: provide a reference to the expr to fetch()
236 - improve memory freeing upon exit
237 - str2net() must not change the const char *
238 - shut warnings 'is*' macros from ctype.h on solaris
239
Willy Tarreaua3503e02007-06-03 17:27:07 +02002402007/06/03 : 1.3.11.4
241 - do not re-arm read timeout in SHUTR state !
242 - optimize I/O by detecting system starvation
243 - the epoll FD must not be shared between processes
244 - limit the number of events returned by *poll*
245
Willy Tarreau3c6fc072007-05-14 14:40:25 +02002462007/05/14 : 1.3.11.3
247 - pre-initialize timeouts with tv_eternity during parsing
248
Willy Tarreaufc273c22007-05-14 03:42:47 +02002492007/05/14 : 1.3.11.2
250 - fixed broken health-checks since switch to timeval
251
Willy Tarreau3c5340c2007-05-14 03:18:43 +02002522007/05/14 : 1.3.11.1
253 - fixed ev_kqueue which was forgotten during the switch to timeval
254 - allowed null timeouts for past events in select
255
Willy Tarreau544eb402007-05-14 02:42:33 +02002562007/05/14 : 1.3.11
257 - fixed ev_sepoll again by rewriting the state machine
258 - switched all timeouts to timevals instead of milliseconds
259 - improved memory management using mempools v2.
260 - several minor optimizations
261
Willy Tarreau9ca931f2007-05-10 07:51:17 +02002622007/05/09 : 1.3.10.2
263 - fixed build on OpenBSD (missing types.h)
264
Willy Tarreau13398d32007-05-09 22:58:28 +02002652007/05/09 : 1.3.10.1
266 - fixed sepoll transition matrix (two states were missing)
267
Willy Tarreau61beedf2007-05-09 01:44:58 +02002682007/05/08 : 1.3.10
269 - several fixes in ev_sepoll
270 - fixed some expiration dates on some tasks
271 - fixed a bug in connection establishment detection due to speculative I/O
272 - fixed rare bug occuring on TCP with early close (reported by Andy Smith)
273 - implemented URI hashing algorithm (Guillaume Dallaire)
274 - implemented SMTP health checks (Peter van Dijk)
275 - replaced the rbtree with ul2tree from old scheduler project
276 - new framework for generic ACL support
277 - added the 'acl' and 'block' keywords to the config language
278 - added several ACL criteria and matches (IP, port, URI, ...)
279 - cleaned up and better modularization for some time functions
280 - fixed list macros
281 - fixed useless memory allocation in str2net()
282 - store the original destination address in the session
283
Willy Tarreau6e0433f2007-04-16 01:18:12 +02002842007/04/15 : 1.3.9
285 - modularized the polling mechanisms and use function pointers instead
286 of macros at many places
287 - implemented support for FreeBSD's kqueue() polling mechanism
288 - fixed a warning on OpenBSD : MIN/MAX redefined
289 - change socket registration order at startup to accomodate kqueue.
290 - several makefile cleanups to support old shells
291 - fix build with limits.h once for all
292 - ev_epoll: do not rely on fd_sets anymore, use changes stacks instead.
293 - fdtab now holds the results of polling
294 - implemented support for speculative I/O processing with epoll()
295 - remove useless calls to shutdown(SHUT_RD), resulting in small speed boost
296 - auto-registering of pollers at load time
297
Willy Tarreau42c76592007-04-03 20:30:13 +02002982007/04/03 : 1.3.8.2
299 - rewriting either the status line or request line could crash the
300 process due to a pointer which ought to be reset before parsing.
301 - rewriting the status line in the response did not work, it caused
302 a 502 Bad Gateway due to an erroneous state during parsing
303
Willy Tarreauef6d7612007-04-01 11:06:22 +02003042007/04/01 : 1.3.8.1
305 - fix reqadd when no option httpclose is used.
306 - removed now unused fiprm and beprm from proxies
307 - split logs into two versions : TCP and HTTP
308 - added some docs about http headers storage and acls
309 - added a VIM script for syntax color highlighting (Bruno Michel)
310
Willy Tarreaud661cc02007-03-26 00:24:56 +02003112007/03/25 : 1.3.8
312 - fixed several bugs which might have caused a crash with bad configs
313 - several optimizations in header processing
314 - many progresses towards transaction-based processing
315 - option forwardfor may be used in frontends
316 - completed HTTP response processing
317 - some code refactoring between request and response processing
318 - new HTTP header manipulation functions
319 - optimizations on the recv() patch to reduce CPU usage under very
320 high data rates.
321 - more user-friendly help about the 'usesrc' keyword (CTTPROXY)
322 - username/groupname support from Marcus Rueckert
323 - added the "except" keyword to the "forwardfor" option (Bryan German)
324 - support for health-checks on other addresses (Fabrice Dulaunoy)
325 - makefile for MacOS 10.4 / Darwin (Dan Zinngrabe)
326 - do not insert "Connection: close" in HTTP/1.0 messages
327
Willy Tarreau9cabf702007-01-26 23:49:01 +01003282007/01/26 : 1.3.7
329 - fix critical bug introduced with 1.3.6 : an empty request header
330 may lead to a crash due to missing pointer assignment
331 - hdr_idx might be left uninitialized in debug mode
332 - fixed build on FreeBSD due to missing fd_set declaration
333
Willy Tarreaue7a24382007-01-22 08:57:44 +01003342007/01/22 : 1.3.6.1
335 - change in the header chaining broke cookies and authentication
336
Willy Tarreau49e1ee82007-01-22 00:56:46 +01003372007/01/22 : 1.3.6
338 - stats now support the HEAD method too
339 - extracted http request from the session
340 - huge rework of the HTTP parser which is now a 28-state FSM.
341 - linux-style likely/unlikely macros for optimization hints
342 - do not create a server socket when there's no server
343 - imported lots of docs
344
Willy Tarreau5871f8e2007-01-07 02:47:01 +01003452007/01/07 : 1.3.5
346 - stats: swap color sets for active and backup servers
347 - try to guess server check port when unset
348 - added complete support and doc for TCP Splicing
349 - replace the wait-queue linked list with an rbtree.
350 - a few bugfixes and cleanups
351
Willy Tarreau85270da2007-01-02 00:59:39 +01003522007/01/02 : 1.3.4
353 - support for cttproxy on the server side to present the client
354 address to the server.
355 - added support for SO_REUSEPORT on Linux (needs kernel patch)
356 - new RFC2616-compliant HTTP request parser with header indexing
357 - split proxies in frontends, rulesets and backends
358 - implemented the 'req[i]setbe' to select a backend depending
359 on the contents
360 - added the 'default_backend' keyword to select a default BE.
361 - new stats page featuring FEs and BEs + bytes in both dirs
362 - improved log format to indicate the backend and the time in ms.
363 - lots of cleanups
364
Willy Tarreau9c9fea42006-10-16 00:03:35 +02003652006/10/15 : 1.3.3
366 - fix broken redispatch option in case the connection has already
367 been marked "in progress" (ie: nearly always).
368 - support regparm on x86 to speed up some often called functions
369 - removed a few useless calls to gettimeofday() in log functions.
370 - lots of 'const char*' cleanups
371 - turn every FD_* into functions which are faster on recent CPUs
372
Willy Tarreau690f9aa2006-09-03 11:23:06 +02003732006/09/03 : 1.3.2
374 - started the changes towards I/O completion callbacks. stream_sock* have
375 replaced event_*.
376 - added the new "reqtarpit" and "reqitarpit" protection features
377
Willy Tarreau8f2b8552006-07-09 17:11:39 +02003782006/07/09 : 1.3.1 (1.2.15)
379 - now, haproxy warns about missing timeout during startup to try to
380 eliminate all those buggy configurations.
381 - added "Content-Type: text/html" in responses wherever appropriate, as
382 suggested by Cameron Simpson.
383 - implemented "option ssl-hello-chk" to use SSLv3 CLIENT HELLO messages to
384 test server's health
385 - implemented "monitor-uri" so that haproxy can reply to a specific URI with
386 an "HTTP/1.0 200 OK" response. This is useful to validate multiple proxies
387 at once.
388
Willy Tarreaub9e98b62006-07-03 10:32:46 +02003892006/06/29 : 1.3.0
390 - exploded the whole file into multiple .c and .h. No functionnal
Willy Tarreau8f2b8552006-07-09 17:11:39 +0200391 difference is expected at all.
392 - fixed a bug by which neither stats nor error messages could be returned if
393 'clitimeout' was missing.
Willy Tarreaub9e98b62006-07-03 10:32:46 +0200394
willy tarreau7e6328d2006-05-21 23:26:20 +02003952006/05/21 : 1.2.14
396 - new HTML status report with the 'stats' keyword.
397 - added the 'abortonclose' option to better resist traffic surges
398 - implemented dynamic traffic regulation with the 'minconn' option
399 - show request time on denied requests
400 - definitely fixed hot reconf on OpenBSD by the use of SO_REUSEPORT
401 - now a proxy instance is allowed to run without servers, which is
402 useful to dedicate one instance to stats
403 - added lots of error counters
404 - a missing parenthesis preventd matching of cacheable cookies
405 - a missing parenthesis in poll_loop() might have caused missed events.
406
Willy TARREAU4404b7e2006-05-14 10:00:09 +02004072006/05/14 : 1.2.13.1
408 - an uninitialized field in the struct session could cause a crash when
409 the session was freed. This has been encountered on Solaris only.
410 - Solaris and OpenBSD no not support shutdown() on listening socket. Let's
411 be nice to them by performing a soft stop if pause fails.
412
willy tarreauc3a2e072006-05-13 18:51:38 +02004132006/05/13 : 1.2.13
414 - 'maxconn' server parameter to do per-server session limitation
415 - queueing to support non-blocking session limitation
416 - fixed removal of cookies for cookie-less servers such as backup servers
417 - two separate wait queues for expirable and non-expirable tasks provide
418 better performance with lots of sessions.
419 - some code cleanups and performance improvements
420 - made state dumps a bit more verbose
421 - fixed missing checks for NULL srv in dispatch mode
422 - load balancing on backup servers was not possible in source hash mode.
423 - two session flags shared the same bit, but fortunately they were not
424 compatible.
425
willy tarreauc0d4bbd2006-04-15 21:47:50 +02004262006/04/15 : 1.2.12
427 Very few changes preparing for more important changes to support per-server
428 session limitations and queueing :
429 - ignore leading empty lines in HTTP requests as suggested by RFC2616.
430 - added the 'weight' parameter to the servers, limited to 1..256. It applies
431 to roundrobin and source hash.
432 - the optional '-s' option could clobber '-st' and '-sf' if compiled in.
433
willy tarreaue0dd2692006-03-30 16:27:34 +02004342006/03/30 : 1.2.11.1
435 - under some conditions, it might have been possible that when the
436 last dead server became available, it would not have been used
437 till another one would have changed state. Could not be reproduced
438 at all, however seems possible from the code.
439
willy tarreaud2058dc2006-03-25 20:35:41 +01004402006/03/25 : 1.2.11
441 - added the '-db' command-line option to disable backgrounding.
442 - added the -sf/-st command-line arguments which are used to specify
443 a list of pids to send a FINISH or TERMINATE signal upon startup.
444 They will also be asked to release their port if a bind fails.
445 - reworked the startup mechanism to allow the sending of a signal to a list
446 of old pids if a socket cannot be bound, with a retry for a limited amount
447 of time (1 second by default).
448 - added the ability to enforce limits on memory usage.
449 - added the 'source' load-balancing algorithm which uses the source IP(v4|v6)
450 - re-architectured the server round-robin mechanism to ease integration of
451 other algorithms. It now relies on the number of active and backup servers.
452 - added a counter for the number of active and backup servers, and report
453 these numbers upon SIGHUP or state change.
454
willy tarreaubfad5742006-03-23 14:19:11 +01004552006/03/23 : 1.2.10.1
456 - while fixing the backup server round-robin "feature", a new bug was
457 introduced which could miss some backup servers.
458 - the displayed proxy name was wrong when dumping upon SIGHUP.
459
willy tarreauaaff30e2006-03-19 21:30:41 +01004602006/03/19 : 1.2.10
461 - assert.h is needed when DEBUG is defined.
462 - ENORMOUS long standing bug affecting the epoll polling system :
463 event_data is a union, not a structure !
464 - Make fd management more robust and easier to debug. Also some
465 micro-optimisations.
466 - Limit the number of consecutive accept() in multi-process mode.
467 This produces a more evenly distributed load across the processes and
468 slightly improves performance by reducing bottlenecks.
469 - Make health-checks be more regular, and faster to retry after a timeout.
470 - Fixed some messages to ease parsing of alerts.
471 - provided a patch to enable epoll on RHEL3 kernels.
472 - Separated OpenBSD build from the main Makefile into a new one.
473
willy tarreau50be0172006-03-15 19:41:19 +01004742006/03/15 : 1.2.9
475 - haproxy could not be stopped after being paused, it had to be woken up
476 first. This has been fixed.
477 - the 'ulimit-n' parameter is now optional and by default computed from
478 maxconn + the number of listeners + the number of health-checks.
479 - it is now possible to specify a maximum number of connections at build
480 time with the SYSTEM_MAXCONN define. The value set in the configuration
481 file will then be limited to this value, and only the command-line '-n'
482 option will be able to bypass it. It will prevent against accidental
483 high memory usage on small systems.
484 - RFC2616 expects that any HTTP agent accepts multi-line headers. Earlier
485 versions did not detect a line beginning with a space as the continuation
486 of previous header. It is now correct.
487 - health checks sent to servers configured with identical intervals were
488 sent in perfect synchronisation because the initial time was the same
489 for all. This could induce high load peaks when fragile servers were
490 hosting tens of instances for the same application. Now the load is
491 spread evenly across the smallest interval amongst a listener.
492 - a new 'forceclose' option was added to make the proxy close the outgoing
493 channel to the server once it has sent all its headers and the server
494 starts responding. This helps some servers which don't close upon the
495 'Connection: close' header. It implies 'option httpclose'.
496 - there was a bug in the way the backup servers were handled. They were
497 erroneously load-balanced while the doc said the opposite. Since
498 load-balanced backup servers is one of the features some people have
499 been asking for, the problem was fixed to reflect the documented
500 behaviour and a new option 'allbackups' was introduced to provide the
501 feature to those who need it.
502 - a never ending connect() could lead to a fast select() loop if its
503 timeout times the number of retransmits exceeded the server read or write
504 timeout, because the later was used to compute select()'s timeout while
505 the connection timeout was not reached.
506 - now we initialize the libc's localtime structures very early so that even
507 under OOM conditions, we can still send dated error messages without
508 segfaulting.
509 - the 'daemon' mode implies 'quiet' and disables 'verbose' because file
510 descriptors are closed.
511
willy tarreau065f1c02006-01-29 22:10:07 +01005122006/01/29 : 1.2.8
513 - fixed a nasty bug affecting poll/epoll which could return unmodified data
514 from the server to the client, and sometimes lead to memory corruption
515 crashing the process.
516 - added the new pause/play mechanism with SIGTTOU/SIGTTIN for hot-reconf.
517
5182005/12/18 : 1.2.7.1
519 - the "retries" option was ignored because connect() could not return an
520 error if the connection failed before the timeout.
521 - TCP health-checks could not detect a connection refused in poll/epoll
522 mode.
523
willy tarreaua56eca72005-12-18 01:34:42 +01005242005/11/13 : 1.2.7
willy tarreau77bc8542005-12-18 01:31:43 +0100525 - building with -DUSE_PCRE should include PCRE headers and not regex.h. At
526 least on Solaris, this caused the libc's regex primitives to be used instead
527 of PCRE, which caused trouble on group references. This is now fixed.
willy tarreaud0fb4652005-12-18 01:32:04 +0100528 - delayed the quiet mode during startup so that most of the startup alerts can
529 be displayed even in quiet mode.
530 - display an alert when a listener has no address, invalid or no port, or when
531 there are no enabled listeners upon startup.
willy tarreau4373b962005-12-18 01:32:31 +0100532 - added "static-pcre" to the list of supported regex options in the Makefile.
willy tarreau77bc8542005-12-18 01:31:43 +0100533
willy tarreaub952e1d2005-12-18 01:31:20 +01005342005/10/09 : 1.2.7rc (1.1.33rc)
535 - second batch of socklen_t changes.
536 - clean-ups from Cameron Simpson.
537 - because tv_remain() does not know about eternity, using no timeout can
538 make select() spin around a null time-out. Bug reported by Cameron Simpson.
539 - client read timeout was not properly set to eternity initialized after an
540 accept() if it was not set in the config. It remained undetected so long
541 because eternity is 0 and newly allocated pages are zeroed by the system.
542 - do not call get_original_dst() when not in transparent mode.
543 - implemented a workaround for a bug in certain epoll() implementations on
544 linux-2.4 kernels (epoll-lt <= 0.21).
545 - implemented TCP keepalive with new options : tcpka, clitcpka, srvtcpka.
546
willy tarreauc5f73ed2005-12-18 01:26:38 +01005472005/08/07 : 1.2.6
548 - clean-up patch from Alexander Lazic fixes build on Debian 3.1 (socklen_t).
549
5502005/07/06 : 1.2.6-pre5 (1.1.32)
willy tarreau0fe39652005-12-18 01:25:24 +0100551 - added the number of active sessions (proxy/process) in the logs
552
5532005/07/06 : 1.2.6-pre4 (1.1.32-pre4)
willy tarreaub1285d52005-12-18 01:20:14 +0100554 - the time-out fix introduced in 1.1.25 caused a corner case where it was
555 possible for a client to keep a connection maintained regardless of the
556 timeout if the server closed the connection during the HEADER phase,
557 while the client ignored the close request while doing nothing in the
558 other direction. This has been fixed now by ensuring that read timeouts
559 are re-armed when switching to any SHUTW state.
560
5612005/07/05 : 1.2.6-pre3 (1.1.32-pre3)
562 - enhanced error reporting in the logs. Now the proxy will precisely detect
563 various error conditions related to the system and/or process limits, and
564 generate LOG_EMERG logs indicating that a resource has been exhausted.
565 - logs will contain two new characters for the error cause : 'R' indicates
566 a resource exhausted, and 'I' indicates an internal error, though this
567 one should never happen.
568 - server connection timeouts can now be reported in the logs (sC), as well
569 as connections refused because of maxconn limitations (PC).
570
5712005/07/05 : 1.2.6-pre2 (1.1.32-pre2)
572 - new global configuration keyword "ulimit-n" may be used to raise the FD
573 limit to usable values.
574 - a warning is now displayed on startup if the FD limit is lower than the
575 configured maximum number of sockets.
576
5772005/07/05 : 1.2.6-pre1 (1.1.32-pre1)
578 - new configuration keyword "monitor-net" makes it possible to be monitored
579 by external devices which connect to the proxy without being logged nor
580 forwarded to any server. Particularly useful on generic TCPv4 relays.
581
willy tarreau5dffb602005-12-18 01:15:23 +01005822005/06/21 : 1.2.5.2
583 - fixed build on PPC where chars are unsigned by default
584
willy tarreau08dedbe2005-12-18 01:13:48 +01005852005/05/02 : 1.2.5.1
586 - dirty hack to fix a bug introduced with epoll : if we close an FD and
587 immediately reassign it to another session through a connect(), the
588 Prev{Read,Write}Events are not updated, which causes trouble detecting
589 changes, thus leading to many timeouts at high loads.
590
willy tarreau64a3cc32005-12-18 01:13:11 +01005912005/04/30 : 1.2.5 (1.1.31)
592 - changed the runtime argument to disable epoll() to '-de'
593 - changed the runtime argument to disable poll() to '-dp'
594 - added global options 'nopoll' and 'noepoll' to do the same at the
595 configuration level.
596 - added a 'linux24e' target to the Makefile for Linux 2.4 systems patched to
597 support epoll().
598 - changed default FD_SETSIZE to 65536 on Solaris (default=1024)
599 - conditionned signals redirection to #ifdef DEBUG_MEMORY
600
willy tarreau1c2ad212005-12-18 01:11:29 +01006012005/04/26 : 1.2.5-pre4
602 - made epoll() support a compile-time option : ENABLE_EPOLL
603 - provided a very little libc replacement for a possibly missing epoll()
604 implementation which can be enabled by -DUSE_MY_EPOLL
605 - implemented the poll() poller, which can be enabled with -DENABLE_POLL.
606 The equivalent runtime argument becomes '-P'. A few tests show that it
607 performs like select() with many fds, but slightly slower (certainly
608 because of the higher amount of memory involved).
609 - separated the 3 polling methods and the tasks scheduler into 4 distinct
610 functions which makes the code a lot more modular.
611 - moved some event tables to private static declarations inside the poller
612 functions.
613 - the poller functions can now initialize themselves, run, and cleanup.
614 - changed the runtime argument to enable epoll() to '-E'.
615 - removed buggy epoll_ctl() code in the client_retnclose() function. This
616 function was never meant to remove anything.
617 - fixed a typo which caused glibc to yell about a double free on exit.
618 - removed error checking after epoll_ctl(DEL) because we can never know if
619 the fd is still active or already closed.
620 - added a few entries in the makefile
621
willy tarreauad90a0c2005-12-18 01:09:15 +01006222005/04/25 : 1.2.5-pre3
623 - experimental epoll() support (use temporary '-e' argument)
624
6252005/04/24 : 1.2.5-pre2
willy tarreauc1f47532005-12-18 01:08:26 +0100626 - implemented the HTTP 303 code for error redirection. This forces the
627 browser to fetch the given URI with a GET request. The new keyword for
628 this is 'errorloc303', and a new 'errorloc302' keyword has been created
629 to make them easily distinguishable.
630 - added more controls in the parser for valid use of '\x' sequence.
631 - few fixes from Alex & Klaus
632
willy tarreauad90a0c2005-12-18 01:09:15 +01006332005/02/17 : 1.2.5-pre1
willy tarreauc1f47532005-12-18 01:08:26 +0100634 - fixed a few errors in the documentation
635
6362005/02/13
637 - do not pre-initialize unused file-descriptors before select() anymore.
638
willy tarreau12350152005-12-18 01:03:27 +01006392005/01/22 : 1.2.4
640 - merged Alexander Lazic's and Klaus Wagner's work on application
641 cookie-based persistence. Since this is the first merge, this version is
642 not intended for general use and reports are more than welcome. Some
643 documentation is really needed though.
644
willy tarreau0174f312005-12-18 01:02:42 +01006452005/01/22 : 1.2.3 (1.1.30)
646 - add an architecture guide to the documentation
647 - released without any changes
648
6492004/12/26 : 1.2.3-pre1 (1.1.30-pre1)
650 - increased default BUFSIZE to 16 kB to accept max headers of 8 kB which is
651 compatible with Apache. This limit can be configured in the makefile now.
652 Thanks to Eric Fehr for the checks.
653 - added a per-server "source" option which now makes it possible to bind to
654 a different source for each (potentially identical) server.
655 - changed cookie-based server selection slightly to allow several servers to
656 share a same cookie, thus making it possible to associate backup servers to
657 live servers and ease soft-stop for maintenance periods. (Alexander Lazic)
658 - added the cookie 'prefix' mode which makes it possible to use persistence
659 with thin clients which support only one cookie. The server name is prefixed
660 before the application cookie, and restore back.
661 - fixed the order of servers within an instance to match documentation. Now
662 the servers are *really* used in the order of their declaration. This is
663 particularly important when multiple backup servers are in use.
664
willy tarreau4302f492005-12-18 01:00:37 +01006652004/10/18 : 1.2.2 (1.1.29)
666 - fixed a bug where a TCP connection would be logged twice if the 'logasap'
667 option was enabled without the 'tcplog' option.
668 - encode_string() would use hdr_encode_map instead of the map argument.
669
6702004/08/10 : (1.1.29-pre2)
671 - the logged request is now encoded with '#XX' for unprintable characters
672 - new keywords 'capture request header' and 'capture response header' enable
673 logging of arbitrary HTTP headers in requests and responses
674 - removed "-DSOLARIS" after replacing the last inet_aton() with inet_pton()
675
willy tarreau982249e2005-12-18 00:57:06 +01006762004/06/06 : 1.2.1 (1.1.28)
677 - added the '-V' command line option to verbosely report errors even though
678 the -q or 'quiet' options are specified. This is useful with '-c'.
679 - added a Red Hat init script and a .spec from Simon Matter <simon.matter@invoca.ch>
willy tarreau036e1ce2005-12-17 13:46:33 +0100680
willy tarreau982249e2005-12-18 00:57:06 +01006812004/06/05 :
682 - added the "logasap" option which produces a log without waiting for the data
683 to be transferred from the server to the client.
684 - added the "httpclose" option which removes any "connection:" header and adds
685 "Connection: close" in both direction.
willy tarreau97f58572005-12-18 00:53:44 +0100686 - added the 'checkcache' option which blocks cacheable responses containing
687 dangerous headers, such as 'set-cookie'.
willy tarreau982249e2005-12-18 00:57:06 +0100688 - added 'rspdeny' and 'rspideny' to block certain responses to avoid sensible
689 information leak from servers.
willy tarreau25c4ea52005-12-18 00:49:49 +0100690
6912004/04/18 :
willy tarreaudd07e972005-12-18 00:48:48 +0100692 - send an EMERG log when no server is available for a given proxy
693 - added the '-c' command line option to syntactically check the
694 configuration file without starting the service.
695
willy tarreau8a86dbf2005-12-18 00:45:59 +01006962003/11/09 : 1.2.0
697 - the same as 1.1.27 + IPv6 support on the client side
698
willy tarreaufe2c5c12005-12-17 14:14:34 +01006992003/10/27 : 1.1.27
700 - the configurable HTTP health check introduced in 1.1.23 revealed a shameful
701 bug : the code still assumed that HTTP requests were the same size as the
702 original ones (22 bytes), and failed if they were not.
703 - added support for pidfiles.
704
willy tarreauc58fc692005-12-17 14:13:08 +01007052003/10/22 : 1.1.26
706 - the fix introduced in 1.1.25 for client timeouts while waiting for servers
707 broke almost all compatibility with POST requests, because the proxy
708 stopped to read anything from the client as soon as it got all of its
709 headers.
710
willy tarreauc1cae632005-12-17 14:12:23 +01007112003/10/15 : 1.1.25
712 - added the 'tcplog' option, which provides enhanced, HTTP-like logs for
713 generic TCP proxies, or lighter logs for HTTP proxies.
714 - fixed a time-out condition wrongly reported as client time-out in data
715 phase if the client timeout was lower than the connect timeout times the
716 number of retries.
717
willy tarreau197e8ec2005-12-17 14:10:59 +01007182003/09/21 : 1.1.24
719 - if a client sent a full request then shut its write connection down, then
720 the request was aborted. This case was detected only when using haproxy
721 both as health-check client and as a server.
722 - if 'option httpchk' is used in a 'health' mode server, then responses will
723 change from 'OK' to 'HTTP/1.0 200 OK'.
724 - fixed a Linux-only bug in case of HTTP server health-checks, where a single
725 server response followed by a close could be ignored, and the server seen
726 as failed.
727
willy tarreaueedaa9f2005-12-17 14:08:03 +01007282003/09/19 : 1.1.23
729 - fixed a stupid bug introduced in 1.1.22 which caused second and subsequent
730 'default' sections to keep previous parameters, and not initialize logs
731 correctly.
732 - fixed a second stupid bug introduced in 1.1.22 which caused configurations
733 relying on 'dispatch' mode to segfault at the first connection.
734 - 'option httpchk' now supports method, HTTP version and a few headers.
735 - now, 'option httpchk', 'cookie' and 'capture' can be specified in
736 'defaults' section
737
7382003/09/10 : 1.1.22
willy tarreaua41a8b42005-12-17 14:02:24 +0100739 - 'listen' now supports optionnal address:port-range lists
740 - 'bind' introduced to add new listen addresses
741 - fixed a bug which caused a session to be kept established on a server till
742 it timed out if the client closed during the DATA phase.
743 - the port part of each server address can now be empty to make the proxy
744 connect to the server on the same port it was connected to, be an absolute
745 unsigned number to reflect a single port (as in older versions), or an
746 explicitly signed number (+N/-N) to indicate that this offset must be
747 applied to the port the proxy was connected to, when connecting to the
748 server.
749 - the 'port' server option allows the user to specify a different
750 health-check port than the service one. It is mandatory when only relative
751 ports have been specified and check is required. By default, the checks are
752 sent to the service port.
753 - new 'defaults' section which is rather similar to 'listen' except that all
754 values are only used as default values for future 'listen' sections, until
755 a new 'defaults' resets them. At the moment, server options, regexes,
756 cookie names and captures cannot be set in the 'defaults' section.
757
willy tarreau2f6ba652005-12-17 13:57:42 +01007582003/05/06 : 1.1.21
759 - changed the debug output format so that it now includes the session unique
760 ID followed by the instance name at the beginning of each line.
761 - in debug mode, accept now shows the client's IP and port.
762 - added one 3 small debugging scripts to search and pretty print debug output
763 - changed the default health check request to "OPTIONS /" instead of
764 "OPTIONS *" since not all servers implement the later one.
765 - "option httpchk" now accepts an optional parameter allowing the user to
766 specify and URI other than '/' during health-checks.
767
willy tarreaub1ff9db2005-12-17 13:51:03 +01007682003/04/21 : 1.1.20
769 - fixed two problems with time-outs, one where a server would be logged as
770 timed out during transfer that take longer to complete than the fixed
771 time-out, and one where clients were logged as timed-out during the data
772 phase because they didn't have anything to send. This sometimes caused
773 slow client connections to close too early while in fact there was no
774 problem. The proper fix would be to have a per-fd time-out with
775 conditions depending on the state of the HTTP FSM.
776
willy tarreau906b2682005-12-17 13:49:52 +01007772003/04/16 : 1.1.19
778 - haproxy was NOT RFC compliant because it was case-sensitive on HTTP
779 "Cookie:" and "Set-Cookie:" headers. This caused JVM 1.4 to fail on
780 cookie persistence because it uses "cookie:". Two memcmp() have been
781 replaced with strncasecmp().
782
willy tarreau036e1ce2005-12-17 13:46:33 +01007832003/04/02 : 1.1.18
784 - Haproxy can be compiled with PCRE regex instead of libc regex, by setting
785 REGEX=pcre on the make command line.
786 - HTTP health-checks now use "OPTIONS *" instead of "OPTIONS /".
787 - when explicit source address binding is required, it is now also used for
788 health-checks.
789 - added 'reqpass' and 'reqipass' to allow certain headers but not the request
790 itself.
791 - factored several strings to reduce binary size by about 2 kB.
792 - replaced setreuid() and setregid() with more standard setuid() and setgid().
793 - added 4 status flags to the log line indicating who ended the connection
794 first, the sessions state, the validity of the cookie, and action taken on
795 the set-cookie header.
796
7972002/10/18 : 1.1.17
798 - add the notion of "backup" servers, which are used only when all other
799 servers are down.
800 - make Set-Cookie return "" instead of "(null)" when the server has no
801 cookie assigned (useful for backup servers).
802 - "log" now supports an optionnal level name (info, notice, err ...) above
803 which nothing is sent.
804 - replaced some strncmp() with memcmp() for better efficiency.
805 - added "capture cookie" option which logs client and/or server cookies
806 - cleaned up/down messages and dump servers states upon SIGHUP
807 - added a redirection feature for errors : "errorloc <errnum> <url>"
808 - now we won't insist on connecting to a dead server, even with a cookie,
809 unless option "persist" is specified.
810 - added HTTP/408 response for client request time-out and HTTP/50[234] for
811 server reply time-out or errors.
812
8132002/09/01 : 1.1.16
814 - implement HTTP health checks when option "httpchk" is specified.
815
8162002/08/07 : 1.1.15
817 - replaced setpgid()/setpgrp() with setsid() for better portability, because
818 setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
819
8202002/07/20 : 1.1.14
821 - added "postonly" cookie mode
822
8232002/07/15 : 1.1.13
824 - tv_diff used inverted parameters which led to negative times !
825
8262002/07/13 : 1.1.12
827 - fixed stats monitoring, and optimized some tv_* for most common cases.
828 - replaced temporary 'newhdr' with 'trash' to reduce stack size
829 - made HTTP errors more HTML-fiendly.
830 - renamed strlcpy() to strlcpy2() because of a slightly difference between
831 their behaviour (return value), to avoid confusion.
832 - restricted HTTP messages to HTTP proxies only
833 - added a 502 message when the connection has been refused by the server,
834 to prevent clients from believing this is a zero-byte HTTP 0.9 reply.
835 - changed 'Cache-control:' from 'no-cache="set-cookie"' to 'private' when
836 inserting a cookie, because some caches (apache) don't understand it.
837 - fixed processing of server headers when client is in SHUTR state
838
8392002/07/04 :
840 - automatically close fd's 0,1 and 2 when going daemon ; setpgrp() after
841 setpgid()
842
8432002/06/04 : 1.1.11
844 - fixed multi-cookie handling in client request to allow clean deletion
845 in insert+indirect mode. Now, only the server cookie is deleted and not
willy tarreau906b2682005-12-17 13:49:52 +0100846 all the header. Should now be compliant to RFC2965.
willy tarreau036e1ce2005-12-17 13:46:33 +0100847 - added a "nocache" option to "cookie" to specify that we explicitly want
848 to add a "cache-control" header when we add a cookie.
849 It is also possible to add an "Expires: <old-date>" to keep compatibility
850 with old/broken caches.
851
8522002/05/10 : 1.1.10
853 - if a cookie is used in insert+indirect mode, it's desirable that the
854 the servers don't see it. It was not possible to remove it correctly
855 with regexps, so now it's removed automatically.
856
8572002/04/19 : 1.1.9
858 - don't use snprintf()'s return value as an end of message since it may
859 be larger. This caused bus errors and segfaults in internal libc's
860 getenv() during localtime() in send_log().
861 - removed dead insecure send_syslog() function and all references to it.
862 - fixed warnings on Solaris due to buggy implementation of isXXXX().
863
8642002/04/18 : 1.1.8
865 - option "dontlognull"
866 - fixed "double space" bug in config parser
867 - fixed an uninitialized server field in case of dispatch
868 with no existing server which could cause a segfault during
869 logging.
870 - the pid logged was always the father's, which was wrong for daemons.
871 - fixed wrong level "LOG_INFO" for message "proxy started".
872
8732002/04/13 :
874 - http logging is now complete :
875 - ip:port, date, proxy, server
876 - req_time, conn_time, hdr_time, tot_time
877 - status, size, request
878 - source address
879
8802002/04/12 : 1.1.7
881 - added option forwardfor
882 - added reqirep, reqidel, reqiallow, reqideny, rspirep, rspidel
883 - added "log global" in "listen" section.
884
8852002/04/09 :
886 - added a new "global" section :
887 - logs
888 - debug, quiet, daemon modes
889 - uid, gid, chroot, nbproc, maxconn
890
8912002/04/08 : 1.1.6
892 - regex are now chained and not limited anymore.
893 - unavailable server now returns HTTP/502.
894 - increased per-line args limit to 40
895 - added reqallow/reqdeny to block some request on matches
896 - added HTTP 400/403 responses
897
8982002/04/03 : 1.1.5
899 - connection logging displayed incorrect source address.
900 - added proxy start/stop and server up/down log events.
901 - replaced log message short buffers with larger trash.
902 - enlarged buffer to 8 kB and replace buffer to 4 kB.
903
9042002/03/25 : 1.1.4
905 - made rise/fall/interval time configurable
906
9072002/03/22 : 1.1.3
908 - fixed a bug : cr_expire and cw_expire were inverted in CL_STSHUT[WR]
909 which could lead to loops.
910
9112002/03/21 : 1.1.2
912 - fixed a bug in buffer management where we could have a loop
913 between event_read() and process_{cli|srv} if R==BUFSIZE-MAXREWRITE.
914 => implemented an adjustable buffer limit.
915 - fixed a bug : expiration of tasks in wait queue timeout is used again,
916 and running tasks are skipped.
917 - added some debug lines for accept events.
918 - send warnings for servers up/down.
919
9202002/03/12 : 1.1.1
921 - fixed a bug in total failure handling
922 - fixed a bug in timestamp comparison within same second (tv_cmp_ms)
923
9242002/03/10 : 1.1.0
925 - fixed a few timeout bugs
926 - rearranged the task scheduler subsystem to improve performance,
927 add new tasks, and make it easier to later port to librt ;
928 - allow multiple accept() for one select() wake up ;
929 - implemented internal load balancing with basic health-check ;
930 - cookie insertion and header add/replace/delete, with better strings
931 support.
932
9332002/03/08
934 - reworked buffer handling to fix a few rewrite bugs, and
935 improve overall performance.
936 - implement the "purge" option to delete server cookies in direct mode.
937
9382002/03/07
939 - fixed some error cases where the maxfd was not decreased.
940
9412002/02/26
942 - now supports transparent proxying, at least on linux 2.4.
943
9442002/02/12
945 - soft stop works again (fixed select timeout computation).
946 - it seems that TCP proxies sometimes cannot timeout.
947 - added a "quiet" mode.
948 - enforce file descriptor limitation on socket() and accept().
949
9502001/12/30 : release of version 1.0.2 : fixed a bug in header processing
9512001/12/19 : release of version 1.0.1 : no MSG_NOSIGNAL on solaris
9522001/12/16 : release of version 1.0.0.
9532001/12/16 : added syslog capability for each accepted connection.
9542001/11/19 : corrected premature end of files and occasional SIGPIPE.
9552001/10/31 : added health-check type servers (mode health) which replies OK then closes.
9562001/10/30 : added the ability to support standard TCP proxies and HTTP proxies
957 with or without cookies (use keyword http for this).
9582001/09/01 : added client/server header replacing with regexps.
959 eg:
960 cliexp ^(Host:\ [^:]*).* Host:\ \1:80
961 srvexp ^Server:\ .* Server:\ Apache
9622000/11/29 : first fully working release with complete FSMs and timeouts.
9632000/11/28 : major rewrite
9642000/11/26 : first write