blob: 1ce97c43db7a5878eda6c9439cb445e16b979d96 [file] [log] [blame]
willy tarreau036e1ce2005-12-17 13:46:33 +01001ChangeLog :
2===========
willy tarreau4302f492005-12-18 01:00:37 +01003
Willy Tarreaubeb05ae2009-05-10 20:27:47 +020042009/05/10 : 1.3.18
5 - [MEDIUM] add support for "balance hdr(name)"
6 - [CLEANUP] give a little bit more information in error message
7 - [MINOR] add X-Original-To: header
8 - [BUG] x-original-to: fix missing initialization to default value
9 - [BUILD] spec file: fix broken pipe during rpmbuild and add man file
10 - [MINOR] improve reporting of misplaced acl/reqxxx rules
11 - [MEDIUM] http: add options to ignore invalid header names
12 - [MEDIUM] http: capture invalid requests/responses even if accepted
13 - [BUILD] add format(printf) to printf-like functions
14 - [MINOR] fix several printf formats and missing arguments
15 - [BUG] stats: total and lbtot are unsigned
16 - [MINOR] fix a few remaining printf-like formats on 64-bit platforms
17 - [CLEANUP] remove unused make option from haproxy.spec
18 - [BUILD] make it possible to pass alternative arch at build time
19 - [MINOR] switch all stat counters to 64-bit
20 - [MEDIUM] ensure we don't recursively call pool_gc2()
21 - [CRITICAL] uninitialized response field can sometimes cause crashes
22 - [BUG] fix wrong pointer arithmetics in HTTP message captures
23 - [MINOR] rhel init script : support the reload operation
24 - [MINOR] add basic signal handling functions
25 - [BUILD] add signal.o to all makefiles
26 - [MEDIUM] call signal_process_queue from run_poll_loop
27 - [MEDIUM] pollers: don't wait if a signal is pending
28 - [MEDIUM] convert all signals to asynchronous signals
29 - [BUG] O(1) pollers should check their FD before closing it
30 - [MINOR] don't close stdio fds twice
31 - [MINOR] add options dontlog-normal and log-separate-errors
32 - [DOC] minor fixes and rearrangements
33 - [BUG] fix parser crash on unconditional tcp content rules
34 - [DOC] rearrange the configuration manual and add a summary
35 - [MINOR] standard: provide a new 'my_strndup' function
36 - [MINOR] implement per-logger log level limitation
37 - [MINOR] compute the max of sessions/s on fe/be/srv
38 - [MINOR] stats: report max sessions/s and limit in CSV export
39 - [MINOR] stats: report max sessions/s and limit in HTML stats
40 - [MINOR] stats/html: use the arial font before helvetica
41
Willy Tarreauf459b422009-03-29 15:26:57 +0200422009/03/29 : 1.3.17
43 - Update specfile to build for v2.6 kernel.
44 - [BUG] reset the stream_interface connect timeout upon connect or error
45 - [BUG] reject unix accepts when connection limit is reached
46 - [MINOR] show sess: report number of calls to each task
47 - [BUG] don't call epoll_ctl() on closed sockets
48 - [BUG] stream_sock: disable I/O on fds reporting an error
49 - [MINOR] sepoll: don't count two events on the same FD.
50 - [MINOR] show sess: report a lot more information about sessions
51 - [BUG] stream_sock: check for shut{r,w} before refreshing some timeouts
52 - [BUG] don't set an expiration date directly from now_ms
53 - [MINOR] implement ulltoh() to write HTML-formatted numbers
54 - [MINOR] stats/html: group digits by 3 to clarify numbers
55 - [BUILD] remove haproxy-small.spec
56 - [BUILD] makefile: remove unused references to linux24eold and EPOLL_CTL_WORKAROUND
57
Willy Tarreau8019ffa2009-03-22 23:46:12 +0100582009/03/22 : 1.3.16
59 - [BUILD] Fixed Makefile for linking pcre
60 - [CONTRIB] selinux policy for haproxy
61 - [MINOR] show errors: encode backslash as well as non-ascii characters
62 - [MINOR] cfgparse: some cleanups in the consistency checks
63 - [MINOR] cfgparse: set backends to "balance roundrobin" by default
64 - [MINOR] tcp-inspect: permit the use of no-delay inspection
65 - [MEDIUM] reverse internal proxy declaration order to match configuration
66 - [CLEANUP] config: catch and report some possibly wrong rule ordering
67 - [BUG] connect timeout is in the stream interface, not the buffer
68 - [BUG] session: errors were not reported in termination flags in TCP mode
69 - [MINOR] tcp_request: let the caller take care of errors and timeouts
70 - [CLEANUP] http: remove some commented out obsolete code in process_response
71 - [MINOR] update ebtree to version 4.1
72 - [MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1
73 - [BUG] sched: don't leave 3 lasts tasks unprocessed when niced tasks are present
74 - [BUG] scheduler: fix improper handling of duplicates __task_queue()
75 - [MINOR] sched: permit a task to stay up between calls
76 - [MINOR] task: keep a task count and clean up task creators
77 - [MINOR] stats: report number of tasks (active and running)
78 - [BUG] server check intervals must not be null
79 - [OPTIM] stream_sock: don't retry to read after a large read
80 - [OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates
81 - [MEDIUM] session: don't resync FSMs on non-interesting changes
82 - [BUG] check for global.maxconn before doing accept()
83 - [OPTIM] sepoll: do not re-check whole list upon accepts
84
Willy Tarreau8185ced2009-03-09 22:45:53 +0100852009/03/09 : 1.3.16-rc2
86 - [BUG] stream_sock: write timeout must be updated when forwarding !
87
Willy Tarreauff63b432009-03-09 01:03:42 +0100882009/03/09 : 1.3.16-rc1
89 - appsessions: cleanup DEBUG_HASH and initialize request_counter
90 - [MINOR] acl: add new keyword "connslots"
91 - [MINOR] cfgparse: fix off-by 2 in error message size
92 - [BUILD] fix build with gcc 4.3
93 - [BUILD] fix MANDIR default location to match documentation
94 - [TESTS] add a debug patch to help trigger the stats bug
95 - [BUG] Flush buffers also where there are exactly 0 bytes left
96 - [MINOR] Allow to specify a domain for a cookie
97 - [BUG/CLEANUP] cookiedomain -> cookie_domain rename + free(p->cookie_domain)
98 - [MEDIUM] Fix memory freeing at exit
99 - [MEDIUM] Fix memory freeing at exit, part 2
100 - [BUG] Fix listen & more of 2 couples <ip>:<port>
101 - [DOC] remove buggy comment for use_backend
102 - [CRITICAL] fix server state tracking: it was O(n!) instead of O(n)
103 - [MEDIUM] add support for URI hash depth and length limits
104 - [MINOR] permit renaming of x-forwarded-for header
105 - [BUILD] fix Makefile.bsd and Makefile.osx for stream_interface
106 - [BUILD] Haproxy won't compile if DEBUG_FULL is defined
107 - [MEDIUM] upgrade to ebtree v4.0
108 - [DOC] update the README file with new build options
109 - [MEDIUM] reduce risk of event starvation in ev_sepoll
110 - [MEDIUM] detect streaming buffers and tag them as such
111 - [MEDIUM] add support for conditional HTTP redirection
112 - [BUILD] make install should depend on haproxy not "all"
113 - [DEBUG] add a TRACE macro to facilitate runtime data extraction
114 - [BUG] event pollers must not wait if a task exists in the run queue
115 - [BUG] queue management: wake oldest request in queues
116 - [BUG] log: reported queue position was offed-by-one
117 - [BUG] fix the dequeuing logic to ensure that all requests get served
118 - [DOC] documentation for the "retries" parameter was missing.
119 - [MEDIUM] implement a monotonic internal clock
120 - [MEDIUM] further improve monotonic clock by check forward jumps
121 - [OPTIM] add branch prediction hints in list manipulations
122 - [MAJOR] replace ultree with ebtree in wait-queues
123 - [BUG] we could segfault during exit while freeing uri_auths
124 - [BUG] wqueue: perform proper timeout comparisons with wrapping values
125 - [MINOR] introduce now_ms, the current date in milliseconds
126 - [BUG] disable buffer read timeout when reading stats
127 - [MEDIUM] rework the wait queue mechanism
128 - [BUILD] change declaration of base64tab to fix build with Intel C++
129 - [OPTIM] shrink wake_expired_tasks() by using task_wakeup()
130 - [MAJOR] use an ebtree instead of a list for the run queue
131 - [MEDIUM] introduce task->nice and boot access to statistics
132 - [OPTIM] task_queue: assume most consecutive timers are equal
133 - [BUILD] silent a warning in unlikely() with gcc 4.x
134 - [MAJOR] convert all expiration timers from timeval to ticks
135 - [BUG] use_backend would not correctly consider "unless"
136 - [TESTS] added test-acl.cfg to test some ACL combinations
137 - [MEDIUM] add support for configuration keyword registration
138 - [MEDIUM] modularize the global "stats" keyword configuration parser
139 - [MINOR] cfgparse: add support for warnings in external functions
140 - [MEDIUM] modularize the "timeout" keyword configuration parser
141 - [MAJOR] implement tcp request content inspection
142 - [MINOR] acl: add a new parsing function: parse_dotted_ver
143 - [MINOR] acl: add req_ssl_ver in TCP, to match an SSL version
144 - [CLEANUP] remove unused include/types/client.h
145 - [CLEANUP] remove many #include <types/xxx> from C files
146 - [CLEANUP] remove dependency on obsolete INTBITS macro
147 - [DOC] document the new "tcp-request" keyword and associated ACLs
148 - [MINOR] acl: add REQ_CONTENT to the list of default acls
149 - [MEDIUM] acl: permit fetch() functions to set the result themselves
150 - [MEDIUM] acl: get rid of dummy values in always_true/always_false
151 - [MINOR] acl: add the "wait_end" acl verb
152 - [MEDIUM] acl: enforce ACL type checking
153 - [MEDIUM] acl: set types on all currently known ACL verbs
154 - [MEDIUM] acl: when possible, report the name and requirements of ACLs in warnings
155 - [CLEANUP] remove 65 useless NULL checks before free
156 - [MEDIUM] memory: update pool_free2() to support NULL pointers
157 - [MEDIUM] buffers: ensure buffer_shut* are properly called upon shutdowns
158 - [MEDIUM] process_srv: rely on buffer flags for client shutdown
159 - [MEDIUM] process_srv: don't rely at all on client state
160 - [MEDIUM] process_cli: don't rely at all on server state
161 - [BUG] fix segfault with url_param + check_post
162 - [BUG] server timeout was not considered in some circumstances
163 - [BUG] client timeout incorrectly rearmed while waiting for server
164 - [MAJOR] kill CL_STINSPECT and CL_STHEADERS (step 1)
165 - [MAJOR] get rid of SV_STANALYZE (step 2)
166 - [MEDIUM] simplify and centralize request timeout cancellation and request forwarding
167 - [MAJOR] completely separate HTTP and TCP states on the request path
168 - [BUG] fix recently introduced loop when client closes early
169 - [MAJOR] get rid of the SV_STHEADERS state
170 - [MAJOR] better separation of response processing and server state
171 - [MAJOR] clearly separate HTTP response processing from TCP server state
172 - [MEDIUM] remove unused references to {CL|SV}_STSHUT*
173 - [MINOR] term_trace: add better instrumentations to trace the code
174 - [BUG] ev_sepoll: closed file descriptors could persist in the spec list
175 - [BUG] process_response must not enable the read FD
176 - [BUG] buffers: remove BF_MAY_CONNECT and fix forwarding issue
177 - [BUG] process_response: do not touch srv_state
178 - [BUG] maintain_proxies must not disable backends
179 - [CLEANUP] get rid of BF_SHUT*_PENDING
180 - [MEDIUM] buffers: add BF_EMPTY and BF_FULL to remove dependency on req/rep->l
181 - [MAJOR] process_session: rely only on buffer flags
182 - [MEDIUM] use buffer->wex instead of buffer->cex for connect timeout
183 - [MEDIUM] centralize buffer timeout checks at the top of process_session
184 - [MINOR] ensure the termination flags are set by process_xxx
185 - [MEDIUM] session: move the analysis bit field to the buffer
186 - [OPTIM] process_cli/process_srv: reduce the number of tests
187 - [BUG] regparm is broken on gcc < 3
188 - [BUILD] fix warning in proto_tcp.c with gcc >= 4
189 - [MEDIUM] merge inspect_exp and txn->exp into request buffer
190 - [BUG] process_cli/process_srv: don't call shutdown when already done
191 - [BUG] process_request: HTTP body analysis must return zero if missing data
192 - [TESTS] test-fsm: 22 regression tests for state machines
193 - [BUG] Fix empty X-Forwarded-For header name when set in defaults section
194 - [BUG] fix harmless but wrong fd insertion sequence
195 - [MEDIUM] make it possible for analysers to follow the whole session
196 - [MAJOR] rework of the server FSM
197 - [OPTIM] remove useless fd_set(read) upon shutdown(write)
198 - [MEDIUM] massive cleanup of process_srv()
199 - [MEDIUM] second level of code cleanup for process_srv_data
200 - [MEDIUM] third cleanup and optimization of process_srv_data()
201 - [MEDIUM] process_srv_data: ensure that we always correctly re-arm timeouts
202 - [MEDIUM] stream_sock_process_data moved to stream_sock.c
203 - [MAJOR] make the client side use stream_sock_process_data()
204 - [MEDIUM] split stream_sock_process_data
205 - [OPTIM] stream_sock_read must check for null-reads more often
206 - [MINOR] only call flow analysers when their read side is connected.
207 - [MEDIUM] reintroduce BF_HIJACK with produce_content
208 - [MINOR] re-arrange buffer flags and rename some of them
209 - [MINOR] do not check for BF_SHUTR when computing write timeout
210 - [OPTIM] ev_sepoll: detect newly created FDs and check them once
211 - [OPTIM] reduce the number of calls to task_wakeup()
212 - [OPTIM] force inlining of large functions with gcc >= 3
213 - [MEDIUM] indicate a reason for a task wakeup
214 - [MINOR] change type of fdtab[]->owner to void*
215 - [MAJOR] make stream sockets aware of the stream interface
216 - [MEDIUM] stream interface: add the ->shutw method as well as in and out buffers
217 - [MEDIUM] buffers: add BF_READ_ATTACHED and BF_ANA_TIMEOUT
218 - [MEDIUM] process_session: make use of the new buffer flags
219 - [CLEANUP] process_session: move debug outputs out of the critical loop
220 - [MEDIUM] move QUEUE and TAR timers to stream interfaces
221 - [OPTIM] add compiler hints in tick_is_expired()
222 - [MINOR] add buffer_check_timeouts() to check what timeouts have fired.
223 - [MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts()
224 - [MINOR] add an expiration flag to the stream_sock_interface
225 - [MAJOR] migrate the connection logic to stream interface
226 - [MAJOR] add a connection error state to the stream_interface
227 - [MEDIUM] add the SN_CURR_SESS flag to the session to track open sessions
228 - [MEDIUM] continue layering cleanups.
229 - [MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO
230 - [MEDIUM] remove stream_sock_update_data()
231 - [MINOR] maintain a global session list in order to ease debugging
232 - [BUG] shutw must imply close during a connect
233 - [MEDIUM] process shutw during connection attempt
234 - [MEDIUM] make the stream interface control the SHUT{R,W} bits
235 - [MAJOR] complete layer4/7 separation
236 - [CLEANUP] move the session-related functions to session.c
237 - [MINOR] call session->do_log() for logging
238 - [MINOR] replace the ambiguous client_return function by stream_int_return
239 - [MINOR] replace client_retnclose() with stream_int_retnclose()
240 - [MINOR] replace srv_close_with_err() with http_server_error()
241 - [MEDIUM] make the http server error function a pointer in the session
242 - [CLEANUP] session.c: removed some migration left-overs in sess_establish()
243 - [MINOR] stream_sock_data_finish() should not expose fd
244 - [MEDIUM] extract TCP request processing from HTTP
245 - [MEDIUM] extract the HTTP tarpit code from process_request().
246 - [MEDIUM] move the HTTP request body analyser out of process_request().
247 - [MEDIUM] rename process_request to http_process_request
248 - [BUG] fix forgotten server session counter
249 - [MINOR] declare process_session in session.h, not proto_http.h
250 - [MEDIUM] first pass of lifting to proto_uxst.c:uxst_event_accept()
251 - [MINOR] add an analyser code for UNIX stats request
252 - [MINOR] pre-set analyser flags on the listener at registration time
253 - [BUG] do not forward close from cons to prod with analysers
254 - [MEDIUM] ensure that sock->shutw() also closes read for init states
255 - [MINOR] add an analyser state in struct session
256 - [MAJOR] make unix sockets work again with stats
257 - [MEDIUM] remove cli_fd, srv_fd, cli_state and srv_state from the session
258 - [MINOR] move the listener reference from fd to session
259 - [MEDIUM] reference the current hijack function in the buffer itself
260 - [MINOR] slightly rebalance stats_dump_{raw,http}
261 - [MINOR] add a new back-reference type : struct bref
262 - [MINOR] add back-references to sessions for later use by a dumper.
263 - [MEDIUM] add support for "show sess" in unix stats socket
264 - [BUG] do not release the connection slot during a retry
265 - [BUG] dynamic connection throttling could return a max of zero conns
266 - [BUG] do not try to pause backends during reload
267 - [BUG] ensure that listeners from disabled proxies are correctly unbound.
268 - [BUG] acl-related keywords are not allowed in defaults sections
269 - [BUG] cookie capture is declared in the frontend but checked on the backend
270 - [BUG] critical errors should be reported even in daemon mode
271 - [MINOR] redirect: add support for the "drop-query" option
272 - [MINOR] redirect: add support for "set-cookie" and "clear-cookie"
273 - [MINOR] redirect: in prefix mode a "/" means not to change the URI
274 - [BUG] do not dequeue requests on a dead server
275 - [BUG] do not dequeue the backend's pending connections on a dead server
276 - [MINOR] stats: indicate if a task is running in "show sess"
277 - [BUG] check timeout must not be changed if timeout.check is not set
278 - [BUG] "option transparent" is for backend, not frontend !
279 - [MINOR] transfer errors were not reported anymore in data phase
280 - [MEDIUM] add a send limit to a buffer
281 - [MEDIUM] don't report buffer timeout when there is I/O activity
282 - [MEDIUM] indicate when we don't care about read timeout
283 - [MINOR] add flags to indicate when a stream interface is waiting for space/data
284 - [MEDIUM] enable inter-stream_interface wakeup calls
285 - [MAJOR] implement autonomous inter-socket forwarding
286 - [MINOR] add the splice_len member to the buffer struct in preparation of splice support
287 - [MEDIUM] stream_sock: factor out the return path in case of no-writes
288 - [MEDIUM] i/o: rework ->to_forward and ->send_max
289 - [OPTIM] stream_sock: do not ask for polling on EAGAIN if we have read
290 - [OPTIM] buffer: replace rlim by max_len
291 - [OPTIM] stream_sock: factor out the buffer full handling out of the loop
292 - [CLEANUP] replace a few occurrences of (flags & X) && !(flags & Y)
293 - [CLEANUP] stream_sock: move the write-nothing condition out of the loop
294 - [MEDIUM] split stream_sock_write() into callback and core functions
295 - [MEDIUM] stream_sock_read: call ->chk_snd whenever there are data pending
296 - [MINOR] stream_sock: fix a few wrong empty calculations
297 - [MEDIUM] stream_sock: try to send pending data on chk_snd()
298 - [MINOR] global.maxpipes: add the ability to reserve file descriptors for pipes
299 - [MEDIUM] splice: add configuration options and set global.maxpipes
300 - [MINOR] introduce structures required to support Linux kernel splicing
301 - [MEDIUM] add definitions for Linux kernel splicing
302 - [MAJOR] complete support for linux 2.6 kernel splicing
303 - [BUG] reserve some pipes for backends with splice enabled
304 - [MEDIUM] splice: add hints to support older buggy kernels
305 - [MEDIUM] introduce pipe pools
306 - [MEDIUM] splice: make use of pipe pools
307 - [STATS] report pipe usage in the statistics
308 - [OPTIM] make global.maxpipes default to global.maxconn/4 when not specified
309 - [BUILD] fix snapshot date extraction with negative timezones
310 - [MEDIUM] move global tuning options to the global structure
311 - [MEDIUM] splice: add the global "nosplice" option
312 - [BUILD] add USE_LINUX_SPLICE to enable LINUX_SPLICE on linux 2.6
313 - [BUG] we must not exit if protocol binding only returns a warning
314 - [MINOR] add support for bind interface name
315 - [BUG] inform the user when root is expected but not set
316 - [MEDIUM] add support for source interface binding
317 - [MEDIUM] add support for source interface binding at the server level
318 - [MEDIUM] implement bind-process to limit service presence by process
319 - [DOC] document maxpipes, nosplice, option splice-{auto,request,response}
320 - [DOC] filled the logging section of the configuration manual
321 - [DOC] document HTTP status codes
322 - [DOC] document a few missing info about errorfile
323 - [BUG] fix random memory corruption using "show sess"
324 - [BUG] fix unix socket processing of interrupted output
325 - [DOC] add diagrams of queuing and future ACL design
326 - [BUILD] proto_http did not build on gcc-2.95
327 - [BUG] the "source" keyword must first clear optional settings
328 - [BUG] global.tune.maxaccept must be limited even in mono-process mode
329 - [MINOR] ensure that http_msg_analyzer updates pointer to invalid char
330 - [MEDIUM] store a complete dump of request and response errors in proxies
331 - [MEDIUM] implement error dump on unix socket with "show errors"
332 - [DOC] document "show errors"
333 - [MINOR] errors dump must use user-visible date, not internal date.
334 - [MINOR] time: add __usec_to_1024th to convert usecs to 1024th of second
335 - [MINOR] add curr_sec_ms and curr_sec_ms_scaled for current second.
336 - [MEDIUM] measure and report session rate on frontend, backends and servers
337 - [BUG] the "connslots" keyword was matched as "connlots"
338 - [MINOR] acl: add 2 new verbs: fe_sess_rate and be_sess_rate
339 - [MEDIUM] implement "rate-limit sessions" for the frontend
340 - [BUG] interface binding: length must include the trailing zero
341 - [BUG] typo in timeout error reporting : report *res and not *err
342 - [OPTIM] maintain_proxies: only wake up when the frontend will be ready
343 - [OPTIM] rate-limit: cleaner behaviour on low rates and reduce consumption
344 - [BUG] switch server-side stream interface to close in case of abort
345 - [CLEANUP] remove last references to term_trace
346 - [OPTIM] freq_ctr: do not rotate the counters when reading
347 - [BUG] disable any analysers for monitoring requests
348 - [BUG] rate-limit in defaults section was ignored
349 - [BUG] task: fix handling of duplicate keys
350 - [OPTIM] task: don't unlink a task from a wait queue when waking it up
351 - [OPTIM] displace tasks in the wait queue only if absolutely needed
352 - [MEDIUM] minor update to the task api: let the scheduler queue itself
353 - [BUG] event_accept() must always wake the task up, even in health mode
354 - [CLEANUP] task: distinguish between clock ticks and timers
355 - [OPTIM] task: reduce the number of calls to task_queue()
356 - [OPTIM] do not re-check req buffer when only response has changed
357 - [CLEANUP] don't enable kernel splicing when socket is closed
358 - [CLEANUP] buffer_flush() was misleading, rename it as buffer_erase
359 - [MINOR] buffers: implement buffer_flush()
360 - [MEDIUM] rearrange forwarding condition to enable splice during analysis
361 - [BUILD] build fixes for Solaris
362 - [BUILD] proto_http did not build on gcc-2.95 (again)
363 - [CONTRIB] halog: fast log parser for haproxy
364 - [CONTRIB] halog: faster fgets() and add support for percentile reporting
365
Willy Tarreau7b4c5ae2008-04-19 21:06:14 +02003662008/04/19 : 1.3.15
367 - [BUILD] Added support for 'make install'
368 - [BUILD] Added 'install-man' make target for installing the man page
369 - [BUILD] Added 'install-bin' make target
370 - [BUILD] Added 'install-doc' make target
371 - [BUILD] Removed "/" after '$(DESTDIR)' in install targets
372 - [BUILD] Changed 'install' target to install the binaries first
373 - [BUILD] Replace hardcoded 'LD = gcc' with 'LD = $(CC)'
374 - [MEDIUM]: Inversion for options
375 - [MEDIUM]: Count retries and redispatches also for servers, fix redistribute_pending, extend logs, %d->%u cleanup
376 - [BUG]: Restore clearing t->logs.bytes
377 - [MEDIUM]: rework checks handling
378 - [DOC] Update a "contrib" file with a hint about a scheme used for formathing subjects
379 - [MEDIUM] Implement "track [<backend>/]<server>"
380 - [MINOR] Implement persistent id for proxies and servers
381 - [BUG] Don't increment server connections too much + fix retries
382 - [MEDIUM]: Prevent redispatcher from selecting the same server, version #3
383 - [MAJOR] proto_uxst rework -> SNMP support
384 - [BUG] appsession lookup in URL does not work
385 - [BUG] transparent proxy address was ignored in backend
386 - [BUG] hot reconfiguration failed because of a wrong error check
387 - [DOC] big update to the configuration manual
388 - [DOC] large update to the configuration manual
389 - [DOC] document more options
390 - [BUILD] major rework of the GNU Makefile
391 - [STATS] add support for "show info" on the unix socket
392 - [DOC] document options forwardfor to logasap
393 - [MINOR] add support for the "backlog" parameter
394 - [OPTIM] introduce global parameter "tune.maxaccept"
395 - [MEDIUM] introduce "timeout http-request" in frontends
396 - [MINOR] tarpit timeout is also allowed in backends
397 - [BUG] increment server connections for each connect()
398 - [MEDIUM] add a turn-around state of one second after a connection failure
399 - [BUG] fix typo in redispatched connection
400 - [DOC] document options nolinger to ssl-hello-chk
401 - [DOC] added documentation for "option tcplog" to "use_backend"
402 - [BUG] connect_server: server might not exist when sending error report
403 - [MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY)
404 - [MEDIUM] add non-local bind to connect() on Linux
405 - [MINOR] add transparent proxy support for balabit's Tproxy v4
406 - [BUG] use backend's source and not server's source with tproxy
407 - [BUG] fix overlapping server flags
408 - [MEDIUM] fix server health checks source address selection
409 - [BUG] build failed on CONFIG_HAP_LINUX_TPROXY without CONFIG_HAP_CTTPROXY
410 - [DOC] added "server", "source" and "stats" keywords
411 - [DOC] all server parameters have been documented
412 - [DOC] document all req* and rsp* keywords.
413 - [DOC] added documentation about HTTP header manipulations
414 - [BUG] log response byte count, not request
415 - [BUILD] code did not build in full debug mode
416 - [BUG] fix truncated responses with sepoll
417 - [MINOR] use s->frt_addr as the server's address in transparent proxy
418 - [MINOR] fix configuration hint about timeouts
419 - [DOC] minor cleanup of the doc and notice to contributors
420 - [MINOR] report correct section type for unknown keywords.
421 - [BUILD] update MacOS Makefile to build on newer versions
422 - [DOC] fix erroneous "useallbackups" option in the doc
423 - [DOC] applied small fixes from early readers
424 - [MINOR] add configuration support for "redir" server keyword
425 - [MEDIUM] completely implement the server redirection method
426 - [TESTS] add a test case for the server redirection mechanism
427 - [DOC] add a configuration entry for "server ... redir <prefix>"
428 - [BUILD] backend.c and checks.c did not build without tproxy !
429 - Revert "[BUILD] backend.c and checks.c did not build without tproxy !"
430 - [BUILD] backend.c and checks.c did not build without tproxy !
431 - [OPTIM] used unsigned ints for HTTP state and message offsets
432 - [OPTIM] GCC4's builtin_expect() is suboptimal
433 - [BUG] failed conns were sometimes incremented in the frontend!
434 - [BUG] timeout.check was not pre-set to eternity
435 - [TESTS] add test-pollers.cfg to easily report pollers in use
436 - [BUG] do not apply timeout.connect in checks if unset
437 - [BUILD] ensure that makefile understands USE_DLMALLOC=1
438 - [MINOR] silent gcc for a wrong warning
439 - [CLEANUP] update .gitignore to ignore more temporary files
440 - [CLEANUP] report dlmalloc's source path only if explictly specified
441 - [BUG] str2sun could leak a small buffer in case of error during parsing
442 - [BUG] option allbackups was not working anymore in roundrobin mode
443 - [MAJOR] implementation of the "leastconn" load balancing algorithm
444 - [BUILD] ensure that users don't build without setting the target anymore.
445 - [DOC] document the leastconn LB algo
446 - [MEDIUM] fix stats socket limitation to 16 kB
447 - [DOC] fix unescaped space in httpchk example.
448 - [BUG] fix double-decrement of server connections
449 - [TESTS] add a test case for port mapping
450 - [TESTS] add a benchmark for integer hashing
451 - [TESTS] add new methods in ip-hash test file
452 - [MAJOR] implement parameter hashing for POST requests
453
Willy Tarreaue5b77e82007-12-06 01:25:44 +01004542007/12/06 : 1.3.14
455 - New option http_proxy (Alexandre Cassen)
456 - add support for "maxqueue" to limit server queue overload (Elijah Epifanov)
457 - Check for duplicated conflicting proxies (Krzysztof Oledzki)
458 - stats: report server and backend cumulated downtime (Krzysztof Oledzki)
459 - use backends only with use_backend directive (Krzysztof Oledzki)
460 - Handle long lines properly (Krzysztof Oledzki)
461 - Implement and use generic findproxy and relax duplicated proxy check (Krzysztof Oledzki)
462 - continous statistics (Krzysztof Oledzki)
463 - add support for logging via a UNIX socket (Robert Tsai)
464 - fix error checking in strl2ic/strl2uic()
465 - fix calls to localtime()
466 - provide easier-to-use ultoa_* functions
467 - provide easy-to-use limit_r and LIM2A* macros
468 - add a simple test for the status page
469 - move error codes to common/errors.h
470 - silent warning about LIST_* being redefined on OpenBSD
471 - add socket address length to the protocols
472 - group PR_O_BALANCE_* bits into a checkable value
473 - externalize the "balance" option parser to backend.c
474 - introduce the "url_param" balance method
475 - make default_backend work in TCP mode too
476 - disable warning about localtime_r on Solaris
477 - adjust error messages about conflicting proxies
478 - avoid calling some layer7 functions if not needed
479 - simplify error path in event_accept()
480 - add an options field to the listeners
481 - added a new state to listeners
482 - unbind_listener() must use fd_delete() and not close()
483 - add a generic unbind_listener() primitive
484 - add a generic delete_listener() primitive
485 - add a generic unbind_all_listeners() primitive
486 - create proto_tcp and move initialization of proxy listeners
487 - stats: report numerical process ID, proxy ID and server ID
488 - relative_pid was not initialized
489 - missing header names in raw stats output
490 - fix missing parenthesis in check_response_for_cacheability
491 - small optimization on session_process_counters()
492 - merge ebtree version 3.0
493 - make ebtree headers multiple-include compatible
494 - ebtree: include config.h for REGPRM*
495 - differentiate between generic LB params and map-specific ones
496 - add a weight divisor to the struct proxy
497 - implement the Fast Weighted Round Robin (FWRR) algo
498 - include filltab25.c to experiment on FWRR for dynamic weights
499 - merge test-fwrr.cfg to validate dynamic weights
500 - move the load balancing algorithm to be->lbprm.algo
501 - change server check result to a bit field
502 - implement "http-check disable-on-404" for graceful shutdown
503 - secure the calling conditions of ->set_server_status_{up,down}
504 - report disabled servers as "NOLB" when they are still UP
505 - document the "http-check disable-on-404" option
506 - http-check disable-on-404 is not limited to HTTP mode
507 - add a test file for disable-on-404
508 - use distinct bits per load-balancing algorithm type
509 - implement the slowstart parameter for servers
510 - document the server's slowstart parameter
511 - stats: report the server warm up status in a "throttle" column
512 - fix 2 minor issues on AIX
513 - add the "nbsrv" ACL verb
514 - add the "fail" condition to monitor requests
515 - remove a warning from gcc due to htons() in standard.c
516 - fwrr: ensure that we never overflow in placements
517 - store the build options to report with -vv
518 - fix the status return of the init script (R.I. Pienaar)
519 - stats: real time monitoring script for unix socket (Prizee)
520 - document "nbsrv" and "monitor fail"
521 - restrict the set of allowed characters for identifiers
522 - implement a time parsing function
523 - add support for time units in the configuration
524 - add a bit of documentation about timers
525 - introduce separation between contimeout, and tarpit + queue
526 - introduce the "timeout" keyword
527 - grouped all timeouts in one structure
528 - slowstart is in ms, not seconds
529 - slowstart: ensure we don't start with a null weight
530 - report the number of times each server was selected
531 - fix build on AIX due to recent log changes
532 - fix build on Solaris due to recent log changes
533
Willy Tarreaue855f422007-10-18 22:38:22 +02005342007/10/18 : 1.3.13
535 - replace the code under O'Reilly license (Arnaud Cornet)
536 - add a small man page (Arnaud Cornet)
537 - stats: report haproxy's version by default (Krzysztof Oledzki)
538 - stats: count server retries and redispatches (Krzysztof Oledzki)
539 - core: added easy support for Doug Lea's malloc (dlmalloc)
540 - core: fade out memory usage when stopping proxies
541 - core: moved the sockaddr pointer to the fdtab structure
542 - core: add generic protocol support
543 - core: implement client-side support for PF_UNIX sockets
544 - stats: implement the CSV output
545 - stats: add a link to the CSV export HTML page
546 - stats: implement the statistics output on a unix socket
547 - config: introduce the "stats" keyword in global section
548 - build: centralize version and date into one file for each
549 - tests: added a new hash algorithm
550
5512007/10/18 : 1.3.12.3
552 - add the "nolinger" option to disable data lingering (Alexandre Cassen)
553 - fix double-free during clean exit (Krzysztof Oledzki)
554 - prevent the system from sending an RST when closing health-checks
555 (Krzysztof Oledzki)
556 - do not add a cache-control header when on non-cacheable responses
557 (Krzysztof Oledzki)
558 - spread health checks even more (Krzysztof Oledzki)
559 - stats: scope "." must match the backend and not the frontend
560 - fixed call to chroot() during startup
561 - fix wrong timeout computation in event_accept()
562 - remove condition for exit() under fork() failure
563
5642007/09/20 : 1.3.12.2
565 - fix configuration sanity checks for TCP listeners
566 - set the log socket receive window to zero bytes
567 - pre-initialize timeouts to infinity, not zero
568 - fix the SIGHUP message not to alert on server-less proxies
569 - timeouts and retries could be ignored when switching backend
570 - added a file to check that "retries" works.
571 - O'Reilly has clarified its license
572
5732007/09/05 : 1.3.12.1
574 - spec I/O: fix allocations of spec entries for an FD
575 - ensure we never overflow in chunk_printf()
576 - improve behaviour with large number of servers per proxy
577 - add support for "stats refresh <interval>"
578 - stats page: added links for 'refresh' and 'hide down'
579 - fix backend's weight in the stats page.
580 - the "stats" keyword is not allowed in a pure frontend.
581 - provide a test configuration file for stats and checks
582
Willy Tarreaub21152b2007-06-17 23:41:40 +02005832007/06/17 : 1.3.12
584 - fix segfault at exit when using captures
585 - bug: negation in ACL conds was not cleared between terms
586 - errorfile: use a local file to feed error messages
587 - acl: support '-i' to ignore case when matching
588 - acl: smarter integer comparison with operators eq,lt,gt,le,ge
589 - acl: support maching on 'path' component
590 - acl: implement matching on header values
591 - acl: distinguish between request and response headers
592 - acl: permit to return any header when no name specified
593 - acl: provide default ACLs
594 - added the 'use_backend' keyword for full content-switching
595 - acl: specify the direction during fetches
596 - acl: provide the argument length for fetch functions
597 - acl: provide a reference to the expr to fetch()
598 - improve memory freeing upon exit
599 - str2net() must not change the const char *
600 - shut warnings 'is*' macros from ctype.h on solaris
601
Willy Tarreaua3503e02007-06-03 17:27:07 +02006022007/06/03 : 1.3.11.4
603 - do not re-arm read timeout in SHUTR state !
604 - optimize I/O by detecting system starvation
605 - the epoll FD must not be shared between processes
606 - limit the number of events returned by *poll*
607
Willy Tarreau3c6fc072007-05-14 14:40:25 +02006082007/05/14 : 1.3.11.3
609 - pre-initialize timeouts with tv_eternity during parsing
610
Willy Tarreaufc273c22007-05-14 03:42:47 +02006112007/05/14 : 1.3.11.2
612 - fixed broken health-checks since switch to timeval
613
Willy Tarreau3c5340c2007-05-14 03:18:43 +02006142007/05/14 : 1.3.11.1
615 - fixed ev_kqueue which was forgotten during the switch to timeval
616 - allowed null timeouts for past events in select
617
Willy Tarreau544eb402007-05-14 02:42:33 +02006182007/05/14 : 1.3.11
619 - fixed ev_sepoll again by rewriting the state machine
620 - switched all timeouts to timevals instead of milliseconds
621 - improved memory management using mempools v2.
622 - several minor optimizations
623
Willy Tarreau9ca931f2007-05-10 07:51:17 +02006242007/05/09 : 1.3.10.2
625 - fixed build on OpenBSD (missing types.h)
626
Willy Tarreau13398d32007-05-09 22:58:28 +02006272007/05/09 : 1.3.10.1
628 - fixed sepoll transition matrix (two states were missing)
629
Willy Tarreau61beedf2007-05-09 01:44:58 +02006302007/05/08 : 1.3.10
631 - several fixes in ev_sepoll
632 - fixed some expiration dates on some tasks
633 - fixed a bug in connection establishment detection due to speculative I/O
634 - fixed rare bug occuring on TCP with early close (reported by Andy Smith)
635 - implemented URI hashing algorithm (Guillaume Dallaire)
636 - implemented SMTP health checks (Peter van Dijk)
637 - replaced the rbtree with ul2tree from old scheduler project
638 - new framework for generic ACL support
639 - added the 'acl' and 'block' keywords to the config language
640 - added several ACL criteria and matches (IP, port, URI, ...)
641 - cleaned up and better modularization for some time functions
642 - fixed list macros
643 - fixed useless memory allocation in str2net()
644 - store the original destination address in the session
645
Willy Tarreau6e0433f2007-04-16 01:18:12 +02006462007/04/15 : 1.3.9
647 - modularized the polling mechanisms and use function pointers instead
648 of macros at many places
649 - implemented support for FreeBSD's kqueue() polling mechanism
650 - fixed a warning on OpenBSD : MIN/MAX redefined
651 - change socket registration order at startup to accomodate kqueue.
652 - several makefile cleanups to support old shells
653 - fix build with limits.h once for all
654 - ev_epoll: do not rely on fd_sets anymore, use changes stacks instead.
655 - fdtab now holds the results of polling
656 - implemented support for speculative I/O processing with epoll()
657 - remove useless calls to shutdown(SHUT_RD), resulting in small speed boost
658 - auto-registering of pollers at load time
659
Willy Tarreau42c76592007-04-03 20:30:13 +02006602007/04/03 : 1.3.8.2
661 - rewriting either the status line or request line could crash the
662 process due to a pointer which ought to be reset before parsing.
663 - rewriting the status line in the response did not work, it caused
664 a 502 Bad Gateway due to an erroneous state during parsing
665
Willy Tarreauef6d7612007-04-01 11:06:22 +02006662007/04/01 : 1.3.8.1
667 - fix reqadd when no option httpclose is used.
668 - removed now unused fiprm and beprm from proxies
669 - split logs into two versions : TCP and HTTP
670 - added some docs about http headers storage and acls
671 - added a VIM script for syntax color highlighting (Bruno Michel)
672
Willy Tarreaud661cc02007-03-26 00:24:56 +02006732007/03/25 : 1.3.8
674 - fixed several bugs which might have caused a crash with bad configs
675 - several optimizations in header processing
676 - many progresses towards transaction-based processing
677 - option forwardfor may be used in frontends
678 - completed HTTP response processing
679 - some code refactoring between request and response processing
680 - new HTTP header manipulation functions
681 - optimizations on the recv() patch to reduce CPU usage under very
682 high data rates.
683 - more user-friendly help about the 'usesrc' keyword (CTTPROXY)
684 - username/groupname support from Marcus Rueckert
685 - added the "except" keyword to the "forwardfor" option (Bryan German)
686 - support for health-checks on other addresses (Fabrice Dulaunoy)
687 - makefile for MacOS 10.4 / Darwin (Dan Zinngrabe)
688 - do not insert "Connection: close" in HTTP/1.0 messages
689
Willy Tarreau9cabf702007-01-26 23:49:01 +01006902007/01/26 : 1.3.7
691 - fix critical bug introduced with 1.3.6 : an empty request header
692 may lead to a crash due to missing pointer assignment
693 - hdr_idx might be left uninitialized in debug mode
694 - fixed build on FreeBSD due to missing fd_set declaration
695
Willy Tarreaue7a24382007-01-22 08:57:44 +01006962007/01/22 : 1.3.6.1
697 - change in the header chaining broke cookies and authentication
698
Willy Tarreau49e1ee82007-01-22 00:56:46 +01006992007/01/22 : 1.3.6
700 - stats now support the HEAD method too
701 - extracted http request from the session
702 - huge rework of the HTTP parser which is now a 28-state FSM.
703 - linux-style likely/unlikely macros for optimization hints
704 - do not create a server socket when there's no server
705 - imported lots of docs
706
Willy Tarreau5871f8e2007-01-07 02:47:01 +01007072007/01/07 : 1.3.5
708 - stats: swap color sets for active and backup servers
709 - try to guess server check port when unset
710 - added complete support and doc for TCP Splicing
711 - replace the wait-queue linked list with an rbtree.
712 - a few bugfixes and cleanups
713
Willy Tarreau85270da2007-01-02 00:59:39 +01007142007/01/02 : 1.3.4
715 - support for cttproxy on the server side to present the client
716 address to the server.
717 - added support for SO_REUSEPORT on Linux (needs kernel patch)
718 - new RFC2616-compliant HTTP request parser with header indexing
719 - split proxies in frontends, rulesets and backends
720 - implemented the 'req[i]setbe' to select a backend depending
721 on the contents
722 - added the 'default_backend' keyword to select a default BE.
723 - new stats page featuring FEs and BEs + bytes in both dirs
724 - improved log format to indicate the backend and the time in ms.
725 - lots of cleanups
726
Willy Tarreau9c9fea42006-10-16 00:03:35 +02007272006/10/15 : 1.3.3
728 - fix broken redispatch option in case the connection has already
729 been marked "in progress" (ie: nearly always).
730 - support regparm on x86 to speed up some often called functions
731 - removed a few useless calls to gettimeofday() in log functions.
732 - lots of 'const char*' cleanups
733 - turn every FD_* into functions which are faster on recent CPUs
734
Willy Tarreau690f9aa2006-09-03 11:23:06 +02007352006/09/03 : 1.3.2
736 - started the changes towards I/O completion callbacks. stream_sock* have
737 replaced event_*.
738 - added the new "reqtarpit" and "reqitarpit" protection features
739
Willy Tarreau8f2b8552006-07-09 17:11:39 +02007402006/07/09 : 1.3.1 (1.2.15)
741 - now, haproxy warns about missing timeout during startup to try to
742 eliminate all those buggy configurations.
743 - added "Content-Type: text/html" in responses wherever appropriate, as
744 suggested by Cameron Simpson.
745 - implemented "option ssl-hello-chk" to use SSLv3 CLIENT HELLO messages to
746 test server's health
747 - implemented "monitor-uri" so that haproxy can reply to a specific URI with
748 an "HTTP/1.0 200 OK" response. This is useful to validate multiple proxies
749 at once.
750
Willy Tarreaub9e98b62006-07-03 10:32:46 +02007512006/06/29 : 1.3.0
752 - exploded the whole file into multiple .c and .h. No functionnal
Willy Tarreau8f2b8552006-07-09 17:11:39 +0200753 difference is expected at all.
754 - fixed a bug by which neither stats nor error messages could be returned if
755 'clitimeout' was missing.
Willy Tarreaub9e98b62006-07-03 10:32:46 +0200756
willy tarreau7e6328d2006-05-21 23:26:20 +02007572006/05/21 : 1.2.14
758 - new HTML status report with the 'stats' keyword.
759 - added the 'abortonclose' option to better resist traffic surges
760 - implemented dynamic traffic regulation with the 'minconn' option
761 - show request time on denied requests
762 - definitely fixed hot reconf on OpenBSD by the use of SO_REUSEPORT
763 - now a proxy instance is allowed to run without servers, which is
764 useful to dedicate one instance to stats
765 - added lots of error counters
766 - a missing parenthesis preventd matching of cacheable cookies
767 - a missing parenthesis in poll_loop() might have caused missed events.
768
Willy TARREAU4404b7e2006-05-14 10:00:09 +02007692006/05/14 : 1.2.13.1
770 - an uninitialized field in the struct session could cause a crash when
771 the session was freed. This has been encountered on Solaris only.
772 - Solaris and OpenBSD no not support shutdown() on listening socket. Let's
773 be nice to them by performing a soft stop if pause fails.
774
willy tarreauc3a2e072006-05-13 18:51:38 +02007752006/05/13 : 1.2.13
776 - 'maxconn' server parameter to do per-server session limitation
777 - queueing to support non-blocking session limitation
778 - fixed removal of cookies for cookie-less servers such as backup servers
779 - two separate wait queues for expirable and non-expirable tasks provide
780 better performance with lots of sessions.
781 - some code cleanups and performance improvements
782 - made state dumps a bit more verbose
783 - fixed missing checks for NULL srv in dispatch mode
784 - load balancing on backup servers was not possible in source hash mode.
785 - two session flags shared the same bit, but fortunately they were not
786 compatible.
787
willy tarreauc0d4bbd2006-04-15 21:47:50 +02007882006/04/15 : 1.2.12
789 Very few changes preparing for more important changes to support per-server
790 session limitations and queueing :
791 - ignore leading empty lines in HTTP requests as suggested by RFC2616.
792 - added the 'weight' parameter to the servers, limited to 1..256. It applies
793 to roundrobin and source hash.
794 - the optional '-s' option could clobber '-st' and '-sf' if compiled in.
795
willy tarreaue0dd2692006-03-30 16:27:34 +02007962006/03/30 : 1.2.11.1
797 - under some conditions, it might have been possible that when the
798 last dead server became available, it would not have been used
799 till another one would have changed state. Could not be reproduced
800 at all, however seems possible from the code.
801
willy tarreaud2058dc2006-03-25 20:35:41 +01008022006/03/25 : 1.2.11
803 - added the '-db' command-line option to disable backgrounding.
804 - added the -sf/-st command-line arguments which are used to specify
805 a list of pids to send a FINISH or TERMINATE signal upon startup.
806 They will also be asked to release their port if a bind fails.
807 - reworked the startup mechanism to allow the sending of a signal to a list
808 of old pids if a socket cannot be bound, with a retry for a limited amount
809 of time (1 second by default).
810 - added the ability to enforce limits on memory usage.
811 - added the 'source' load-balancing algorithm which uses the source IP(v4|v6)
812 - re-architectured the server round-robin mechanism to ease integration of
813 other algorithms. It now relies on the number of active and backup servers.
814 - added a counter for the number of active and backup servers, and report
815 these numbers upon SIGHUP or state change.
816
willy tarreaubfad5742006-03-23 14:19:11 +01008172006/03/23 : 1.2.10.1
818 - while fixing the backup server round-robin "feature", a new bug was
819 introduced which could miss some backup servers.
820 - the displayed proxy name was wrong when dumping upon SIGHUP.
821
willy tarreauaaff30e2006-03-19 21:30:41 +01008222006/03/19 : 1.2.10
823 - assert.h is needed when DEBUG is defined.
824 - ENORMOUS long standing bug affecting the epoll polling system :
825 event_data is a union, not a structure !
826 - Make fd management more robust and easier to debug. Also some
827 micro-optimisations.
828 - Limit the number of consecutive accept() in multi-process mode.
829 This produces a more evenly distributed load across the processes and
830 slightly improves performance by reducing bottlenecks.
831 - Make health-checks be more regular, and faster to retry after a timeout.
832 - Fixed some messages to ease parsing of alerts.
833 - provided a patch to enable epoll on RHEL3 kernels.
834 - Separated OpenBSD build from the main Makefile into a new one.
835
willy tarreau50be0172006-03-15 19:41:19 +01008362006/03/15 : 1.2.9
837 - haproxy could not be stopped after being paused, it had to be woken up
838 first. This has been fixed.
839 - the 'ulimit-n' parameter is now optional and by default computed from
840 maxconn + the number of listeners + the number of health-checks.
841 - it is now possible to specify a maximum number of connections at build
842 time with the SYSTEM_MAXCONN define. The value set in the configuration
843 file will then be limited to this value, and only the command-line '-n'
844 option will be able to bypass it. It will prevent against accidental
845 high memory usage on small systems.
846 - RFC2616 expects that any HTTP agent accepts multi-line headers. Earlier
847 versions did not detect a line beginning with a space as the continuation
848 of previous header. It is now correct.
849 - health checks sent to servers configured with identical intervals were
850 sent in perfect synchronisation because the initial time was the same
851 for all. This could induce high load peaks when fragile servers were
852 hosting tens of instances for the same application. Now the load is
853 spread evenly across the smallest interval amongst a listener.
854 - a new 'forceclose' option was added to make the proxy close the outgoing
855 channel to the server once it has sent all its headers and the server
856 starts responding. This helps some servers which don't close upon the
857 'Connection: close' header. It implies 'option httpclose'.
858 - there was a bug in the way the backup servers were handled. They were
859 erroneously load-balanced while the doc said the opposite. Since
860 load-balanced backup servers is one of the features some people have
861 been asking for, the problem was fixed to reflect the documented
862 behaviour and a new option 'allbackups' was introduced to provide the
863 feature to those who need it.
864 - a never ending connect() could lead to a fast select() loop if its
865 timeout times the number of retransmits exceeded the server read or write
866 timeout, because the later was used to compute select()'s timeout while
867 the connection timeout was not reached.
868 - now we initialize the libc's localtime structures very early so that even
869 under OOM conditions, we can still send dated error messages without
870 segfaulting.
871 - the 'daemon' mode implies 'quiet' and disables 'verbose' because file
872 descriptors are closed.
873
willy tarreau065f1c02006-01-29 22:10:07 +01008742006/01/29 : 1.2.8
875 - fixed a nasty bug affecting poll/epoll which could return unmodified data
876 from the server to the client, and sometimes lead to memory corruption
877 crashing the process.
878 - added the new pause/play mechanism with SIGTTOU/SIGTTIN for hot-reconf.
879
8802005/12/18 : 1.2.7.1
881 - the "retries" option was ignored because connect() could not return an
882 error if the connection failed before the timeout.
883 - TCP health-checks could not detect a connection refused in poll/epoll
884 mode.
885
willy tarreaua56eca72005-12-18 01:34:42 +01008862005/11/13 : 1.2.7
willy tarreau77bc8542005-12-18 01:31:43 +0100887 - building with -DUSE_PCRE should include PCRE headers and not regex.h. At
888 least on Solaris, this caused the libc's regex primitives to be used instead
889 of PCRE, which caused trouble on group references. This is now fixed.
willy tarreaud0fb4652005-12-18 01:32:04 +0100890 - delayed the quiet mode during startup so that most of the startup alerts can
891 be displayed even in quiet mode.
892 - display an alert when a listener has no address, invalid or no port, or when
893 there are no enabled listeners upon startup.
willy tarreau4373b962005-12-18 01:32:31 +0100894 - added "static-pcre" to the list of supported regex options in the Makefile.
willy tarreau77bc8542005-12-18 01:31:43 +0100895
willy tarreaub952e1d2005-12-18 01:31:20 +01008962005/10/09 : 1.2.7rc (1.1.33rc)
897 - second batch of socklen_t changes.
898 - clean-ups from Cameron Simpson.
899 - because tv_remain() does not know about eternity, using no timeout can
900 make select() spin around a null time-out. Bug reported by Cameron Simpson.
901 - client read timeout was not properly set to eternity initialized after an
902 accept() if it was not set in the config. It remained undetected so long
903 because eternity is 0 and newly allocated pages are zeroed by the system.
904 - do not call get_original_dst() when not in transparent mode.
905 - implemented a workaround for a bug in certain epoll() implementations on
906 linux-2.4 kernels (epoll-lt <= 0.21).
907 - implemented TCP keepalive with new options : tcpka, clitcpka, srvtcpka.
908
willy tarreauc5f73ed2005-12-18 01:26:38 +01009092005/08/07 : 1.2.6
910 - clean-up patch from Alexander Lazic fixes build on Debian 3.1 (socklen_t).
911
9122005/07/06 : 1.2.6-pre5 (1.1.32)
willy tarreau0fe39652005-12-18 01:25:24 +0100913 - added the number of active sessions (proxy/process) in the logs
914
9152005/07/06 : 1.2.6-pre4 (1.1.32-pre4)
willy tarreaub1285d52005-12-18 01:20:14 +0100916 - the time-out fix introduced in 1.1.25 caused a corner case where it was
917 possible for a client to keep a connection maintained regardless of the
918 timeout if the server closed the connection during the HEADER phase,
919 while the client ignored the close request while doing nothing in the
920 other direction. This has been fixed now by ensuring that read timeouts
921 are re-armed when switching to any SHUTW state.
922
9232005/07/05 : 1.2.6-pre3 (1.1.32-pre3)
924 - enhanced error reporting in the logs. Now the proxy will precisely detect
925 various error conditions related to the system and/or process limits, and
926 generate LOG_EMERG logs indicating that a resource has been exhausted.
927 - logs will contain two new characters for the error cause : 'R' indicates
928 a resource exhausted, and 'I' indicates an internal error, though this
929 one should never happen.
930 - server connection timeouts can now be reported in the logs (sC), as well
931 as connections refused because of maxconn limitations (PC).
932
9332005/07/05 : 1.2.6-pre2 (1.1.32-pre2)
934 - new global configuration keyword "ulimit-n" may be used to raise the FD
935 limit to usable values.
936 - a warning is now displayed on startup if the FD limit is lower than the
937 configured maximum number of sockets.
938
9392005/07/05 : 1.2.6-pre1 (1.1.32-pre1)
940 - new configuration keyword "monitor-net" makes it possible to be monitored
941 by external devices which connect to the proxy without being logged nor
942 forwarded to any server. Particularly useful on generic TCPv4 relays.
943
willy tarreau5dffb602005-12-18 01:15:23 +01009442005/06/21 : 1.2.5.2
945 - fixed build on PPC where chars are unsigned by default
946
willy tarreau08dedbe2005-12-18 01:13:48 +01009472005/05/02 : 1.2.5.1
948 - dirty hack to fix a bug introduced with epoll : if we close an FD and
949 immediately reassign it to another session through a connect(), the
950 Prev{Read,Write}Events are not updated, which causes trouble detecting
951 changes, thus leading to many timeouts at high loads.
952
willy tarreau64a3cc32005-12-18 01:13:11 +01009532005/04/30 : 1.2.5 (1.1.31)
954 - changed the runtime argument to disable epoll() to '-de'
955 - changed the runtime argument to disable poll() to '-dp'
956 - added global options 'nopoll' and 'noepoll' to do the same at the
957 configuration level.
958 - added a 'linux24e' target to the Makefile for Linux 2.4 systems patched to
959 support epoll().
960 - changed default FD_SETSIZE to 65536 on Solaris (default=1024)
961 - conditionned signals redirection to #ifdef DEBUG_MEMORY
962
willy tarreau1c2ad212005-12-18 01:11:29 +01009632005/04/26 : 1.2.5-pre4
964 - made epoll() support a compile-time option : ENABLE_EPOLL
965 - provided a very little libc replacement for a possibly missing epoll()
966 implementation which can be enabled by -DUSE_MY_EPOLL
967 - implemented the poll() poller, which can be enabled with -DENABLE_POLL.
968 The equivalent runtime argument becomes '-P'. A few tests show that it
969 performs like select() with many fds, but slightly slower (certainly
970 because of the higher amount of memory involved).
971 - separated the 3 polling methods and the tasks scheduler into 4 distinct
972 functions which makes the code a lot more modular.
973 - moved some event tables to private static declarations inside the poller
974 functions.
975 - the poller functions can now initialize themselves, run, and cleanup.
976 - changed the runtime argument to enable epoll() to '-E'.
977 - removed buggy epoll_ctl() code in the client_retnclose() function. This
978 function was never meant to remove anything.
979 - fixed a typo which caused glibc to yell about a double free on exit.
980 - removed error checking after epoll_ctl(DEL) because we can never know if
981 the fd is still active or already closed.
982 - added a few entries in the makefile
983
willy tarreauad90a0c2005-12-18 01:09:15 +01009842005/04/25 : 1.2.5-pre3
985 - experimental epoll() support (use temporary '-e' argument)
986
9872005/04/24 : 1.2.5-pre2
willy tarreauc1f47532005-12-18 01:08:26 +0100988 - implemented the HTTP 303 code for error redirection. This forces the
989 browser to fetch the given URI with a GET request. The new keyword for
990 this is 'errorloc303', and a new 'errorloc302' keyword has been created
991 to make them easily distinguishable.
992 - added more controls in the parser for valid use of '\x' sequence.
993 - few fixes from Alex & Klaus
994
willy tarreauad90a0c2005-12-18 01:09:15 +01009952005/02/17 : 1.2.5-pre1
willy tarreauc1f47532005-12-18 01:08:26 +0100996 - fixed a few errors in the documentation
997
9982005/02/13
999 - do not pre-initialize unused file-descriptors before select() anymore.
1000
willy tarreau12350152005-12-18 01:03:27 +010010012005/01/22 : 1.2.4
1002 - merged Alexander Lazic's and Klaus Wagner's work on application
1003 cookie-based persistence. Since this is the first merge, this version is
1004 not intended for general use and reports are more than welcome. Some
1005 documentation is really needed though.
1006
willy tarreau0174f312005-12-18 01:02:42 +010010072005/01/22 : 1.2.3 (1.1.30)
1008 - add an architecture guide to the documentation
1009 - released without any changes
1010
10112004/12/26 : 1.2.3-pre1 (1.1.30-pre1)
1012 - increased default BUFSIZE to 16 kB to accept max headers of 8 kB which is
1013 compatible with Apache. This limit can be configured in the makefile now.
1014 Thanks to Eric Fehr for the checks.
1015 - added a per-server "source" option which now makes it possible to bind to
1016 a different source for each (potentially identical) server.
1017 - changed cookie-based server selection slightly to allow several servers to
1018 share a same cookie, thus making it possible to associate backup servers to
1019 live servers and ease soft-stop for maintenance periods. (Alexander Lazic)
1020 - added the cookie 'prefix' mode which makes it possible to use persistence
1021 with thin clients which support only one cookie. The server name is prefixed
1022 before the application cookie, and restore back.
1023 - fixed the order of servers within an instance to match documentation. Now
1024 the servers are *really* used in the order of their declaration. This is
1025 particularly important when multiple backup servers are in use.
1026
willy tarreau4302f492005-12-18 01:00:37 +010010272004/10/18 : 1.2.2 (1.1.29)
1028 - fixed a bug where a TCP connection would be logged twice if the 'logasap'
1029 option was enabled without the 'tcplog' option.
1030 - encode_string() would use hdr_encode_map instead of the map argument.
1031
10322004/08/10 : (1.1.29-pre2)
1033 - the logged request is now encoded with '#XX' for unprintable characters
1034 - new keywords 'capture request header' and 'capture response header' enable
1035 logging of arbitrary HTTP headers in requests and responses
1036 - removed "-DSOLARIS" after replacing the last inet_aton() with inet_pton()
1037
willy tarreau982249e2005-12-18 00:57:06 +010010382004/06/06 : 1.2.1 (1.1.28)
1039 - added the '-V' command line option to verbosely report errors even though
1040 the -q or 'quiet' options are specified. This is useful with '-c'.
1041 - added a Red Hat init script and a .spec from Simon Matter <simon.matter@invoca.ch>
willy tarreau036e1ce2005-12-17 13:46:33 +01001042
willy tarreau982249e2005-12-18 00:57:06 +010010432004/06/05 :
1044 - added the "logasap" option which produces a log without waiting for the data
1045 to be transferred from the server to the client.
1046 - added the "httpclose" option which removes any "connection:" header and adds
1047 "Connection: close" in both direction.
willy tarreau97f58572005-12-18 00:53:44 +01001048 - added the 'checkcache' option which blocks cacheable responses containing
1049 dangerous headers, such as 'set-cookie'.
willy tarreau982249e2005-12-18 00:57:06 +01001050 - added 'rspdeny' and 'rspideny' to block certain responses to avoid sensible
1051 information leak from servers.
willy tarreau25c4ea52005-12-18 00:49:49 +01001052
10532004/04/18 :
willy tarreaudd07e972005-12-18 00:48:48 +01001054 - send an EMERG log when no server is available for a given proxy
1055 - added the '-c' command line option to syntactically check the
1056 configuration file without starting the service.
1057
willy tarreau8a86dbf2005-12-18 00:45:59 +010010582003/11/09 : 1.2.0
1059 - the same as 1.1.27 + IPv6 support on the client side
1060
willy tarreaufe2c5c12005-12-17 14:14:34 +010010612003/10/27 : 1.1.27
1062 - the configurable HTTP health check introduced in 1.1.23 revealed a shameful
1063 bug : the code still assumed that HTTP requests were the same size as the
1064 original ones (22 bytes), and failed if they were not.
1065 - added support for pidfiles.
1066
willy tarreauc58fc692005-12-17 14:13:08 +010010672003/10/22 : 1.1.26
1068 - the fix introduced in 1.1.25 for client timeouts while waiting for servers
1069 broke almost all compatibility with POST requests, because the proxy
1070 stopped to read anything from the client as soon as it got all of its
1071 headers.
1072
willy tarreauc1cae632005-12-17 14:12:23 +010010732003/10/15 : 1.1.25
1074 - added the 'tcplog' option, which provides enhanced, HTTP-like logs for
1075 generic TCP proxies, or lighter logs for HTTP proxies.
1076 - fixed a time-out condition wrongly reported as client time-out in data
1077 phase if the client timeout was lower than the connect timeout times the
1078 number of retries.
1079
willy tarreau197e8ec2005-12-17 14:10:59 +010010802003/09/21 : 1.1.24
1081 - if a client sent a full request then shut its write connection down, then
1082 the request was aborted. This case was detected only when using haproxy
1083 both as health-check client and as a server.
1084 - if 'option httpchk' is used in a 'health' mode server, then responses will
1085 change from 'OK' to 'HTTP/1.0 200 OK'.
1086 - fixed a Linux-only bug in case of HTTP server health-checks, where a single
1087 server response followed by a close could be ignored, and the server seen
1088 as failed.
1089
willy tarreaueedaa9f2005-12-17 14:08:03 +010010902003/09/19 : 1.1.23
1091 - fixed a stupid bug introduced in 1.1.22 which caused second and subsequent
1092 'default' sections to keep previous parameters, and not initialize logs
1093 correctly.
1094 - fixed a second stupid bug introduced in 1.1.22 which caused configurations
1095 relying on 'dispatch' mode to segfault at the first connection.
1096 - 'option httpchk' now supports method, HTTP version and a few headers.
1097 - now, 'option httpchk', 'cookie' and 'capture' can be specified in
1098 'defaults' section
1099
11002003/09/10 : 1.1.22
willy tarreaua41a8b42005-12-17 14:02:24 +01001101 - 'listen' now supports optionnal address:port-range lists
1102 - 'bind' introduced to add new listen addresses
1103 - fixed a bug which caused a session to be kept established on a server till
1104 it timed out if the client closed during the DATA phase.
1105 - the port part of each server address can now be empty to make the proxy
1106 connect to the server on the same port it was connected to, be an absolute
1107 unsigned number to reflect a single port (as in older versions), or an
1108 explicitly signed number (+N/-N) to indicate that this offset must be
1109 applied to the port the proxy was connected to, when connecting to the
1110 server.
1111 - the 'port' server option allows the user to specify a different
1112 health-check port than the service one. It is mandatory when only relative
1113 ports have been specified and check is required. By default, the checks are
1114 sent to the service port.
1115 - new 'defaults' section which is rather similar to 'listen' except that all
1116 values are only used as default values for future 'listen' sections, until
1117 a new 'defaults' resets them. At the moment, server options, regexes,
1118 cookie names and captures cannot be set in the 'defaults' section.
1119
willy tarreau2f6ba652005-12-17 13:57:42 +010011202003/05/06 : 1.1.21
1121 - changed the debug output format so that it now includes the session unique
1122 ID followed by the instance name at the beginning of each line.
1123 - in debug mode, accept now shows the client's IP and port.
1124 - added one 3 small debugging scripts to search and pretty print debug output
1125 - changed the default health check request to "OPTIONS /" instead of
1126 "OPTIONS *" since not all servers implement the later one.
1127 - "option httpchk" now accepts an optional parameter allowing the user to
1128 specify and URI other than '/' during health-checks.
1129
willy tarreaub1ff9db2005-12-17 13:51:03 +010011302003/04/21 : 1.1.20
1131 - fixed two problems with time-outs, one where a server would be logged as
1132 timed out during transfer that take longer to complete than the fixed
1133 time-out, and one where clients were logged as timed-out during the data
1134 phase because they didn't have anything to send. This sometimes caused
1135 slow client connections to close too early while in fact there was no
1136 problem. The proper fix would be to have a per-fd time-out with
1137 conditions depending on the state of the HTTP FSM.
1138
willy tarreau906b2682005-12-17 13:49:52 +010011392003/04/16 : 1.1.19
1140 - haproxy was NOT RFC compliant because it was case-sensitive on HTTP
1141 "Cookie:" and "Set-Cookie:" headers. This caused JVM 1.4 to fail on
1142 cookie persistence because it uses "cookie:". Two memcmp() have been
1143 replaced with strncasecmp().
1144
willy tarreau036e1ce2005-12-17 13:46:33 +010011452003/04/02 : 1.1.18
1146 - Haproxy can be compiled with PCRE regex instead of libc regex, by setting
1147 REGEX=pcre on the make command line.
1148 - HTTP health-checks now use "OPTIONS *" instead of "OPTIONS /".
1149 - when explicit source address binding is required, it is now also used for
1150 health-checks.
1151 - added 'reqpass' and 'reqipass' to allow certain headers but not the request
1152 itself.
1153 - factored several strings to reduce binary size by about 2 kB.
1154 - replaced setreuid() and setregid() with more standard setuid() and setgid().
1155 - added 4 status flags to the log line indicating who ended the connection
1156 first, the sessions state, the validity of the cookie, and action taken on
1157 the set-cookie header.
1158
11592002/10/18 : 1.1.17
1160 - add the notion of "backup" servers, which are used only when all other
1161 servers are down.
1162 - make Set-Cookie return "" instead of "(null)" when the server has no
1163 cookie assigned (useful for backup servers).
1164 - "log" now supports an optionnal level name (info, notice, err ...) above
1165 which nothing is sent.
1166 - replaced some strncmp() with memcmp() for better efficiency.
1167 - added "capture cookie" option which logs client and/or server cookies
1168 - cleaned up/down messages and dump servers states upon SIGHUP
1169 - added a redirection feature for errors : "errorloc <errnum> <url>"
1170 - now we won't insist on connecting to a dead server, even with a cookie,
1171 unless option "persist" is specified.
1172 - added HTTP/408 response for client request time-out and HTTP/50[234] for
1173 server reply time-out or errors.
1174
11752002/09/01 : 1.1.16
1176 - implement HTTP health checks when option "httpchk" is specified.
1177
11782002/08/07 : 1.1.15
1179 - replaced setpgid()/setpgrp() with setsid() for better portability, because
1180 setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
1181
11822002/07/20 : 1.1.14
1183 - added "postonly" cookie mode
1184
11852002/07/15 : 1.1.13
1186 - tv_diff used inverted parameters which led to negative times !
1187
11882002/07/13 : 1.1.12
1189 - fixed stats monitoring, and optimized some tv_* for most common cases.
1190 - replaced temporary 'newhdr' with 'trash' to reduce stack size
1191 - made HTTP errors more HTML-fiendly.
1192 - renamed strlcpy() to strlcpy2() because of a slightly difference between
1193 their behaviour (return value), to avoid confusion.
1194 - restricted HTTP messages to HTTP proxies only
1195 - added a 502 message when the connection has been refused by the server,
1196 to prevent clients from believing this is a zero-byte HTTP 0.9 reply.
1197 - changed 'Cache-control:' from 'no-cache="set-cookie"' to 'private' when
1198 inserting a cookie, because some caches (apache) don't understand it.
1199 - fixed processing of server headers when client is in SHUTR state
1200
12012002/07/04 :
1202 - automatically close fd's 0,1 and 2 when going daemon ; setpgrp() after
1203 setpgid()
1204
12052002/06/04 : 1.1.11
1206 - fixed multi-cookie handling in client request to allow clean deletion
1207 in insert+indirect mode. Now, only the server cookie is deleted and not
willy tarreau906b2682005-12-17 13:49:52 +01001208 all the header. Should now be compliant to RFC2965.
willy tarreau036e1ce2005-12-17 13:46:33 +01001209 - added a "nocache" option to "cookie" to specify that we explicitly want
1210 to add a "cache-control" header when we add a cookie.
1211 It is also possible to add an "Expires: <old-date>" to keep compatibility
1212 with old/broken caches.
1213
12142002/05/10 : 1.1.10
1215 - if a cookie is used in insert+indirect mode, it's desirable that the
1216 the servers don't see it. It was not possible to remove it correctly
1217 with regexps, so now it's removed automatically.
1218
12192002/04/19 : 1.1.9
1220 - don't use snprintf()'s return value as an end of message since it may
1221 be larger. This caused bus errors and segfaults in internal libc's
1222 getenv() during localtime() in send_log().
1223 - removed dead insecure send_syslog() function and all references to it.
1224 - fixed warnings on Solaris due to buggy implementation of isXXXX().
1225
12262002/04/18 : 1.1.8
1227 - option "dontlognull"
1228 - fixed "double space" bug in config parser
1229 - fixed an uninitialized server field in case of dispatch
1230 with no existing server which could cause a segfault during
1231 logging.
1232 - the pid logged was always the father's, which was wrong for daemons.
1233 - fixed wrong level "LOG_INFO" for message "proxy started".
1234
12352002/04/13 :
1236 - http logging is now complete :
1237 - ip:port, date, proxy, server
1238 - req_time, conn_time, hdr_time, tot_time
1239 - status, size, request
1240 - source address
1241
12422002/04/12 : 1.1.7
1243 - added option forwardfor
1244 - added reqirep, reqidel, reqiallow, reqideny, rspirep, rspidel
1245 - added "log global" in "listen" section.
1246
12472002/04/09 :
1248 - added a new "global" section :
1249 - logs
1250 - debug, quiet, daemon modes
1251 - uid, gid, chroot, nbproc, maxconn
1252
12532002/04/08 : 1.1.6
1254 - regex are now chained and not limited anymore.
1255 - unavailable server now returns HTTP/502.
1256 - increased per-line args limit to 40
1257 - added reqallow/reqdeny to block some request on matches
1258 - added HTTP 400/403 responses
1259
12602002/04/03 : 1.1.5
1261 - connection logging displayed incorrect source address.
1262 - added proxy start/stop and server up/down log events.
1263 - replaced log message short buffers with larger trash.
1264 - enlarged buffer to 8 kB and replace buffer to 4 kB.
1265
12662002/03/25 : 1.1.4
1267 - made rise/fall/interval time configurable
1268
12692002/03/22 : 1.1.3
1270 - fixed a bug : cr_expire and cw_expire were inverted in CL_STSHUT[WR]
1271 which could lead to loops.
1272
12732002/03/21 : 1.1.2
1274 - fixed a bug in buffer management where we could have a loop
1275 between event_read() and process_{cli|srv} if R==BUFSIZE-MAXREWRITE.
1276 => implemented an adjustable buffer limit.
1277 - fixed a bug : expiration of tasks in wait queue timeout is used again,
1278 and running tasks are skipped.
1279 - added some debug lines for accept events.
1280 - send warnings for servers up/down.
1281
12822002/03/12 : 1.1.1
1283 - fixed a bug in total failure handling
1284 - fixed a bug in timestamp comparison within same second (tv_cmp_ms)
1285
12862002/03/10 : 1.1.0
1287 - fixed a few timeout bugs
1288 - rearranged the task scheduler subsystem to improve performance,
1289 add new tasks, and make it easier to later port to librt ;
1290 - allow multiple accept() for one select() wake up ;
1291 - implemented internal load balancing with basic health-check ;
1292 - cookie insertion and header add/replace/delete, with better strings
1293 support.
1294
12952002/03/08
1296 - reworked buffer handling to fix a few rewrite bugs, and
1297 improve overall performance.
1298 - implement the "purge" option to delete server cookies in direct mode.
1299
13002002/03/07
1301 - fixed some error cases where the maxfd was not decreased.
1302
13032002/02/26
1304 - now supports transparent proxying, at least on linux 2.4.
1305
13062002/02/12
1307 - soft stop works again (fixed select timeout computation).
1308 - it seems that TCP proxies sometimes cannot timeout.
1309 - added a "quiet" mode.
1310 - enforce file descriptor limitation on socket() and accept().
1311
13122001/12/30 : release of version 1.0.2 : fixed a bug in header processing
13132001/12/19 : release of version 1.0.1 : no MSG_NOSIGNAL on solaris
13142001/12/16 : release of version 1.0.0.
13152001/12/16 : added syslog capability for each accepted connection.
13162001/11/19 : corrected premature end of files and occasional SIGPIPE.
13172001/10/31 : added health-check type servers (mode health) which replies OK then closes.
13182001/10/30 : added the ability to support standard TCP proxies and HTTP proxies
1319 with or without cookies (use keyword http for this).
13202001/09/01 : added client/server header replacing with regexps.
1321 eg:
1322 cliexp ^(Host:\ [^:]*).* Host:\ \1:80
1323 srvexp ^Server:\ .* Server:\ Apache
13242000/11/29 : first fully working release with complete FSMs and timeouts.
13252000/11/28 : major rewrite
13262000/11/26 : first write