blob: 2b30c46fcf4203a8cc448c509f1a9170bee1ef63 [file] [log] [blame]
willy tarreau036e1ce2005-12-17 13:46:33 +01001ChangeLog :
2===========
willy tarreau4302f492005-12-18 01:00:37 +01003
Willy Tarreau9eeb57b2012-03-26 06:15:29 +020042012/03/26 : 1.5-dev8
5 - MINOR: patch for minor typo (ressources/resources)
6 - MEDIUM: http: add support for sending the server's name in the outgoing request
7 - DOC: mention that default checks are TCP connections
8 - BUG/MINOR: fix options forwardfor if-none when an alternative header name is specified
9 - CLEANUP: Make check_statuses, analyze_statuses and process_chk static
10 - CLEANUP: Fix HCHK spelling errors
11 - BUG/MINOR: fix typo in processing of http-send-name-header
12 - MEDIUM: log: Use linked lists for loggers
13 - BUILD: fix declaration inside a scope block
14 - REORG: log: split send_log function
15 - MINOR: config: Parse the string of the log-format config keyword
16 - MINOR: add ultoa, ulltoa, ltoa, lltoa implementations
17 - MINOR: Date and time fonctions that don't use snprintf
18 - MEDIUM: log: make http_sess_log use log_format
19 - DOC: log-format documentation
20 - MEDIUM: log: use log_format for mode tcplog
21 - MEDIUM: log-format: backend source address %Bi %Bp
22 - BUG/MINOR: log-format: fix %o flag
23 - BUG/MEDIUM: bad length in log_format and __send_log
24 - MINOR: logformat %st is signed
25 - BUILD/MINOR: fix the source URL in the spec file
26 - DOC: acl is http_first_req, not http_req_first
27 - BUG/MEDIUM: don't trim last spaces from headers consisting only of spaces
28 - MINOR: acl: add new matches for header/path/url length
29 - BUILD: halog: make halog build on solaris
30 - BUG/MINOR: don't use a wrong port when connecting to a server with mapped ports
31 - MINOR: remove the client/server side distinction in SI addresses
32 - MINOR: halog: add support for matching queued requests
33 - DOC: indicate that cookie "prefix" and "indirect" should not be mixed
34 - OPTIM/MINOR: move struct sockaddr_storage to the tail of structs
35 - OPTIM/MINOR: make it possible to change pipe size (tune.pipesize)
36 - BUILD/MINOR: silent a build warning in src/pipe.c (fcntl)
37 - OPTIM/MINOR: move the hdr_idx pools out of the proxy struct
38 - MEDIUM: tune.http.maxhdr makes it possible to configure the maximum number of HTTP headers
39 - BUG/MINOR: fix a segfault when parsing a config with undeclared peers
40 - CLEANUP: rename possibly confusing struct field "tracked"
41 - BUG/MEDIUM: checks: fix slowstart behaviour when server tracking is in use
42 - MINOR: config: tolerate server "cookie" setting in non-HTTP mode
43 - MEDIUM: buffers: add some new primitives and rework existing ones
44 - BUG: buffers: don't return a negative value on buffer_total_space_res()
45 - MINOR: buffers: make buffer_pointer() support negative pointers too
46 - CLEANUP: kill buffer_replace() and use an inline instead
47 - BUG: tcp: option nolinger does not work on backends
48 - CLEANUP: ebtree: remove a few annoying signedness warnings
49 - CLEANUP: ebtree: clarify licence and update to 6.0.6
50 - CLEANUP: ebtree: remove 4-year old harmless typo in duplicates insertion code
51 - CLEANUP: ebtree: remove another typo, a wrong initialization in insertion code
52 - BUG: ebtree: ebst_lookup() could return the wrong entry
53 - OPTIM: stream_sock: reduce the amount of in-flight spliced data
54 - OPTIM: stream_sock: save a failed recv syscall when splice returns EAGAIN
55 - MINOR: acl: add support for TLS server name matching using SNI
56 - BUG: http: re-enable TCP quick-ack upon incomplete HTTP requests
57 - BUG: proto_tcp: don't try to bind to a foreign address if sin_family is unknown
58 - MINOR: pattern: export the global temporary pattern
59 - CLEANUP: patterns: get rid of pattern_data_setstring()
60 - MEDIUM: acl: use temp_pattern to store fetched information in the "method" match
61 - MINOR: acl: include pattern.h to make pattern migration more transparent
62 - MEDIUM: pattern: change the pattern data integer from unsigned to signed
63 - MEDIUM: acl: use temp_pattern to store any integer-type information
64 - MEDIUM: acl: use temp_pattern to store any address-type information
65 - CLEANUP: acl: integer part of acl_test is not used anymore
66 - MEDIUM: acl: use temp_pattern to store any string-type information
67 - CLEANUP: acl: remove last data fields from the acl_test struct
68 - MEDIUM: http: replace get_ip_from_hdr2() with http_get_hdr()
69 - MEDIUM: patterns: the hdr() pattern is now of type string
70 - DOC: add minimal documentation on how ACLs work internally
71 - DOC: add a coding-style file
72 - OPTIM: halog: keep a fast path for the lines-count only
73 - CLEANUP: silence a warning when building on sparc
74 - BUG: http: tighten the list of allowed characters in a URI
75 - MEDIUM: http: block non-ASCII characters in URIs by default
76 - DOC: add some documentation from RFC3986 about URI format
77 - BUG/MINOR: cli: correctly remove the whole table on "clear table"
78 - BUG/MEDIUM: correctly disable servers tracking another disabled servers.
79 - BUG/MEDIUM: zero-weight servers must not dequeue requests from the backend
80 - MINOR: halog: add some help on the command line
81 - BUILD: fix build error on FreeBSD
82 - BUG: fix double free in peers config error path
83 - MEDIUM: improve config check return codes
84 - BUILD: make it possible to look for pcre in the default system paths
85 - MINOR: config: emit a warning when 'default_backend' masks servers
86 - MINOR: backend: rework the LC definition to support other connection-based algos
87 - MEDIUM: backend: add the 'first' balancing algorithm
88 - BUG: fix httplog trailing LF
89 - MEDIUM: increase chunk-size limit to 2GB-1
90 - BUG: queue: fix dequeueing sequence on HTTP keep-alive sessions
91 - BUG: http: disable TCP delayed ACKs when forwarding content-length data
92 - BUG: checks: fix server maintenance exit sequence
93 - BUG/MINOR: stream_sock: don't remove BF_EXPECT_MORE and BF_SEND_DONTWAIT on partial writes
94 - DOC: enumerate valid status codes for "observe layer7"
95 - MINOR: buffer: switch a number of buffer args to const
96 - CLEANUP: silence signedness warning in acl.c
97 - BUG: stream_sock: si->release was not called upon shutw()
98 - MINOR: log: use "%ts" to log term status only and "%tsc" to log with cookie
99 - BUG/CRITICAL: log: fix risk of crash in development snapshot
100 - BUG/MAJOR: possible crash when using capture headers on TCP frontends
101 - MINOR: config: disable header captures in TCP mode and complain
102
Willy Tarreau60612eb2011-09-10 23:43:11 +02001032011/09/10 : 1.5-dev7
104 - [BUG] fix binary stick-tables
105 - [MINOR] http: *_dom matching header functions now also split on ":"
106 - [BUG] checks: fix support of Mysqld >= 5.5 for mysql-check
107 - [MINOR] acl: add srv_conn acl to count connections on a specific backend server
108 - [MINOR] check: add redis check support
109 - [DOC] small fixes to clearly distinguish between keyword and variables
110 - [MINOR] halog: add support for termination code matching (-tcn/-TCN)
111 - [DOC] Minor spelling fixes and grammatical enhancements
112 - [CLEANUP] dumpstats: make symbols static where possible
113 - [MINOR] Break out dumping table
114 - [MINOR] Break out processing of clear table
115 - [MINOR] Allow listing of stick table by key
116 - [MINOR] Break out all stick table socat command parsing
117 - [MINOR] More flexible clearing of stick table
118 - [MINOR] Allow showing and clearing by key of ipv6 stick tables
119 - [MINOR] Allow showing and clearing by key of integer stick tables
120 - [MINOR] Allow showing and clearing by key of string stick tables
121 - [CLEANUP] Remove assigned but unused variables
122 - [CLEANUP] peers.h: fix declarations
123 - [CLEANUP] session.c: Make functions static where possible
124 - [MINOR] Add active connection list to server
125 - [MINOR] Allow shutdown of sessions when a server becomes unavailable
126 - [MINOR] Add down termination condition
127 - [MINOR] Make appsess{,ion}_refresh static
128 - [MINOR] Add rdp_cookie pattern fetch function
129 - [CLEANUP] Remove unnecessary casts
130 - [MINOR] Add non-stick server option
131 - [MINOR] Consistently use error in tcp_parse_tcp_req()
132 - [MINOR] Consistently free expr on error in cfg_parse_listen()
133 - [MINOR] Free rdp_cookie_name on denint()
134 - [MINOR] Free tcp rules on denint()
135 - [MINOR] Free stick table pool on denint()
136 - [MINOR] Free stick rules on denint()
137 - [MEDIUM] Fix stick-table replication on soft-restart
138 - [MEDIUM] Correct ipmask() logic
139 - [MINOR] Correct type in table dump examples
140 - [MINOR] Fix build error in stream_int_register_handler()
141 - [MINOR] Use DPRINTF in assign_server()
142 - [BUG] checks: http-check expect could fail a check on multi-packet responses
143 - [DOC] fix minor typo in the "dispatch" doc
144 - [BUG] proto_tcp: fix address binding on remote source
145 - [MINOR] http: don't report the "haproxy" word on the monitoring response
146 - [REORG] http: move HTTP error codes back to proto_http.h
147 - [MINOR] http: make the "HTTP 200" status code configurable.
148 - [MINOR] http: partially revert the chunking optimization for now
149 - [MINOR] stream_sock: always clear BF_EXPECT_MORE upon complete transfer
150 - [CLEANUP] stream_sock: remove unneeded FL_TCP and factor out test
151 - [MEDIUM] http: add support for "http-no-delay"
152 - [OPTIM] http: optimize chunking again in non-interactive mode
153 - [OPTIM] stream_sock: avoid fast-forwarding of partial data
154 - [OPTIM] stream_sock: don't use splice on too small payloads
155 - [MINOR] config: make it possible to specify a cookie even without a server
156 - [BUG] stats: support url-encoded forms
157 - [MINOR] config: automatically compute a default fullconn value
158 - [CLEANUP] config: remove some left-over printf debugging code from previous patch
159 - [DOC] add missing entry or stick store-response
160 - [MEDIUM] http: add support for 'cookie' and 'set-cookie' patterns
161 - [BUG] halog: correctly handle truncated last line
162 - [MINOR] halog: make SKIP_CHAR stop on field delimiters
163 - [MINOR] halog: add support for HTTP log matching (-H)
164 - [MINOR] halog: gain back performance before SKIP_CHAR fix
165 - [OPTIM] halog: cache some common fields positions
166 - [OPTIM] halog: check once for correct line format and reuse the pointer
167 - [OPTIM] halog: remove many 'if' by using a function pointer for the filters
168 - [OPTIM] halog: remove support for tab delimiters in input data
169 - [BUG] session: risk of crash on out of memory (1.5-dev regression)
170 - [MINOR] session: try to emit a 500 response on memory allocation errors
171 - [OPTIM] stream_sock: reduce the default number of accepted connections at once
172 - [BUG] stream_sock: disable listener when system resources are exhausted
173 - [MEDIUM] proxy: add a PAUSED state to listeners and move socket tricks out of proxy.c
174 - [BUG] stream_sock: ensure orphan listeners don't accept too many connections
175 - [MINOR] listeners: add listen_full() to mark a listener full
176 - [MINOR] listeners: add support for queueing resource limited listeners
177 - [MEDIUM] listeners: put listeners in queue upon resource shortage
178 - [MEDIUM] listeners: queue proxy-bound listeners at the proxy's
179 - [MEDIUM] listeners: don't stop proxies when global maxconn is reached
180 - [MEDIUM] listeners: don't change listeners states anymore in maintain_proxies
181 - [CLEANUP] proxy: rename a few proxy states (PR_STIDLE and PR_STRUN)
182 - [MINOR] stats: report a "WAITING" state for sockets waiting for resource
183 - [MINOR] proxy: make session rate-limit more accurate
184 - [MINOR] sessions: only wake waiting listeners up if rate limit is OK
185 - [BUG] proxy: peers must only be stopped once, not upon every call to maintain_proxies
186 - [CLEANUP] proxy: merge maintain_proxies() operation inside a single loop
187 - [MINOR] task: new function task_schedule() to schedule a wake up
188 - [MAJOR] proxy: finally get rid of maintain_proxies()
189 - [BUG] proxy: stats frontend and peers were missing many initializers
190 - [MEDIUM] listeners: add a global listener management task
191 - [MINOR] proxy: make findproxy() return proxies from numeric IDs too
192 - [DOC] fix typos, "#" is a sharp, not a dash
193 - [MEDIUM] stats: add support for changing frontend's maxconn at runtime
194 - [MEDIUM] checks: group health checks methods by values and save option bits
195 - [MINOR] session-counters: add the ability to clear the counters
196 - [BUG] check: http-check expect + regex would crash in defaults section
197 - [MEDIUM] http: make x-forwarded-for addition conditional
198 - [REORG] build: move syscall redefinition to specific places
199 - [CLEANUP] update the year in the copyright banner
200 - [BUG] possible crash in 'show table' on stats socket
201 - [BUG] checks: use the correct destination port for sending checks
202 - [BUG] backend: risk of picking a wrong port when mapping is used with crossed families
203 - [MINOR] make use of set_host_port() and get_host_port() to get rid of family mismatches
204 - [DOC] fixed a few "sensible" -> "sensitive" errors
205 - [MINOR] make use of addr_to_str() and get_host_port() to replace many inet_ntop()
206 - [BUG] http: trailing white spaces must also be trimmed after headers
207 - [MINOR] stats: display "<NONE>" instead of the frontend name when unknown
208 - [MINOR] http: take a capture of too large requests and responses
209 - [MINOR] http: take a capture of truncated responses
210 - [MINOR] http: take a capture of bad content-lengths.
211 - [DOC] add a few old and uncommitted docs
212 - [CLEANUP] cfgparse: fix reported options for the "bind" keyword
213 - [MINOR] halog: add -hs/-HS to filter by HTTP status code range
214 - [MINOR] halog: support backslash-escaped quotes
215 - [CLEANUP] remove dirty left-over of a debugging message
216 - [MEDIUM] stats: disable complex socket reservation for stats socket
217 - [CLEANUP] remove a useless test in manage_global_listener_queue()
218 - [MEDIUM] stats: add the "set maxconn" setting to the command line interface
219 - [MEDIUM] add support for global.maxconnrate to limit the per-process conn rate.
220 - [MINOR] stats: report the current and max global connection rates
221 - [MEDIUM] stats: add the ability to adjust the global maxconnrate
222 - [BUG] peers: don't pre-allocate 65000 connections to each peer
223 - [MEDIUM] don't limit peers nor stats socket to maxconn nor maxconnrate
224 - [BUG] peers: the peer frontend must not emit any log
225 - [CLEANUP] proxy: make pause_proxy() perform the required controls and emit the logs
226 - [BUG] peers: don't keep a peers section which has a NULL frontend
227 - [BUG] peers: ensure the peers are resumed if they were paused
228 - [MEDIUM] stats: add the ability to enable/disable/shutdown a frontend at runtime
229 - [MEDIUM] session: make session_shutdown() an independant function
230 - [MEDIUM] stats: offer the possibility to kill a session from the CLI
231 - [CLEANUP] stats: centralize tests for backend/server inputs on the CLI
232 - [MEDIUM] stats: offer the possibility to kill sessions by server
233 - [MINOR] halog: do not consider byte 0x8A as end of line
234 - [MINOR] frontend: ensure debug message length is always initialized
235 - [OPTIM] halog: make fgets parse more bytes by blocks
236 - [OPTIM] halog: add assembly version of the field lookup code
237 - [MEDIUM] poll: add a measurement of idle vs work time
238 - [CLEANUP] startup: report only the basename in the usage message
239 - [MINOR] startup: add an option to change to a new directory
240 - [OPTIM] task: don't scan the run queue if we know it's empty
241 - [BUILD] stats: stdint is not present on solaris
242 - [DOC] update the README file to reflect new naming rules for patches
243 - [MINOR] stats: report the number of requests intercepted by the frontend
244 - [DOC] update ROADMAP file
245
Willy Tarreau04df1122011-04-08 00:56:41 +02002462011/04/08 : 1.5-dev6
247 - [BUG] stream_sock: use get_addr_len() instead of sizeof() on sockaddr_storage
248 - [BUG] TCP source tracking was broken with IPv6 changes
249 - [BUG] stick-tables did not work when converting IPv6 to IPv4
250 - [CRITICAL] fix risk of crash when dealing with space in response cookies
251
Willy Tarreaub06ed2c2011-03-29 01:10:33 +02002522011/03/29 : 1.5-dev5
253 - [BUG] standard: is_addr return value for IPv4 was inverted
254 - [MINOR] update comment about IPv6 support for server
255 - [MEDIUM] use getaddrinfo to resolve names if gethostbyname fail
256 - [DOC] update IPv6 support for bind
257 - [DOC] document IPv6 support for server
258 - [DOC] fix a minor typo
259 - [MEDIUM] IPv6 support for syslog
260 - [DOC] document IPv6 support for syslog
261 - [MEDIUM] IPv6 support for stick-tables
262 - [DOC] document IPv6 support for stick-tables
263 - [DOC] update ROADMAP file
264 - [BUG] session: src_conn_cur was returning src_conn_cnt instead
265 - [MINOR] frontend: add a make_proxy_line function
266 - [MEDIUM] stream_sock: add support for sending the proxy protocol header line
267 - [MEDIUM] server: add support for the "send-proxy" option
268 - [DOC] update the spec on the proxy protocol
269 - [BUILD] proto_tcp: fix build issue with CTTPROXY
270 - [DOC] update ROADMAP file
271 - [MEDIUM] config: rework the IPv4/IPv6 address parser to support host-only addresses
272 - [MINOR] cfgparse: better report wrong listening addresses and make use of str2sa_range
273 - [BUILD] add the USE_GETADDRINFO build option
274 - [TESTS] provide a test case for various address formats
275 - [BUG] session: conn_retries was not always initialized
276 - [BUG] log: retrieve the target from the session, not the SI
277 - [BUG] http: fix possible incorrect forwarded wrapping chunk size (take 2)
278 - [MINOR] tools: add two macros MID_RANGE and MAX_RANGE
279 - [BUG] http: fix content-length handling on 32-bit platforms
280 - [OPTIM] buffers: uninline buffer_forward()
281 - [BUG] stream_sock: fix handling for server side PROXY protocol
282 - [MINOR] acl: add support for table_cnt and table_avl matches
283 - [DOC] update ROADMAP file
284
Willy Tarreaue0052cc2011-03-13 22:15:02 +01002852011/03/13 : 1.5-dev4
286 - [MINOR] cfgparse: Check whether the path given for the stats socket actually fits into the sockaddr_un structure to avoid truncation.
287 - [MINOR] unix sockets : inherits the backlog size from the listener
288 - [CLEANUP] unix sockets : move create_uxst_socket() in uxst_bind_listener()
289 - [DOC] fix a minor typo
290 - [DOC] fix ignore-persist documentation
291 - [MINOR] add warnings on features not compatible with multi-process mode
292 - [BUG] http: fix http-pretend-keepalive and httpclose/tunnel mode
293 - [MINOR] stats: add support for several packets in stats admin
294 - [BUG] stats: admin commands must check the proxy state
295 - [BUG] stats: admin web interface must check the proxy state
296 - [MINOR] http: add pattern extraction method to stick on query string parameter
297 - [MEDIUM] add internal support for IPv6 server addresses
298 - [MINOR] acl: add be_id/srv_id to match backend's and server's id
299 - [MINOR] log: add support for passing the forwarded hostname
300 - [MINOR] log: ability to override the syslog tag
301 - [MINOR] checks: add PostgreSQL health check
302 - [DOC] update ROADMAP file
303 - [BUILD] pattern: use 'int' instead of 'int32_t'
304 - [OPTIM] linux: add support for bypassing libc to force using vsyscalls
305 - [BUG] debug: report the correct poller list in verbose mode
306 - [BUG] capture: do not capture a cookie if there is no memory left
307 - [BUG] appsession: fix possible double free in case of out of memory
308 - [CRITICAL] cookies: mixing cookies in indirect mode and appsession can crash the process
309 - [BUG] http: correctly update the header list when removing two consecutive headers
310 - [BUILD] add the CPU=native and ARCH=32/64 build options
311 - [BUILD] add -fno-strict-aliasing to fix warnings with gcc >= 4.4
312 - [CLEANUP] hash: move the avalanche hash code globally available
313 - [MEDIUM] hash: add support for an 'avalanche' hash-type
314 - [DOC] update roadmap file
315 - [BUG] http: do not re-enable the PROXY analyser on keep-alive
316 - [OPTIM] http: don't send each chunk in a separate packet
317 - [DOC] fix minor typos reported recently in the peers section
318 - [DOC] fix another typo in the doc
319 - [MINOR] stats: report HTTP message state and buffer flags in error dumps
320 - [BUG] http chunking: don't report a parsing error on connection errors
321 - [BUG] stream_interface: truncate buffers when sending error messages
322 - [MINOR] http: support wrapping messages in error captures
323 - [MINOR] http: capture incorrectly chunked message bodies
324 - [MINOR] stats: add global event ID and count
325 - [BUG] http: analyser optimizations broke pipelining
326 - [CLEANUP] frontend: only apply TCP-specific settings to TCP/TCP6 sockets
327 - [BUG] http: fix incorrect error reporting during data transfers
328 - [CRITICAL] session: correctly leave turn-around and queue states on abort
329 - [BUG] session: release slot before processing pending connections
330 - [MINOR] tcp: add support for dynamic MSS setting
331 - [BUG] stick-table: correctly terminate string keys during lookups
332 - [BUG] acl: fix handling of empty lines in pattern files
333 - [BUG] stick-table: use the private buffer when padding strings
334 - [BUG] ebtree: fix ebmb_lookup() with len smaller than the tree's keys
335 - [OPTIM] ebtree: ebmb_lookup: reduce stack usage by moving the return code out of the loop
336 - [OPTIM] ebtree: inline ebst_lookup_len and ebis_lookup_len
337 - [REVERT] undo the stick-table string key lookup fixes
338 - [MINOR] http: improve url_param pattern extraction to ignore empty values
339 - [BUILD] frontend: shut a warning with TCP_MAXSEG
340 - [BUG] http: update the header list's tail when removing the last header
341 - [DOC] fix minor typo in the proxy protocol doc
342 - [DOC] fix typos (http-request instead of http-check)
343 - [BUG] http: use correct ACL pointer when evaluating authentication
344 - [BUG] cfgparse: correctly count one socket per port in ranges
345 - [BUG] startup: set the rlimits before binding ports, not after.
346 - [BUG] acl: srv_id must return no match when the server is NULL
347 - [MINOR] acl: add ability to check for internal response-only parameters
348 - [MINOR] acl: srv_id is only valid in responses
349 - [MINOR] config: warn if response-only conditions are used in "redirect" rules
350 - [BUG] acl: fd leak when reading patterns from file
351 - [DOC] fix minor typo in "usesrc"
352 - [BUG] http: fix possible incorrect forwarded wrapping chunk size
353 - [BUG] http: fix computation of message body length after forwarding has started
354 - [BUG] http: balance url_param did not work with first parameters on POST
355 - [TESTS] update the url_param regression test to test check_post too
356 - [DOC] update ROADMAP
357 - [DOC] internal: reflect the fact that SI_ST_ASS is transient
358 - [BUG] config: don't crash on empty pattern files.
359 - [MINOR] stream_interface: make use of an applet descriptor for IO handlers
360 - [REORG] stream_interface: move the st0, st1 and private members to the applet
361 - [REORG] stream_interface: split the struct members in 3 parts
362 - [REORG] session: move client and server address to the stream interface
363 - [REORG] tcp: make tcpv4_connect_server() take the target address from the SI
364 - [MEDIUM] stream_interface: store the target pointer and type
365 - [CLEANUP] stream_interface: remove the applet.handler pointer
366 - [MEDIUM] log: take the logged server name from the stream interface
367 - [CLEANUP] session: remove data_source from struct session
368 - [CLEANUP] stats: make all dump functions only rely on the stream interface
369 - [REORG] session: move the data_ctx struct to the stream interface's applet
370 - [MINOR] proxy: add PR_O2_DISPATCH to detect dispatch mode
371 - [MINOR] cfgparse: only keep one of dispatch, transparent, http_proxy
372 - [MINOR] session: add a pointer to the new target into the session
373 - [MEDIUM] session: remove s->prev_srv which is not needed anymore
374 - [CLEANUP] stream_interface: use inline functions to manipulate targets
375 - [MAJOR] session: remove the ->srv pointer from struct session
376 - [MEDIUM] stats: split frontend and backend stats
377 - [MEDIUM] http: always evaluate http-request rules before stats http-request
378 - [REORG] http: move the http-request rules to proto_http
379 - [BUG] http: stats were not incremented on http-request deny
380 - [MINOR] checks: report it if checks fail due to socket creation error
381
Willy Tarreau442e8342010-11-11 23:29:35 +01003822010/11/11 : 1.5-dev3
383 - [DOC] fix http-request documentation
384 - [MEDIUM] enable/disable servers from the stats web interface
385 - [MEDIUM] stats: add an admin level
386 - [DOC] stats: document the "stats admin" statement
387 - [MINOR] startup: print the proxy socket which caused an error
388 - [CLEANUP] Remove unneeded chars allocation
389 - [MINOR] config: detect options not supported due to compilation options
390 - [MINOR] Add pattern's fetchs payload and payload_lv
391 - [MINOR] frontend: improve accept-proxy header parsing
392 - [MINOR] frontend: add tcpv6 support on accept-proxy bind
393 - [MEDIUM] Enhance message errors management on binds
394 - [MINOR] Manage unix socket source field on logs
395 - [MINOR] Manage unix socket source field on session dump on sock stats
396 - [MINOR] Support of unix listener sockets for debug and log event messages on frontend.c
397 - [MINOR] Add some tests on sockets family for port remapping and mode transparent.
398 - [MINOR] Manage socket type unix for some logs
399 - [MINOR] Enhance controls of socket's family on acls and pattern fetch
400 - [MINOR] Support listener's sockets unix on http logs.
401 - [MEDIUM] Add supports of bind on unix sockets.
402 - [BUG] stick table purge failure if size less than 255
403 - [BUG] stick table entries expire on counters updates/read or show table, even if there is no "expire" parameter
404 - [MEDIUM] Implement tcp inspect response rules
405 - [DOC] tcp-response content and inspect
406 - [MINOR] new acls fetch req_ssl_hello_type and rep_ssl_hello_type
407 - [DOC] acls rep_ssl_hello and req_ssl_hello
408 - [MEDIUM] Create new protected pattern types CONSTSTRING and CONSTDATA to force memcpy if data from protected areas need to be manipulated.
409 - [DOC] new type binary in stick-table
410 - [DOC] stick store-response and new patterns payload and payload_lv
411 - [MINOR] Manage all types (ip, integer, string, binary) on cli "show table" command
412 - [MEDIUM] Create updates tree on stick table to manage sync.
413 - [MAJOR] Add new files src/peer.c, include/proto/peers.h and include/types/peers.h for sync stick table management
414 - [MEDIUM] Manage peers section parsing and stick table registration on peers.
415 - [MEDIUM] Manage soft stop on peers proxy
416 - [DOC] add documentation for peers section
417 - [MINOR] checks: add support for LDAPv3 health checks
418 - [MINOR] add better support to "mysql-check"
419 - [BUG] Restore info about available active/backup servers
420 - [CONTRIB] Update haproxy.pl
421 - [CONTRIB] Update Cacti Tempates
422 - [CONTRIB] add templates for Cacti.
423 - [BUG] http: don't consider commas as a header delimitor within quotes
424 - [MINOR] support a global jobs counter
425 - [DOC] add a summary about cookie incompatibilities between specs and browsers
426 - [DOC] fix description of cookie "insert" and "indirect" modes
427 - [MEDIUM] http: fix space handling in the request cookie parser
428 - [MEDIUM] http: fix space handling in the response cookie parser
429 - [DOC] fix typo in the queue() definition (backend, not frontend)
430 - [BUG] deinit: unbind listeners before freeing them
431 - [BUG] stream_interface: only call si->release when both dirs are closed
432 - [MEDIUM] buffers: rework the functions to exchange between SI and buffers
433 - [DOC] fix typo in the avg_queue() and be_conn() definition (backend, not frontend)
434 - [MINOR] halog: add '-tc' to sort by termination codes
435 - [MINOR] halog: skip non-traffic logs for -st and -tc
436 - [BUG] stream_sock: cleanly disable the listener in case of resource shortage
437 - [BUILD] stream_sock: previous fix lacked the #include, causing a warning.
438 - [DOC] bind option is "defer-accept", not "defer_accept"
439 - [DOC] missing index entry for http-check send-state
440 - [DOC] tcp-request inspect-delay is for backends too
441 - [BUG] ebtree: string_equal_bits() could return garbage on identical strings
442 - [BUG] stream_sock: try to flush any extra pending request data after a POST
443 - [BUILD] proto_http: eliminate some build warnings with gcc-2.95
444 - [MEDIUM] make it possible to combine http-pretend-keepalived with httpclose
445 - [MEDIUM] tcp-request : don't wait for inspect-delay to expire when the buffer is full
446 - [MEDIUM] checks: add support for HTTP contents lookup
447 - [TESTS] add test-check-expect to test various http-check methods
448 - [MINOR] global: add "tune.chksize" to change the default check buffer size
449 - [MINOR] cookie: add options "maxidle" and "maxlife"
450 - [MEDIUM] cookie: support client cookies with some contents appended to their value
451 - [MINOR] http: make some room in the transaction flags to extend cookies
452 - [MINOR] cookie: add the expired (E) and old (O) flags for request cookies
453 - [MEDIUM] cookie: reassign set-cookie status flags to store more states
454 - [MINOR] add encode/decode function for 30-bit integers from/to base64
455 - [MEDIUM] cookie: check for maxidle and maxlife for incoming dated cookies
456 - [MEDIUM] cookie: set the date in the cookie if needed
457 - [DOC] document the cookie maxidle and maxlife parameters
458 - [BUG] checks: don't log backend down for all zero-weight servers
459 - [MEDIUM] checks: set server state to one state from failure when leaving maintenance
460 - [BUG] config: report correct keywords for "observe"
461 - [MINOR] checks: ensure that we can inherit binary checks from the defaults section
462 - [MINOR] acl: add the http_req_first match
463 - [DOC] fix typos about bind-process syntax
464 - [BUG] cookie: correctly unset default cookie parameters
465 - [MINOR] cookie: add support for the "preserve" option
466 - [BUG] ebtree: fix duplicate strings insertion
467 - [CONTRIB] halog: report per-url counts, errors and times
468 - [CONTRIB] halog: minor speed improvement in timer parser
469 - [MINOR] buffers: add a new request analyser flag for PROXY mode
470 - [MINOR] listener: add the "accept-proxy" option to the "bind" keyword
471 - [MINOR] standard: add read_uint() to parse a delimited unsigned integer
472 - [MINOR] standard: change arg type from const char* to char*
473 - [MINOR] frontend: add a new analyser to parse a proxied connection
474 - [MEDIUM] session: call the frontend_decode_proxy analyser on proxied connections
475 - [DOC] add the proxy protocol's specifications
476 - [DOC] document the 'accept-proxy' bind option
477 - [MINOR] cfgparse: report support of <path> for the 'bind' statements
478 - [DOC] add references to unix socket handling
479 - [MINOR] move MAXPATHLEN definition to compat.h
480 - [MEDIUM] unix sockets: cleanup the error reporting path
481 - [BUG] session: don't stop forwarding of data upon last packet
482 - [CLEANUP] accept: replace some inappropriate Alert() calls with send_log()
483 - [BUILD] peers: shut a printf format warning (key_size is a size_t)
484 - [BUG] accept: don't close twice upon error
485 - [OPTIM] session: don't recheck analysers when buffer flags have not changed
486 - [OPTIM] stream_sock: don't clear FDs that are already cleared
487 - [BUG] proto_tcp: potential bug on pattern fetch dst and dport
488
Willy Tarreau37242fa2010-08-28 19:21:00 +02004892010/08/28 : 1.5-dev2
490 - [MINOR] startup: release unused structs after forking
491 - [MINOR] startup: don't wait for nothing when no old pid remains
492 - [CLEANUP] reference product branch 1.5
493 - [MEDIUM] signals: add support for registering functions and tasks
494 - [MEDIUM] signals: support redistribution of signal zero when stopping
495 - [BUG] http: don't set auto_close if more data are expected
496
Willy Tarreaufc815fd2010-08-25 10:56:53 +02004972010/08/25 : 1.5-dev1
498 - [BUG] stats: session rate limit gets garbaged in the stats
499 - [DOC] mention 'option http-server-close' effect in Tq section
500 - [DOC] summarize and highlight persistent connections behaviour
501 - [DOC] add configuration samples
502 - [BUG] http: dispatch and http_proxy modes were broken for a long time
503 - [BUG] http: the transaction must be initialized even in TCP mode
504 - [BUG] tcp: dropped connections must be counted as "denied" not "failed"
505 - [BUG] consistent hash: balance on all servers, not only 2 !
506 - [CONTRIB] halog: report per-server status codes, errors and response times
507 - [BUG] http: the transaction must be initialized even in TCP mode (part 2)
508 - [BUG] client: always ensure to zero rep->analysers
509 - [BUG] session: clear BF_READ_ATTACHED before next I/O
510 - [BUG] http: automatically close response if req is aborted
511 - [BUG] proxy: connection rate limiting was eating lots of CPU
512 - [BUG] http: report correct flags in case of client aborts during body
513 - [TESTS] refine non-regression tests and add 4 new tests
514 - [BUG] debug: wrong pointer was used to report a status line
515 - [BUG] debug: correctly report truncated messages
516 - [DOC] document the "dispatch" keyword
517 - [BUG] stick_table: fix possible memory leak in case of connection error
518 - [CLEANUP] acl: use 'L6' instead of 'L4' in ACL flags relying on contents
519 - [MINOR] accept: count the incoming connection earlier
520 - [CLEANUP] tcp: move some non tcp-specific layer6 processing out of proto_tcp
521 - [CLEANUP] client: move some ACLs away to their respective locations
522 - [CLEANUP] rename client -> frontend
523 - [MEDIUM] separate protocol-level accept() from the frontend's
524 - [MINOR] proxy: add a list to hold future layer 4 rules
525 - [MEDIUM] config: parse tcp layer4 rules (tcp-request accept/reject)
526 - [MEDIUM] tcp: check for pure layer4 rules immediately after accept()
527 - [OPTIM] frontend: tell the compiler that errors are unlikely to occur
528 - [MEDIUM] frontend: check for LI_O_TCP_RULES in the listener
529 - [MINOR] frontend: only check for monitor-net rules if LI_O_CHK_MONNET is set
530 - [CLEANUP] buffer->cto is not used anymore
531 - [MEDIUM] session: finish session establishment sequence in with I/O handlers
532 - [MEDIUM] session: initialize server-side timeouts after connect()
533 - [MEDIUM] backend: initialize the server stream_interface upon connect()
534 - [MAJOR] frontend: don't initialize the server-side stream_int anymore
535 - [MEDIUM] session: move the conn_retries attribute to the stream interface
536 - [MEDIUM] session: don't assign conn_retries upon accept() anymore
537 - [MINOR] frontend: rely on the frontend and not the backend for INDEPSTR
538 - [MAJOR] frontend: reorder the session initialization upon accept
539 - [MINOR] proxy: add an accept() callback for the application layer
540 - [MAJOR] frontend: split accept() into frontend_accept() and session_accept()
541 - [MEDIUM] stats: rely on the standard session_accept() function
542 - [MINOR] buffer: refine the flags that may wake an analyser up.
543 - [MINOR] stream_sock: don't dereference a non-existing frontend
544 - [MINOR] session: differenciate between accepted connections and received connections
545 - [MEDIUM] frontend: count the incoming connection earlier
546 - [MINOR] frontend: count denied TCP requests separately
547 - [CLEANUP] stick_table: add/clarify some comments
548 - [BUILD] memory: add a few missing parenthesis to the pool management macros
549 - [MINOR] stick_table: add support for variable-sized data
550 - [CLEANUP] stick_table: rename some stksess struct members to avoid confusion
551 - [CLEANUP] stick_table: move pattern to key functions to stick_table.c
552 - [MEDIUM] stick_table: add room for extra data types
553 - [MINOR] stick_table: add support for "conn_cum" data type.
554 - [MEDIUM] stick_table: don't overwrite data when storing an entry
555 - [MINOR] config: initialize stick tables after all the parsing
556 - [MINOR] stick_table: provide functions to return stksess data from a type
557 - [MEDIUM] stick_table: move the server ID to a generic data type
558 - [MINOR] stick_table: enable it for frontends too
559 - [MINOR] stick_table: export the stick_table_key
560 - [MINOR] tcp: add per-source connection rate limiting
561 - [MEDIUM] stick_table: separate storage and update of session entries
562 - [MEDIUM] stick-tables: add a reference counter to each entry
563 - [MINOR] session: add a pointer to the tracked counters for the source
564 - [CLEANUP] proto_tcp: make the config parser a little bit more flexible
565 - [BUG] config: report the correct proxy type in tcp-request errors
566 - [MINOR] config: provide a function to quote args in a more friendly way
567 - [BUG] stick_table: the fix for the memory leak caused a regression
568 - [MEDIUM] backend: support servers on 0.0.0.0
569 - [BUG] stick-table: correctly refresh expiration timers
570 - [MEDIUM] stream-interface: add a ->release callback
571 - [MINOR] proxy: add a "parent" member to the structure
572 - [MEDIUM] session: make it possible to call an I/O handler on both SI
573 - [MINOR] tools: add a fast div64_32 function
574 - [MINOR] freq_ctr: add new types and functions for periods different from 1s
575 - [MINOR] errors: provide new status codes for config parsing functions
576 - [BUG] http: denied requests must not be counted as denied resps in listeners
577 - [MINOR] tools: add a get_std_op() function to parse operators
578 - [MEDIUM] acl: make use of get_std_op() to parse intger ranges
579 - [MAJOR] stream_sock: better wakeup conditions on read()
580 - [BUG] session: analysers must be checked when SI state changes
581 - [MINOR] http: reset analysers to listener's, not frontend's
582 - [MEDIUM] session: support "tcp-request content" rules in backends
583 - [BUILD] always match official tags when doing git-tar
584 - [MAJOR] stream_interface: fix the wakeup conditions for embedded iohandlers
585 - [MEDIUM] buffer: make buffer_feed* support writing non-contiguous chunks
586 - [MINOR] tcp: src_count acl does not have a permanent result
587 - [MAJOR] session: add track-counters to track counters related to the session
588 - [MINOR] stick-table: provide a table lookup function
589 - [MINOR] stick-table: use suffix "_cnt" for cumulated counts
590 - [MEDIUM] session: move counter ACL fetches from proto_tcp
591 - [MEDIUM] session: add concurrent connections counter
592 - [MEDIUM] session: add data in and out volume counters
593 - [MINOR] session: add the trk_conn_cnt ACL keyword to track connection counts
594 - [MEDIUM] session-counters: automatically update tracked connection count
595 - [MINOR] session: add the trk_conn_cur ACL keyword to track concurrent connection
596 - [MINOR] session: add trk_kbytes_* ACL keywords to track data size
597 - [MEDIUM] session: add a counter on the cumulated number of sessions
598 - [MINOR] config: support a comma-separated list of store data types in stick-table
599 - [MEDIUM] stick-tables: add support for arguments to data_types
600 - [MEDIUM] stick-tables: add stored data argument type checking
601 - [MEDIUM] session counters: add conn_rate and sess_rate counters
602 - [MEDIUM] session counters: add bytes_in_rate and bytes_out_rate counters
603 - [MINOR] stktable: add a stktable_update_key() function
604 - [MINOR] session-counters: add a general purpose counter (gpc0)
605 - [MEDIUM] session-counters: add HTTP req/err tracking
606 - [MEDIUM] stats: add "show table [<name>]" to dump a stick-table
607 - [MEDIUM] stats: add "clear table <name> key <value>" to clear table entries
608 - [CLEANUP] stick-table: declare stktable_data_types as extern
609 - [MEDIUM] stick-table: make use of generic types for stored data
610 - [MINOR] stats: correctly report errors on "show table" and "clear table"
611 - [MEDIUM] stats: add the ability to dump table entries matching criteria
612 - [DOC] configuration: document all the new tracked counters
613 - [DOC] stats: document "show table" and "clear table"
614 - [MAJOR] session-counters: split FE and BE track counters
615 - [MEDIUM] tcp: accept the "track-counters" in "tcp-request content" rules
616 - [MEDIUM] session counters: automatically remove expired entries.
617 - [MEDIUM] config: replace 'tcp-request <action>' with "tcp-request connection"
618 - [MEDIUM] session-counters: make it possible to count connections from frontend
619 - [MINOR] session-counters: use "track-sc{1,2}" instead of "track-{fe,be}-counters"
620 - [MEDIUM] session-counters: correctly unbind the counters tracked by the backend
621 - [CLEANUP] stats: use stksess_kill() to remove table entries
622 - [DOC] update the references to session counters and to tcp-request connection
623 - [DOC] cleanup: split a few long lines
624 - [MEDIUM] http: forward client's close when abortonclose is set
625 - [BUG] queue: don't dequeue proxy-global requests on disabled servers
626 - [BUG] stats: global stats timeout may be specified before stats socket.
627 - [BUG] conf: add tcp-request content rules to the correct list
628
Willy Tarreau21475e32010-05-23 08:46:08 +02006292010/05/23 : 1.5-dev0
630 - exact copy of 1.4.6
631
Willy Tarreau5fdd77d2010-05-16 22:34:28 +02006322010/05/16 : 1.4.6
633 - [BUILD] ebtree: update to v6.0.1 to remove references to dprintf()
634 - [CLEANUP] acl: make use of eb_is_empty() instead of open coding the tree's emptiness test
635 - [MINOR] acl: add srv_is_up() to check that a specific server is up or not
636 - [DOC] add a few precisions about the use of RDP cookies
637
Willy Tarreau9d4d9e32010-05-13 22:17:08 +02006382010/05/13 : 1.4.5
639 - [DOC] report minimum kernel version for tproxy in the Makefile
640 - [MINOR] add the "ignore-persist" option to conditionally ignore persistence
641 - [DOC] add the "ignore-persist" option to conditionally ignore persistence
642 - [DOC] fix ignore-persist/force-persist documentation
643 - [BUG] cttproxy: socket fd leakage in check_cttproxy_version
644 - [DOC] doc/configuration.txt: fix typos
645 - [MINOR] option http-pretend-keepalive is both for FEs and BEs
646 - [MINOR] fix possible crash in debug mode with invalid responses
647 - [MINOR] halog: add support for statisticts on status codes
648 - [OPTIM] halog: use a faster zero test in fgets()
649 - [OPTIM] halog: minor speedup by using unlikely()
650 - [OPTIM] halog: speed up fgets2-64 by about 10%
651 - [DOC] refresh the README file and merge the CONTRIB file into it
652 - [MINOR] acl: support loading values from files
653 - [MEDIUM] ebtree: upgrade to version 6.0
654 - [MINOR] acl trees: add flags and union members to store values in trees
655 - [MEDIUM] acl: add ability to insert patterns in trees
656 - [MEDIUM] acl: add tree-based lookups of exact strings
657 - [MEDIUM] acl: add tree-based lookups of networks
658 - [MINOR] acl: ignore empty lines and comments in pattern files
659 - [MINOR] stick-tables: add support for "stick on hdr"
660
Willy Tarreau9508c1c2010-04-07 23:12:24 +02006612010/04/07 : 1.4.4
662 - [BUG] appsession should match the whole cookie name
663 - [CLEANUP] proxy: move PR_O_SSL3_CHK to options2 to release one flag
664 - [MEDIUM] backend: move the transparent proxy address selection to backend
665 - [MINOR] add very fast IP parsing functions
666 - [MINOR] add new tproxy flags for dynamic source address binding
667 - [MEDIUM] add ability to connect to a server from an IP found in a header
668 - [BUILD] config: last patch breaks build without CONFIG_HAP_LINUX_TPROXY
669 - [MINOR] http: make it possible to pretend keep-alive when doing close
670 - [MINOR] config: report "default-server" instead of "(null)" in error messages
671
Willy Tarreau75934a12010-03-30 09:50:08 +02006722010/03/30 : 1.4.3
673 - [CLEANUP] stats: remove printf format warning in stats_dump_full_sess_to_buffer()
674 - [MEDIUM] session: better fix for connection to servers with closed input
675 - [DOC] indicate in the doc how to bind to port ranges
676 - [BUG] backend: L7 hashing must not be performed on incomplete requests
677 - [TESTS] add a simple program to test connection resets
678 - [MINOR] cli: "show errors" should display "backend <NONE>" when backend was not used
679 - [MINOR] config: emit warnings when HTTP-only options are used in TCP mode
680 - [MINOR] config: allow "slowstart 0s"
681 - [BUILD] 'make tags' did not consider files ending in '.c'
682 - [MINOR] checks: add the ability to disable a server in the config
683
Willy Tarreauda618cb2010-03-17 23:41:57 +01006842010/03/17 : 1.4.2
685 - [CLEANUP] product branch update
686 - [DOC] Some more documentation cleanups
687 - [BUG] clf logs segfault when capturing a non existant header
688 - [OPTIM] config: only allocate check buffer when checks are enabled
689 - [MEDIUM] checks: support multi-packet health check responses
690 - [CLEANUP] session: remove duplicate test
691 - [BUG] http: don't wait for response data to leave buffer is client has left
692 - [MINOR] proto_uxst: set accept_date upon accept() to the wall clock time
693 - [MINOR] stats: don't send empty lines in "show errors"
694 - [MINOR] stats: make the data dump function reusable for other purposes
695 - [MINOR] stats socket: add show sess <id> to dump details about a session
696 - [BUG] stats: connection reset counters must be plain ascii, not HTML
697 - [BUG] url_param hash may return a down server
698 - [MINOR] force null-termination of hostname
699 - [MEDIUM] connect to servers even when the input has already been closed
700 - [BUG] don't merge anonymous ACLs !
701 - [BUG] config: fix endless loop when parsing "on-error"
702 - [MINOR] http: don't mark a server as failed when it returns 501/505
703 - [OPTIM] checks: try to detect the end of response without polling again
704 - [BUG] checks: don't report an error when recv() returns an error after data
705 - [BUG] checks: don't abort when second poll returns an error
706 - [MINOR] checks: make shutdown() silently fail
707 - [BUG] http: fix truncated responses on chunk encoding when size divides buffer size
708 - [BUG] init: unconditionally catch SIGPIPE
709 - [BUG] checks: don't wait for a close to start parsing the response
710
Willy Tarreauc5e60c32010-03-04 23:39:19 +01007112010/03/04 : 1.4.1
712 - [BUG] Clear-cookie path issue
713 - [DOC] fix typo on stickiness rules
714 - [BUILD] fix BSD and OSX makefiles for missing files
715 - [BUILD] includes order breaks OpenBSD build
716 - [BUILD] fix some build warnings on Solaris with is* macros
717 - [BUG] logs: don't report "last data" when we have just closed after an error
718 - [BUG] logs: don't report "proxy request" when server closes early
719 - [BUILD] fix platform-dependant build issues related to crypt()
720 - [STATS] count transfer aborts caused by client and by server
721 - [STATS] frontend requests were not accounted for failed requests
722 - [MINOR] report total number of processed connections when stopping a proxy
723 - [DOC] be more clear about the limitation to one single monitor-net entry
724
Willy Tarreaue18fdfd2010-02-26 14:55:22 +01007252010/02/26 : 1.4.0
726 - [MINOR] stats: report maint state for tracking servers too
727 - [DOC] fix summary to add pattern extraction
728 - [DOC] Documentation cleanups
729 - [BUG] cfgparse memory leak and missing free calls in deinit()
730 - [BUG] pxid/puid/luid: don't shift IDs when some of them are forced
731 - [EXAMPLES] add auth.cfg
732 - [BUG] uri_auth: ST_SHLGNDS should be 0x00000008 not 0x0000008
733 - [BUG] uri_auth: do not attemp to convert uri_auth -> http-request more than once
734 - [BUILD] auth: don't use unnamed unions
735 - [BUG] config: report unresolvable host names as errors
736 - [BUILD] fix build breakage with DEBUG_FULL
737 - [DOC] fix a typo about timeout check and clarify the explanation.
738 - [MEDIUM] http: don't use trash to realign large buffers
739 - [STATS] report HTTP requests (total and rate) in frontends
740 - [STATS] separate frontend and backend HTTP stats
741 - [MEDIUM] http: revert to use a swap buffer for realignment
742 - [MINOR] stats: report the request rate in frontends as cell titles
743 - [MINOR] stats: mark areas with an underline when tooltips are available
744 - [DOC] reorder some entries to maintain the alphabetical order
745 - [DOC] cleanup of the keyword matrix
746
Willy Tarreaub05613d2010-02-02 10:18:28 +01007472010/02/02 : 1.4-rc1
748 - [MEDIUM] add a maintenance mode to servers
749 - [MINOR] http-auth: last fix was wrong
750 - [CONTRIB] add base64rev-gen.c that was used to generate the base64rev table.
751 - [MINOR] Base64 decode
752 - [MINOR] generic auth support with groups and encrypted passwords
753 - [MINOR] add ACL_TEST_F_NULL_MATCH
754 - [MINOR] http-request: allow/deny/auth support for frontend/backend/listen
755 - [MINOR] acl: add http_auth and http_auth_group
756 - [MAJOR] use the new auth framework for http stats
757 - [DOC] add info about userlists, http-request and http_auth/http_auth_group acls
758 - [STATS] make it possible to change a CLI connection timeout
759 - [BUG] patterns: copy-paste typo in type conversion arguments
760 - [MINOR] pattern: make the converter more flexible by supporting void* and int args
761 - [MINOR] standard: str2mask: string to netmask converter
762 - [MINOR] pattern: add support for argument parsers for converters
763 - [MINOR] pattern: add the "ipmask()" converting function
764 - [MINOR] config: off-by-one in "stick-table" after list of converters
765 - [CLEANUP] acl, patterns: make use of my_strndup() instead of malloc+memcpy
766 - [BUG] restore accidentely removed line in last patch !
767 - [MINOR] checks: make the HTTP check code add the CRLF itself
768 - [MINOR] checks: add the server's status in the checks
769 - [BUILD] halog: make without arch-specific optimizations
770 - [BUG] halog: fix segfault in case of empty log in PCT mode (cherry picked from commit fe362fe4762151d209b9656639ee1651bc2b329d)
771 - [MINOR] http: disable keep-alive when process is going down
772 - [MINOR] acl: add build_acl_cond() to make it easier to add ACLs in config
773 - [CLEANUP] config: use build_acl_cond() instead of parse_acl_cond()
774 - [CLEANUP] config: use warnif_cond_requires_resp() to check for bad ACLs
775 - [MINOR] prepare req_*/rsp_* to receive a condition
776 - [CLEANUP] config: specify correct const char types to warnif_* functions
777 - [MEDIUM] config: factor out the parsing of 20 req*/rsp* keywords
778 - [MEDIUM] http: make the request filter loop check for optional conditions
779 - [MEDIUM] http: add support for conditional request filter execution
780 - [DOC] add some build info about the AIX platform (cherry picked from commit e41914c77edbc40aebf827b37542d37d758e371e)
781 - [MEDIUM] http: add support for conditional request header addition
782 - [MEDIUM] http: add support for conditional response header rewriting
783 - [DOC] add some missing ACLs about response header matching
784 - [MEDIUM] http: add support for proxy authentication
785 - [MINOR] http-auth: make the 'unless' keyword work as expected
786 - [CLEANUP] config: use build_acl_cond() to simplify http-request ACL parsing
787 - [MEDIUM] add support for anonymous ACLs
788 - [MEDIUM] http: switch to tunnel mode after status 101 responses
789 - [MEDIUM] http: stricter processing of the CONNECT method
790 - [BUG] config: reset check request to avoid double free when switching to ssl/sql
791 - [MINOR] config: fix too large ssl-hello-check message.
792 - [BUG] fix error response in case of server error
793
Willy Tarreau2eba6aa2010-01-25 23:28:05 +01007942010/01/25 : 1.4-dev8
795 - [CLEANUP] Keep in sync "defaults" support between documentation and code
796 - [MEDIUM] http: add support for Proxy-Connection header
797 - [CRITICAL] buffers: buffer_insert_line2 must not change the ->w entry
798 - [MINOR] http: remove a copy-paste typo in transaction cleaning
799 - [BUG] http: trim any excess buffer data when recycling a connection
800
Willy Tarreau6939b552010-01-25 01:54:37 +01008012010/01/25 : 1.4-dev7
802 - [BUG] appsession: possible memory leak in case of out of memory condition
803 - [MINOR] config: don't accept 'appsession' in defaults section
804 - [MINOR] Add function to parse a size in configuration
805 - [MEDIUM] Add stick table (persistence) management functions and types
806 - [MEDIUM] Add pattern fetch management types and functions
807 - [MEDIUM] Add src dst and dport pattern fetches.
808 - [MEDIUM] Add stick table configuration and init.
809 - [MEDIUM] Add stick and store rules analysers.
810 - [MINOR] add option "mysql-check" to use MySQL health checks
811 - [BUG] health checks: fix requeued message
812 - [OPTIM] remove SSP_O_VIA and SSP_O_STATUS
813 - [BUG] checks: fix newline termination
814 - [MINOR] acl: add fe_id/so_id to match frontend's and socket's id
815 - [BUG] appsession's sessid must be reset at end of transaction
816 - [BUILD] appsession did not build anymore under gcc-2.95
817 - [BUG] server redirection used an uninitialized string.
818 - [MEDIUM] http: fix handling of message pointers
819 - [MINOR] http: fix double slash prefix with server redirect
820 - [MINOR] http redirect: add the ability to append a '/' to the URL
821 - [BUG] stream_interface: fix retnclose and remove cond_close
822 - [MINOR] http redirect: don't explicitly state keep-alive on 1.1
823 - [MINOR] http: move appsession 'sessid' from session to http_txn
824 - [OPTIM] reorder http_txn to optimize cache lines placement
825 - [MINOR] http: differentiate waiting for new request and waiting for a complete requst
826 - [MINOR] http: add a separate "http-keep-alive" timeout
827 - [MINOR] config: remove undocumented and buggy 'timeout appsession'
828 - [DOC] fix various too large lines
829 - [DOC] remove several trailing spaces
830 - [DOC] add the doc about stickiness
831 - [BUILD] remove a warning in standard.h on AIX
832 - [BUG] checks: chars are unsigned on AIX, check was always true
833 - [CLEANUP] stream_sock: MSG_NOSIGNAL is only for send(), not recv()
834 - [BUG] check: we must not check for error before reading a response
835 - [BUG] buffers: remove remains of wrong obsolete length check
836 - [OPTIM] stream_sock: don't shutdown(write) when the socket is in error
837 - [BUG] http: don't count req errors on client resets or t/o during keep-alive
838 - [MEDIUM] http: don't switch to tunnel mode upon close
839 - [DOC] add documentation about connection header processing
840 - [MINOR] http: add http_remove_header2() to remove a header value.
841 - [MINOR] tools: add a "word_match()" function to match words and ignore spaces
842 - [MAJOR] http: rework request Connection header handling
843 - [MAJOR] http: rework response Connection header handling
844 - [MINOR] add the ability to force kernel socket buffer size.
845 - [BUG] http_server_error() must not purge a previous pending response
846 - [OPTIM] http: don't delay response if next request is incomplete
847 - [MINOR] add the "force-persist" statement to force persistence on down servers
848 - [MINOR] http: logs must report persistent connections to down servers
849 - [BUG] buffer_replace2 must never change the ->w entry
850
Willy Tarreau11f8f542010-01-08 07:49:44 +01008512010/01/08 : 1.4-dev6
852 - [BUILD] warning in stream_interface.h
853 - [BUILD] warning ultoa_r returns char *
854 - [MINOR] hana: only report stats if it is enabled
855 - [MINOR] stats: add "a link" & "a href" for sockets
856 - [MINOR]: stats: add show-legends to report additional informations
857 - [MEDIUM] default-server support
858 - [BUG]: add 'observer', 'on-error', 'error-limit' to supported options list
859 - [MINOR] stats: add href to tracked server
860 - [BUG] stats: show UP/DOWN status also in tracking servers
861 - [DOC] Restore ability to search a keyword at the beginning of a line
862 - [BUG] stats: cookie should be reported under backend not under proxy
863 - [BUG] cfgparser/stats: fix error message
864 - [BUG] http: disable auto-closing during chunk analysis
865 - [BUG] http: fix hopefully last closing issue on data forwarding
866 - [DEBUG] add an http_silent_debug function to debug HTTP states
867 - [MAJOR] http: fix again the forward analysers
868 - [BUG] http_process_res_common() must not skip the forward analyser
869 - [BUG] http: some possible missed close remain in the forward chain
870 - [BUG] http: redirect needed to be updated after recent changes
871 - [BUG] http: don't set no-linger on response in case of forced close
872 - [MEDIUM] http: restore the original behaviour of option httpclose
873 - [TESTS] add a file to test various connection modes
874 - [BUG] http: check options before the connection header
875 - [MAJOR] session: fix the order by which the analysers are run
876 - [MEDIUM] session: also consider request analysers added during response
877 - [MEDIUM] http: make safer use of the DONT_READ and AUTO_CLOSE flags
878 - [BUG] http: memory leak with captures when using keep-alive
879 - [BUG] http: fix for capture memory leak was incorrect
880 - [MINOR] http redirect: use proper call to return last response
881 - [MEDIUM] http: wait for some flush of the response buffer before a new request
882 - [MEDIUM] session: limit the number of analyser loops
883
Willy Tarreau1f445892010-01-03 23:23:36 +01008842010/01/03 : 1.4-dev5
885 - [MINOR] server tracking: don't care about the tracked server's mode
886 - [MEDIUM] appsession: add "len", "prefix" and "mode" options
887 - [MEDIUM] appsession: add the "request-learn" option
888 - [BUG] Configuration parser bug when escaping characters
889 - [MINOR] CSS & HTML fun
890 - [MINOR] Collect & provide http response codes received from servers
891 - [BUG] Fix silly typo: hspr_other -> hrsp_other
892 - [MINOR] Add "a name" to stats page
893 - [MINOR] add additional "a href"s to stats page
894 - [MINOR] Collect & provide http response codes for frontends, fix backends
895 - [DOC] some small spell fixes and unifications
896 - [MEDIUM] Decrease server health based on http responses / events, version 3
897 - [BUG] format '%d' expects type 'int', but argument 5 has type 'long int'
898 - [BUG] config: fix erroneous check on cookie domain names, again
899 - [BUG] Healthchecks: get a proper error code if connection cannot be completed immediately
900 - [DOC] trivial fix for man page
901 - [MINOR] config: report all supported options for the "bind" keyword
902 - [MINOR] tcp: add support for the defer_accept bind option
903 - [MINOR] unix socket: report the socket path in case of bind error
904 - [CONTRIB] halog: support searching by response time
905 - [DOC] add a reminder about obsolete documents
906 - [DOC] point to 1.4 doc, not 1.3
907 - [DOC] option tcp-smart-connect was missing from index
908 - [MINOR] http: detect connection: close earlier
909 - [CLEANUP] sepoll: clean up the fd_clr/fd_set functions
910 - [OPTIM] move some rarely used fields out of fdtab
911 - [MEDIUM] fd: merge fd_list into fdtab
912 - [MAJOR] buffer: flag BF_DONT_READ to disable reads when not required
913 - [MINOR] http: add new transaction flags for keep-alive and content-length
914 - [MEDIUM] http request: parse connection, content-length and transfer-encoding
915 - [MINOR] http request: update the TX_SRV_CONN_KA flag on rewrite
916 - [MINOR] http request: simplify the test of no-data
917 - [MEDIUM] http request: simplify POST length detection
918 - [MEDIUM] http request: make use of pre-parsed transfer-encoding header
919 - [MAJOR] http: create the analyser which waits for a response
920 - [MINOR] http: pre-set the persistent flags in the transaction
921 - [MEDIUM] http response: check body length and set transaction flags
922 - [MINOR] http response: update the TX_CLI_CONN_KA flag on rewrite
923 - [MINOR] http: remove the last call to stream_int_return
924 - [IMPORT] import ebtree v5.0 into directory ebtree/
925 - [MEDIUM] build: switch ebtree users to use new ebtree version
926 - [CLEANUP] ebtree: remove old unused files
927 - [BUG] definitely fix regparm issues between haproxy core and ebtree
928 - [CLEANUP] ebtree: cast to char * to get rid of gcc warning
929 - [BUILD] missing #ifndef in ebmbtree.h
930 - [BUILD] missing #ifndef in ebsttree.h
931 - [MINOR] tools: add hex2i() function to convert hex char to int
932 - [MINOR] http: create new MSG_BODY sub-states
933 - [BUG] stream_sock: BUF_INFINITE_FORWARD broke splice on 64-bit platforms
934 - [DOC] option is "defer-accept", not "defer_accept"
935 - [MINOR] http: keep pointer to beginning of data
936 - [BUG] x-original-to: name was not set in default instance
937 - [MINOR] http: detect tunnel mode and set it in the session
938 - [BUG] config: fix error message when config file is not found
939 - [BUG] config: fix wrong handling of too large argument count
940 - [BUG] config: disable 'option httplog' on TCP proxies
941 - [BUG] config: fix erroneous check on cookie domain names
942 - [BUG] config: cookie domain was ignored in defaults sections
943 - [MINOR] config: support passing multiple "domain" statements to cookies
944 - [MINOR] ebtree: add functions to lookup non-null terminated strings
945 - [MINOR] config: don't report error on all subsequent files on failure
946 - [BUG] second fix for the printf format warning
947 - [BUG] check_post: limit analysis to the buffer length
948 - [MEDIUM] http: process request body in a specific analyser
949 - [MEDIUM] backend: remove HTTP POST parsing from get_server_ph_post()
950 - [MAJOR] http: completely process the "connection" header
951 - [MINOR] http: only consider chunk encoding with HTTP/1.1
952 - [MAJOR] buffers: automatically compute the maximum buffer length
953 - [MINOR] http: move the http transaction init/cleanup code to proto_http
954 - [MINOR] http: move 1xx handling earlier to eliminate a lot of ifs
955 - [MINOR] http: introduce a new synchronisation state : HTTP_MSG_DONE
956 - [MEDIUM] http: rework chunk-size parser
957 - [MEDIUM] http: add a new transaction flags indicating if we know the transfer length
958 - [MINOR] buffers: add buffer_ignore() to skip some bytes
959 - [BUG] http: offsets are relative to the buffer, not to ->som
960 - [MEDIUM] http: automatically re-aling request buffer
961 - [BUG] http: body parsing must consider the start of message
962 - [MINOR] new function stream_int_cond_close()
963 - [MAJOR] http: implement body parser
964 - [BUG] http: typos on several unlikely() around header insertion
965 - [BUG] stream_sock: wrong max computation on recv
966 - [MEDIUM] http: rework the buffer alignment logic
967 - [BUG] buffers: wrong size calculation for displaced data
968 - [MINOR] stream_sock: prepare for closing when all pending data are sent
969 - [MEDIUM] http: add two more states for the closing period
970 - [MEDIUM] http: properly handle "option forceclose"
971 - [MINOR] stream_sock: add SI_FL_NOLINGER for faster close
972 - [MEDIUM] http: make forceclose use SI_FL_NOLINGER
973 - [MEDIUM] session: set SI_FL_NOLINGER when aborting on write timeouts
974 - [MEDIUM] http: add some SI_FL_NOLINGER around server errors
975 - [MINOR] config: option forceclose is valid in frontends too
976 - [BUILD] halog: insufficient include path in makefile
977 - [MEDIUM] http: make the analyser not rely on msg being initialized anymore
978 - [MEDIUM] http: make the parsers able to wait for a buffer flush
979 - [MAJOR] http: add support for option http-server-close
980 - [BUG] http: ensure we abort data transfer on write error
981 - [BUG] last fix was overzealous and disabled server-close
982 - [BUG] http: fix erroneous trailers size computation
983 - [MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data
984 - [OPTIM] http: set MSG_MORE on response when a pipelined request is pending
985 - [BUG] http: redirects were broken by chunk changes
986 - [BUG] http: the request URI pointer is relative to the buffer
987 - [OPTIM] http: don't immediately enable reading on request
988 - [MINOR] http: move redirect messages to HTTP/1.1 with a content-length
989 - [BUG] http: take care of errors, timeouts and aborts during the data phase
990 - [MINOR] http: don't wait for sending requests to the server
991 - [MINOR] http: make the conditional redirect support keep-alive
992 - [BUG] http: fix cookie parser to support spaces and commas in values
993 - [MINOR] config: some options were missing for "redirect"
994 - [MINOR] redirect: add support for unconditional rules
995 - [MINOR] config: centralize proxy struct initialization
996 - [MEDIUM] config: remove the limitation of 10 reqadd/rspadd statements
997 - [MEDIUM] config: remove the limitation of 10 config files
998 - [CLEANUP] http: remove a remaining impossible condition
999 - [OPTIM] http: optimize a bit the construct of the forward loops
1000
Willy Tarreauc82a9e52009-10-12 06:40:53 +020010012009/10/12 : 1.4-dev4
1002 - [DOC] add missing rate_lim and rate_max
1003 - [MAJOR] struct chunk rework
1004 - [MEDIUM] Health check reporting code rework + health logging, v3
1005 - [BUG] check if rise/fall has an argument and it is > 0
1006 - [MINOR] health checks logging unification
1007 - [MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2
1008 - [MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname.
1009 - [DOC] Add information about http://haproxy.1wt.eu/contrib.html
1010 - [MINOR] Introduce include/types/counters.h
1011 - [CLEANUP] Move counters to dedicated structures
1012 - [MINOR] Add "clear counters" to clear statistics counters
1013 - [MEDIUM] Collect & provide separate statistics for sockets, v2
1014 - [BUG] Fix NULL pointer dereference in stats_check_uri_auth(), v2
1015 - [MINOR] acl: don't report valid acls as potential mistakes
1016 - [MINOR] Add cut_crlf(), ltrim(), rtrim() and alltrim()
1017 - [MINOR] Add chunk_htmlencode and chunk_asciiencode
1018 - [MINOR] Capture & display more data from health checks, v2
1019 - [BUG] task.c: don't assing last_timer to node-less entries
1020 - [BUG] http stats: large outputs sometimes got some parts chopped off
1021 - [MINOR] backend: export some functions to recount servers
1022 - [MINOR] backend: uninline some LB functions
1023 - [MINOR] include time.h from freq_ctr.h as is uses "now".
1024 - [CLEANUP] backend: move LB algos to individual files
1025 - [MINOR] lb_map: reorder code in order to ease integration of new hash functions
1026 - [CLEANUP] proxy: move last lb-specific bits to their respective files
1027 - [MINOR] backend: separate declarations of LB algos from their lookup method
1028 - [MINOR] backend: reorganize the LB algorithm selection
1029 - [MEDIUM] backend: introduce the "static-rr" LB algorithm
1030 - [MINOR] report list of supported pollers with -vv
1031 - [DOC] log-health-checks is an option, not a directive
1032 - [MEDIUM] new option "independant-streams" to stop updating read timeout on writes
1033 - [BUG] stats: don't call buffer_shutw(), but ->shutw() instead
1034 - [MINOR] stats: strip CR and LF from the input command line
1035 - [BUG] don't refresh timeouts late after detected activity
1036 - [MINOR] stats_dump_errors_to_buffer: use buffer_feed_chunk()
1037 - [MINOR] stats_dump_sess_to_buffer: use buffer_feed_chunk()
1038 - [MINOR] stats: make stats_dump_raw_to_buffer() use buffer_feed_chunk
1039 - [MEDIUM] stats: don't use s->ana_state anymore
1040 - [MINOR] remove now obsolete ana_state from the session struct
1041 - [MEDIUM] stats: make HTTP stats use an I/O handler
1042 - [MEDIUM] stream_int: adjust WAIT_ROOM handling
1043 - [BUG] config: look for ID conflicts in all sockets, not only last ones.
1044 - [MINOR] config: reference file and line with any listener/proxy/server declaration
1045 - [MINOR] config: report places of duplicate names or IDs
1046 - [MINOR] config: add pointer to file name in block/redirect/use_backend/monitor rules
1047 - [MINOR] tools: add a new get_next_id() function
1048 - [MEDIUM] config: automatically find unused IDs for proxies, servers and listeners
1049 - [OPTIM] counters: move some max numbers to the counters struct
1050 - [BUG] counters: fix segfault on missing counters for a listener
1051 - [MEDIUM] backend: implement consistent hashing variation
1052 - [MINOR] acl: add fe_conn, be_conn, queue, avg_queue
1053 - [MINOR] stats: use 'clear counters all' to clear all values
1054 - [MEDIUM] add access restrictions to the stats socket
1055 - [MINOR] buffers: add buffer_feed2() and make buffer_feed() measure string length
1056 - [MINOR] proxy: provide function to retrieve backend/server pointers
1057 - [MINOR] add the "initial weight" to the server struct.
1058 - [MEDIUM] stats: add the "get weight" command to report a server's weight
1059 - [MEDIUM] stats: add the "set weight" command
1060 - [BUILD] add a 'make tags' target
1061 - [MINOR] stats: add support for numeric IDs in set weight/get weight
1062 - [MINOR] stats: use a dedicated state to output static data
1063 - [OPTIM] stats: check free space before trying to print
1064
Willy Tarreau9f389e02009-09-24 00:12:50 +020010652009/09/24 : 1.4-dev3
1066 - [BUILD] compilation of haproxy-1.4-dev2 on FreeBSD
1067 - [MEDIUM] Collect & show information about last health check, v3
1068 - [MINOR] export the hostname variable so that all the code can access it
1069 - [MINOR] stats: add a new node-name setting
1070 - [MEDIUM] remove old experimental tcpsplice option
1071 - [BUILD] fix build for systems without SOL_TCP
1072 - [MEDIUM] move connection establishment from backend to the SI.
1073 - [MEDIUM] make the global stats socket part of a frontend
1074 - [MEDIUM] session: account per-listener connections
1075 - [MINOR] session: switch to established state if no connect function
1076 - [MEDIUM] make the unix stats sockets use the generic session handler
1077 - [CLEANUP] unix: remove uxst_process_session()
1078 - [CLEANUP] move remaining stats sockets code to dumpstats
1079 - [MINOR] move the initial task's nice value to the listener
1080 - [MINOR] cleanup set_session_backend by using pre-computed analysers
1081 - [MINOR] set s->srv_error according to the analysers
1082 - [MEDIUM] set rep->analysers from fe and be analysers
1083 - [MEDIUM] replace BUFSIZE with buf->size in computations
1084 - [MEDIUM] make it possible to change the buffer size in the configuration
1085 - [MEDIUM] report error on buffer writes larger than buffer size
1086 - [MEDIUM] stream_interface: add and use ->update function to resync
1087 - [CLEANUP] remove ifdef MSG_NOSIGNAL and define it instead
1088 - [MEDIUM] remove TCP_CORK and make use of MSG_MORE instead
1089 - [BUG] tarpit did not work anymore
1090 - [MINOR] acl: add support for hdr_ip to match IP addresses in headers
1091 - [MAJOR] buffers: fix misuse of the BF_SHUTW_NOW flag
1092 - [MINOR] buffers: provide more functions to handle buffer data
1093 - [MEDIUM] buffers: provide new buffer_feed*() function
1094 - [MINOR] buffers: add peekchar and peekline functions for stream interfaces
1095 - [MINOR] buffers: provide buffer_si_putchar() to send a char from a stream interface
1096 - [BUG] buffer_forward() would not correctly consider data already scheduled
1097 - [MINOR] buffers: add buffer_cut_tail() to cut only unsent data
1098 - [MEDIUM] stream_interface: make use of buffer_cut_tail() to report errors
1099 - [MAJOR] http: add support for HTTP 1xx informational responses
1100 - [MINOR] buffers: inline buffer_si_putchar()
1101 - [MAJOR] buffers: split BF_WRITE_ENA into BF_AUTO_CONNECT and BF_AUTO_CLOSE
1102 - [MAJOR] buffers: fix the BF_EMPTY flag's meaning
1103 - [BUG] stream_interface: SI_ST_CLO must have buffers SHUT
1104 - [MINOR] stream_sock: don't set SI_FL_WAIT_DATA if BF_SHUTW_NOW is set
1105 - [MEDIUM] add support for infinite forwarding
1106 - [BUILD] stream_interface: fix conflicting declaration
1107 - [BUG] buffers: buffer_forward() must not always clear BF_OUT_EMPTY
1108 - [BUG] variable buffer size ignored at initialization time
1109 - [MINOR] ensure that buffer_feed() and buffer_skip() set BF_*_PARTIAL
1110 - [BUG] fix buffer_skip() and buffer_si_getline() to correctly handle wrap-arounds
1111 - [MINOR] stream_interface: add SI_FL_DONT_WAKE flag
1112 - [MINOR] stream_interface: add iohandler callback
1113 - [MINOR] stream_interface: add functions to support running as internal/external tasks
1114 - [MEDIUM] session: call iohandler for embedded tasks (applets)
1115 - [MINOR] add a ->private member to the stream_interface
1116 - [MEDIUM] stats: prepare the connection for closing before dumping
1117 - [MEDIUM] stats: replace the stats socket analyser with an SI applet
1118
Willy Tarreau68dcd252009-08-09 22:57:09 +020011192009/08/09 : 1.4-dev2
1120 - [BUG] task: fix possible crash when some timeouts are not configured
1121 - [BUG] log: option tcplog would log to global if no logger was defined
1122
Willy Tarreaub03d2982009-07-29 22:38:32 +020011232009/07/29 : 1.4-dev1
1124 - [MINOR] acl: add support for matching of RDP cookies
1125 - [MEDIUM] add support for RDP cookie load-balancing
1126 - [MEDIUM] add support for RDP cookie persistence
1127 - [MINOR] add a new CLF log format
1128 - [MINOR] startup: don't imply -q with -D
1129 - [BUG] ensure that we correctly re-start old process in case of error
1130 - [MEDIUM] add support for binding to source port ranges during connect
1131 - [MINOR] config: track "no option"/"option" changes
1132 - [MINOR] config: support resetting options do default values
1133 - [MEDIUM] implement option tcp-smart-accept at the frontend
1134 - [MEDIUM] stream_sock: implement tcp-cork for use during shutdowns on Linux
1135 - [MEDIUM] implement tcp-smart-connect option at the backend
1136 - [MEDIUM] add support for TCP MSS adjustment for listeners
1137 - [MEDIUM] support setting a server weight to zero
1138 - [MINOR] make DEFAULT_MAXCONN user-configurable at build time
1139 - [MAJOR] session: don't clear buffer status flags anymore
1140 - [MAJOR] session: only check for timeouts when they have just occurred.
1141 - [MAJOR] session: simplify buffer error handling
1142 - [MEDIUM] config: split parser and checker in two functions
1143 - [MEDIUM] config: support loading multiple configuration files
1144 - [MEDIUM] stream_sock: don't close prematurely when nolinger is set
1145 - [MEDIUM] session: rework buffer analysis to permit permanent analysers
1146 - [MEDIUM] splice: set the capability on each stream_interface
1147 - [BUG] http: redirect rules were processed too early
1148 - [CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define
1149 - [MEDIUM] http: split request waiter from request processor
1150 - [MEDIUM] session: tell analysers what bit they were called for
1151 - [MAJOR] http: complete splitting of the remaining stages
1152 - [MINOR] report in the proxies the requirements for ACLs
1153 - [MINOR] http: rely on proxy->acl_requires to allocate hdr_idx
1154 - [MINOR] acl: add HTTP protocol detection (req_proto_http)
1155 - [MINOR] prepare callers of session_set_backend to handle errors
1156 - [BUG] default ACLs did not properly set the ->requires flag
1157 - [MEDIUM] allow a TCP frontend to switch to an HTTP backend
1158 - [MINOR] ensure we can jump from swiching rules to http without data
1159 - [MINOR] http: take http request timeout from the backend
1160 - [MINOR] allow TCP inspection rules to make use of HTTP ACLs
1161 - [BUILD] report commit date and not author's date as build date
1162 - [MINOR] acl: don't complain anymore when using L7 acls in TCP
1163 - [BUG] stream_sock: always shutdown(SHUT_WR) before closing
1164 - [BUG] stream_sock: don't stop reading when the poller reports an error
1165 - [BUG] config: tcp-request content only accepts "if" or "unless"
1166 - [BUG] task: fix possible timer drift after update
1167 - [MINOR] apply tcp-smart-connect option for the checks too
1168 - [MINOR] stats: better displaying in MSIE
1169 - [MINOR] config: improve error reporting in global section
1170 - [MINOR] config: improve error reporting in listen sections
1171 - [MINOR] config: the "capture" keyword is not allowed in backends
1172 - [MINOR] config: improve error reporting when checking configuration
1173 - [BUILD] fix a minor build warning on AIX
1174 - [BUILD] use "git cmd" instead of "git-cmd"
1175 - [CLEANUP] report 2009 not 2008 in the copyright banner.
1176 - [MINOR] print usage on the stats sockets upon invalid commands
1177 - [MINOR] acl: detect and report potential mistakes in ACLs
1178 - [BUILD] fix incorrect printf arg count with tcp_splice
1179 - [BUG] fix random pauses on last segment of a series
1180 - [BUILD] add support for build under Cygwin
1181
Willy Tarreau79158882009-06-09 11:59:08 +020011822009/06/09 : 1.4-dev0
1183 - exact copy of 1.3.18
1184
Willy Tarreaubeb05ae2009-05-10 20:27:47 +020011852009/05/10 : 1.3.18
1186 - [MEDIUM] add support for "balance hdr(name)"
1187 - [CLEANUP] give a little bit more information in error message
1188 - [MINOR] add X-Original-To: header
1189 - [BUG] x-original-to: fix missing initialization to default value
1190 - [BUILD] spec file: fix broken pipe during rpmbuild and add man file
1191 - [MINOR] improve reporting of misplaced acl/reqxxx rules
1192 - [MEDIUM] http: add options to ignore invalid header names
1193 - [MEDIUM] http: capture invalid requests/responses even if accepted
1194 - [BUILD] add format(printf) to printf-like functions
1195 - [MINOR] fix several printf formats and missing arguments
1196 - [BUG] stats: total and lbtot are unsigned
1197 - [MINOR] fix a few remaining printf-like formats on 64-bit platforms
1198 - [CLEANUP] remove unused make option from haproxy.spec
1199 - [BUILD] make it possible to pass alternative arch at build time
1200 - [MINOR] switch all stat counters to 64-bit
1201 - [MEDIUM] ensure we don't recursively call pool_gc2()
1202 - [CRITICAL] uninitialized response field can sometimes cause crashes
1203 - [BUG] fix wrong pointer arithmetics in HTTP message captures
1204 - [MINOR] rhel init script : support the reload operation
1205 - [MINOR] add basic signal handling functions
1206 - [BUILD] add signal.o to all makefiles
1207 - [MEDIUM] call signal_process_queue from run_poll_loop
1208 - [MEDIUM] pollers: don't wait if a signal is pending
1209 - [MEDIUM] convert all signals to asynchronous signals
1210 - [BUG] O(1) pollers should check their FD before closing it
1211 - [MINOR] don't close stdio fds twice
1212 - [MINOR] add options dontlog-normal and log-separate-errors
1213 - [DOC] minor fixes and rearrangements
1214 - [BUG] fix parser crash on unconditional tcp content rules
1215 - [DOC] rearrange the configuration manual and add a summary
1216 - [MINOR] standard: provide a new 'my_strndup' function
1217 - [MINOR] implement per-logger log level limitation
1218 - [MINOR] compute the max of sessions/s on fe/be/srv
1219 - [MINOR] stats: report max sessions/s and limit in CSV export
1220 - [MINOR] stats: report max sessions/s and limit in HTML stats
1221 - [MINOR] stats/html: use the arial font before helvetica
1222
Willy Tarreauf459b422009-03-29 15:26:57 +020012232009/03/29 : 1.3.17
1224 - Update specfile to build for v2.6 kernel.
1225 - [BUG] reset the stream_interface connect timeout upon connect or error
1226 - [BUG] reject unix accepts when connection limit is reached
1227 - [MINOR] show sess: report number of calls to each task
1228 - [BUG] don't call epoll_ctl() on closed sockets
1229 - [BUG] stream_sock: disable I/O on fds reporting an error
1230 - [MINOR] sepoll: don't count two events on the same FD.
1231 - [MINOR] show sess: report a lot more information about sessions
1232 - [BUG] stream_sock: check for shut{r,w} before refreshing some timeouts
1233 - [BUG] don't set an expiration date directly from now_ms
1234 - [MINOR] implement ulltoh() to write HTML-formatted numbers
1235 - [MINOR] stats/html: group digits by 3 to clarify numbers
1236 - [BUILD] remove haproxy-small.spec
1237 - [BUILD] makefile: remove unused references to linux24eold and EPOLL_CTL_WORKAROUND
1238
Willy Tarreau8019ffa2009-03-22 23:46:12 +010012392009/03/22 : 1.3.16
1240 - [BUILD] Fixed Makefile for linking pcre
1241 - [CONTRIB] selinux policy for haproxy
1242 - [MINOR] show errors: encode backslash as well as non-ascii characters
1243 - [MINOR] cfgparse: some cleanups in the consistency checks
1244 - [MINOR] cfgparse: set backends to "balance roundrobin" by default
1245 - [MINOR] tcp-inspect: permit the use of no-delay inspection
1246 - [MEDIUM] reverse internal proxy declaration order to match configuration
1247 - [CLEANUP] config: catch and report some possibly wrong rule ordering
1248 - [BUG] connect timeout is in the stream interface, not the buffer
1249 - [BUG] session: errors were not reported in termination flags in TCP mode
1250 - [MINOR] tcp_request: let the caller take care of errors and timeouts
1251 - [CLEANUP] http: remove some commented out obsolete code in process_response
1252 - [MINOR] update ebtree to version 4.1
1253 - [MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1
1254 - [BUG] sched: don't leave 3 lasts tasks unprocessed when niced tasks are present
1255 - [BUG] scheduler: fix improper handling of duplicates __task_queue()
1256 - [MINOR] sched: permit a task to stay up between calls
1257 - [MINOR] task: keep a task count and clean up task creators
1258 - [MINOR] stats: report number of tasks (active and running)
1259 - [BUG] server check intervals must not be null
1260 - [OPTIM] stream_sock: don't retry to read after a large read
1261 - [OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates
1262 - [MEDIUM] session: don't resync FSMs on non-interesting changes
1263 - [BUG] check for global.maxconn before doing accept()
1264 - [OPTIM] sepoll: do not re-check whole list upon accepts
1265
Willy Tarreau8185ced2009-03-09 22:45:53 +010012662009/03/09 : 1.3.16-rc2
1267 - [BUG] stream_sock: write timeout must be updated when forwarding !
1268
Willy Tarreauff63b432009-03-09 01:03:42 +010012692009/03/09 : 1.3.16-rc1
1270 - appsessions: cleanup DEBUG_HASH and initialize request_counter
1271 - [MINOR] acl: add new keyword "connslots"
1272 - [MINOR] cfgparse: fix off-by 2 in error message size
1273 - [BUILD] fix build with gcc 4.3
1274 - [BUILD] fix MANDIR default location to match documentation
1275 - [TESTS] add a debug patch to help trigger the stats bug
1276 - [BUG] Flush buffers also where there are exactly 0 bytes left
1277 - [MINOR] Allow to specify a domain for a cookie
1278 - [BUG/CLEANUP] cookiedomain -> cookie_domain rename + free(p->cookie_domain)
1279 - [MEDIUM] Fix memory freeing at exit
1280 - [MEDIUM] Fix memory freeing at exit, part 2
1281 - [BUG] Fix listen & more of 2 couples <ip>:<port>
1282 - [DOC] remove buggy comment for use_backend
1283 - [CRITICAL] fix server state tracking: it was O(n!) instead of O(n)
1284 - [MEDIUM] add support for URI hash depth and length limits
1285 - [MINOR] permit renaming of x-forwarded-for header
1286 - [BUILD] fix Makefile.bsd and Makefile.osx for stream_interface
1287 - [BUILD] Haproxy won't compile if DEBUG_FULL is defined
1288 - [MEDIUM] upgrade to ebtree v4.0
1289 - [DOC] update the README file with new build options
1290 - [MEDIUM] reduce risk of event starvation in ev_sepoll
1291 - [MEDIUM] detect streaming buffers and tag them as such
1292 - [MEDIUM] add support for conditional HTTP redirection
1293 - [BUILD] make install should depend on haproxy not "all"
1294 - [DEBUG] add a TRACE macro to facilitate runtime data extraction
1295 - [BUG] event pollers must not wait if a task exists in the run queue
1296 - [BUG] queue management: wake oldest request in queues
1297 - [BUG] log: reported queue position was offed-by-one
1298 - [BUG] fix the dequeuing logic to ensure that all requests get served
1299 - [DOC] documentation for the "retries" parameter was missing.
1300 - [MEDIUM] implement a monotonic internal clock
1301 - [MEDIUM] further improve monotonic clock by check forward jumps
1302 - [OPTIM] add branch prediction hints in list manipulations
1303 - [MAJOR] replace ultree with ebtree in wait-queues
1304 - [BUG] we could segfault during exit while freeing uri_auths
1305 - [BUG] wqueue: perform proper timeout comparisons with wrapping values
1306 - [MINOR] introduce now_ms, the current date in milliseconds
1307 - [BUG] disable buffer read timeout when reading stats
1308 - [MEDIUM] rework the wait queue mechanism
1309 - [BUILD] change declaration of base64tab to fix build with Intel C++
1310 - [OPTIM] shrink wake_expired_tasks() by using task_wakeup()
1311 - [MAJOR] use an ebtree instead of a list for the run queue
1312 - [MEDIUM] introduce task->nice and boot access to statistics
1313 - [OPTIM] task_queue: assume most consecutive timers are equal
1314 - [BUILD] silent a warning in unlikely() with gcc 4.x
1315 - [MAJOR] convert all expiration timers from timeval to ticks
1316 - [BUG] use_backend would not correctly consider "unless"
1317 - [TESTS] added test-acl.cfg to test some ACL combinations
1318 - [MEDIUM] add support for configuration keyword registration
1319 - [MEDIUM] modularize the global "stats" keyword configuration parser
1320 - [MINOR] cfgparse: add support for warnings in external functions
1321 - [MEDIUM] modularize the "timeout" keyword configuration parser
1322 - [MAJOR] implement tcp request content inspection
1323 - [MINOR] acl: add a new parsing function: parse_dotted_ver
1324 - [MINOR] acl: add req_ssl_ver in TCP, to match an SSL version
1325 - [CLEANUP] remove unused include/types/client.h
1326 - [CLEANUP] remove many #include <types/xxx> from C files
1327 - [CLEANUP] remove dependency on obsolete INTBITS macro
1328 - [DOC] document the new "tcp-request" keyword and associated ACLs
1329 - [MINOR] acl: add REQ_CONTENT to the list of default acls
1330 - [MEDIUM] acl: permit fetch() functions to set the result themselves
1331 - [MEDIUM] acl: get rid of dummy values in always_true/always_false
1332 - [MINOR] acl: add the "wait_end" acl verb
1333 - [MEDIUM] acl: enforce ACL type checking
1334 - [MEDIUM] acl: set types on all currently known ACL verbs
1335 - [MEDIUM] acl: when possible, report the name and requirements of ACLs in warnings
1336 - [CLEANUP] remove 65 useless NULL checks before free
1337 - [MEDIUM] memory: update pool_free2() to support NULL pointers
1338 - [MEDIUM] buffers: ensure buffer_shut* are properly called upon shutdowns
1339 - [MEDIUM] process_srv: rely on buffer flags for client shutdown
1340 - [MEDIUM] process_srv: don't rely at all on client state
1341 - [MEDIUM] process_cli: don't rely at all on server state
1342 - [BUG] fix segfault with url_param + check_post
1343 - [BUG] server timeout was not considered in some circumstances
1344 - [BUG] client timeout incorrectly rearmed while waiting for server
1345 - [MAJOR] kill CL_STINSPECT and CL_STHEADERS (step 1)
1346 - [MAJOR] get rid of SV_STANALYZE (step 2)
1347 - [MEDIUM] simplify and centralize request timeout cancellation and request forwarding
1348 - [MAJOR] completely separate HTTP and TCP states on the request path
1349 - [BUG] fix recently introduced loop when client closes early
1350 - [MAJOR] get rid of the SV_STHEADERS state
1351 - [MAJOR] better separation of response processing and server state
1352 - [MAJOR] clearly separate HTTP response processing from TCP server state
1353 - [MEDIUM] remove unused references to {CL|SV}_STSHUT*
1354 - [MINOR] term_trace: add better instrumentations to trace the code
1355 - [BUG] ev_sepoll: closed file descriptors could persist in the spec list
1356 - [BUG] process_response must not enable the read FD
1357 - [BUG] buffers: remove BF_MAY_CONNECT and fix forwarding issue
1358 - [BUG] process_response: do not touch srv_state
1359 - [BUG] maintain_proxies must not disable backends
1360 - [CLEANUP] get rid of BF_SHUT*_PENDING
1361 - [MEDIUM] buffers: add BF_EMPTY and BF_FULL to remove dependency on req/rep->l
1362 - [MAJOR] process_session: rely only on buffer flags
1363 - [MEDIUM] use buffer->wex instead of buffer->cex for connect timeout
1364 - [MEDIUM] centralize buffer timeout checks at the top of process_session
1365 - [MINOR] ensure the termination flags are set by process_xxx
1366 - [MEDIUM] session: move the analysis bit field to the buffer
1367 - [OPTIM] process_cli/process_srv: reduce the number of tests
1368 - [BUG] regparm is broken on gcc < 3
1369 - [BUILD] fix warning in proto_tcp.c with gcc >= 4
1370 - [MEDIUM] merge inspect_exp and txn->exp into request buffer
1371 - [BUG] process_cli/process_srv: don't call shutdown when already done
1372 - [BUG] process_request: HTTP body analysis must return zero if missing data
1373 - [TESTS] test-fsm: 22 regression tests for state machines
1374 - [BUG] Fix empty X-Forwarded-For header name when set in defaults section
1375 - [BUG] fix harmless but wrong fd insertion sequence
1376 - [MEDIUM] make it possible for analysers to follow the whole session
1377 - [MAJOR] rework of the server FSM
1378 - [OPTIM] remove useless fd_set(read) upon shutdown(write)
1379 - [MEDIUM] massive cleanup of process_srv()
1380 - [MEDIUM] second level of code cleanup for process_srv_data
1381 - [MEDIUM] third cleanup and optimization of process_srv_data()
1382 - [MEDIUM] process_srv_data: ensure that we always correctly re-arm timeouts
1383 - [MEDIUM] stream_sock_process_data moved to stream_sock.c
1384 - [MAJOR] make the client side use stream_sock_process_data()
1385 - [MEDIUM] split stream_sock_process_data
1386 - [OPTIM] stream_sock_read must check for null-reads more often
1387 - [MINOR] only call flow analysers when their read side is connected.
1388 - [MEDIUM] reintroduce BF_HIJACK with produce_content
1389 - [MINOR] re-arrange buffer flags and rename some of them
1390 - [MINOR] do not check for BF_SHUTR when computing write timeout
1391 - [OPTIM] ev_sepoll: detect newly created FDs and check them once
1392 - [OPTIM] reduce the number of calls to task_wakeup()
1393 - [OPTIM] force inlining of large functions with gcc >= 3
1394 - [MEDIUM] indicate a reason for a task wakeup
1395 - [MINOR] change type of fdtab[]->owner to void*
1396 - [MAJOR] make stream sockets aware of the stream interface
1397 - [MEDIUM] stream interface: add the ->shutw method as well as in and out buffers
1398 - [MEDIUM] buffers: add BF_READ_ATTACHED and BF_ANA_TIMEOUT
1399 - [MEDIUM] process_session: make use of the new buffer flags
1400 - [CLEANUP] process_session: move debug outputs out of the critical loop
1401 - [MEDIUM] move QUEUE and TAR timers to stream interfaces
1402 - [OPTIM] add compiler hints in tick_is_expired()
1403 - [MINOR] add buffer_check_timeouts() to check what timeouts have fired.
1404 - [MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts()
1405 - [MINOR] add an expiration flag to the stream_sock_interface
1406 - [MAJOR] migrate the connection logic to stream interface
1407 - [MAJOR] add a connection error state to the stream_interface
1408 - [MEDIUM] add the SN_CURR_SESS flag to the session to track open sessions
1409 - [MEDIUM] continue layering cleanups.
1410 - [MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO
1411 - [MEDIUM] remove stream_sock_update_data()
1412 - [MINOR] maintain a global session list in order to ease debugging
1413 - [BUG] shutw must imply close during a connect
1414 - [MEDIUM] process shutw during connection attempt
1415 - [MEDIUM] make the stream interface control the SHUT{R,W} bits
1416 - [MAJOR] complete layer4/7 separation
1417 - [CLEANUP] move the session-related functions to session.c
1418 - [MINOR] call session->do_log() for logging
1419 - [MINOR] replace the ambiguous client_return function by stream_int_return
1420 - [MINOR] replace client_retnclose() with stream_int_retnclose()
1421 - [MINOR] replace srv_close_with_err() with http_server_error()
1422 - [MEDIUM] make the http server error function a pointer in the session
1423 - [CLEANUP] session.c: removed some migration left-overs in sess_establish()
1424 - [MINOR] stream_sock_data_finish() should not expose fd
1425 - [MEDIUM] extract TCP request processing from HTTP
1426 - [MEDIUM] extract the HTTP tarpit code from process_request().
1427 - [MEDIUM] move the HTTP request body analyser out of process_request().
1428 - [MEDIUM] rename process_request to http_process_request
1429 - [BUG] fix forgotten server session counter
1430 - [MINOR] declare process_session in session.h, not proto_http.h
1431 - [MEDIUM] first pass of lifting to proto_uxst.c:uxst_event_accept()
1432 - [MINOR] add an analyser code for UNIX stats request
1433 - [MINOR] pre-set analyser flags on the listener at registration time
1434 - [BUG] do not forward close from cons to prod with analysers
1435 - [MEDIUM] ensure that sock->shutw() also closes read for init states
1436 - [MINOR] add an analyser state in struct session
1437 - [MAJOR] make unix sockets work again with stats
1438 - [MEDIUM] remove cli_fd, srv_fd, cli_state and srv_state from the session
1439 - [MINOR] move the listener reference from fd to session
1440 - [MEDIUM] reference the current hijack function in the buffer itself
1441 - [MINOR] slightly rebalance stats_dump_{raw,http}
1442 - [MINOR] add a new back-reference type : struct bref
1443 - [MINOR] add back-references to sessions for later use by a dumper.
1444 - [MEDIUM] add support for "show sess" in unix stats socket
1445 - [BUG] do not release the connection slot during a retry
1446 - [BUG] dynamic connection throttling could return a max of zero conns
1447 - [BUG] do not try to pause backends during reload
1448 - [BUG] ensure that listeners from disabled proxies are correctly unbound.
1449 - [BUG] acl-related keywords are not allowed in defaults sections
1450 - [BUG] cookie capture is declared in the frontend but checked on the backend
1451 - [BUG] critical errors should be reported even in daemon mode
1452 - [MINOR] redirect: add support for the "drop-query" option
1453 - [MINOR] redirect: add support for "set-cookie" and "clear-cookie"
1454 - [MINOR] redirect: in prefix mode a "/" means not to change the URI
1455 - [BUG] do not dequeue requests on a dead server
1456 - [BUG] do not dequeue the backend's pending connections on a dead server
1457 - [MINOR] stats: indicate if a task is running in "show sess"
1458 - [BUG] check timeout must not be changed if timeout.check is not set
1459 - [BUG] "option transparent" is for backend, not frontend !
1460 - [MINOR] transfer errors were not reported anymore in data phase
1461 - [MEDIUM] add a send limit to a buffer
1462 - [MEDIUM] don't report buffer timeout when there is I/O activity
1463 - [MEDIUM] indicate when we don't care about read timeout
1464 - [MINOR] add flags to indicate when a stream interface is waiting for space/data
1465 - [MEDIUM] enable inter-stream_interface wakeup calls
1466 - [MAJOR] implement autonomous inter-socket forwarding
1467 - [MINOR] add the splice_len member to the buffer struct in preparation of splice support
1468 - [MEDIUM] stream_sock: factor out the return path in case of no-writes
1469 - [MEDIUM] i/o: rework ->to_forward and ->send_max
1470 - [OPTIM] stream_sock: do not ask for polling on EAGAIN if we have read
1471 - [OPTIM] buffer: replace rlim by max_len
1472 - [OPTIM] stream_sock: factor out the buffer full handling out of the loop
1473 - [CLEANUP] replace a few occurrences of (flags & X) && !(flags & Y)
1474 - [CLEANUP] stream_sock: move the write-nothing condition out of the loop
1475 - [MEDIUM] split stream_sock_write() into callback and core functions
1476 - [MEDIUM] stream_sock_read: call ->chk_snd whenever there are data pending
1477 - [MINOR] stream_sock: fix a few wrong empty calculations
1478 - [MEDIUM] stream_sock: try to send pending data on chk_snd()
1479 - [MINOR] global.maxpipes: add the ability to reserve file descriptors for pipes
1480 - [MEDIUM] splice: add configuration options and set global.maxpipes
1481 - [MINOR] introduce structures required to support Linux kernel splicing
1482 - [MEDIUM] add definitions for Linux kernel splicing
1483 - [MAJOR] complete support for linux 2.6 kernel splicing
1484 - [BUG] reserve some pipes for backends with splice enabled
1485 - [MEDIUM] splice: add hints to support older buggy kernels
1486 - [MEDIUM] introduce pipe pools
1487 - [MEDIUM] splice: make use of pipe pools
1488 - [STATS] report pipe usage in the statistics
1489 - [OPTIM] make global.maxpipes default to global.maxconn/4 when not specified
1490 - [BUILD] fix snapshot date extraction with negative timezones
1491 - [MEDIUM] move global tuning options to the global structure
1492 - [MEDIUM] splice: add the global "nosplice" option
1493 - [BUILD] add USE_LINUX_SPLICE to enable LINUX_SPLICE on linux 2.6
1494 - [BUG] we must not exit if protocol binding only returns a warning
1495 - [MINOR] add support for bind interface name
1496 - [BUG] inform the user when root is expected but not set
1497 - [MEDIUM] add support for source interface binding
1498 - [MEDIUM] add support for source interface binding at the server level
1499 - [MEDIUM] implement bind-process to limit service presence by process
1500 - [DOC] document maxpipes, nosplice, option splice-{auto,request,response}
1501 - [DOC] filled the logging section of the configuration manual
1502 - [DOC] document HTTP status codes
1503 - [DOC] document a few missing info about errorfile
1504 - [BUG] fix random memory corruption using "show sess"
1505 - [BUG] fix unix socket processing of interrupted output
1506 - [DOC] add diagrams of queuing and future ACL design
1507 - [BUILD] proto_http did not build on gcc-2.95
1508 - [BUG] the "source" keyword must first clear optional settings
1509 - [BUG] global.tune.maxaccept must be limited even in mono-process mode
1510 - [MINOR] ensure that http_msg_analyzer updates pointer to invalid char
1511 - [MEDIUM] store a complete dump of request and response errors in proxies
1512 - [MEDIUM] implement error dump on unix socket with "show errors"
1513 - [DOC] document "show errors"
1514 - [MINOR] errors dump must use user-visible date, not internal date.
1515 - [MINOR] time: add __usec_to_1024th to convert usecs to 1024th of second
1516 - [MINOR] add curr_sec_ms and curr_sec_ms_scaled for current second.
1517 - [MEDIUM] measure and report session rate on frontend, backends and servers
1518 - [BUG] the "connslots" keyword was matched as "connlots"
1519 - [MINOR] acl: add 2 new verbs: fe_sess_rate and be_sess_rate
1520 - [MEDIUM] implement "rate-limit sessions" for the frontend
1521 - [BUG] interface binding: length must include the trailing zero
1522 - [BUG] typo in timeout error reporting : report *res and not *err
1523 - [OPTIM] maintain_proxies: only wake up when the frontend will be ready
1524 - [OPTIM] rate-limit: cleaner behaviour on low rates and reduce consumption
1525 - [BUG] switch server-side stream interface to close in case of abort
1526 - [CLEANUP] remove last references to term_trace
1527 - [OPTIM] freq_ctr: do not rotate the counters when reading
1528 - [BUG] disable any analysers for monitoring requests
1529 - [BUG] rate-limit in defaults section was ignored
1530 - [BUG] task: fix handling of duplicate keys
1531 - [OPTIM] task: don't unlink a task from a wait queue when waking it up
1532 - [OPTIM] displace tasks in the wait queue only if absolutely needed
1533 - [MEDIUM] minor update to the task api: let the scheduler queue itself
1534 - [BUG] event_accept() must always wake the task up, even in health mode
1535 - [CLEANUP] task: distinguish between clock ticks and timers
1536 - [OPTIM] task: reduce the number of calls to task_queue()
1537 - [OPTIM] do not re-check req buffer when only response has changed
1538 - [CLEANUP] don't enable kernel splicing when socket is closed
1539 - [CLEANUP] buffer_flush() was misleading, rename it as buffer_erase
1540 - [MINOR] buffers: implement buffer_flush()
1541 - [MEDIUM] rearrange forwarding condition to enable splice during analysis
1542 - [BUILD] build fixes for Solaris
1543 - [BUILD] proto_http did not build on gcc-2.95 (again)
1544 - [CONTRIB] halog: fast log parser for haproxy
1545 - [CONTRIB] halog: faster fgets() and add support for percentile reporting
1546
Willy Tarreau7b4c5ae2008-04-19 21:06:14 +020015472008/04/19 : 1.3.15
1548 - [BUILD] Added support for 'make install'
1549 - [BUILD] Added 'install-man' make target for installing the man page
1550 - [BUILD] Added 'install-bin' make target
1551 - [BUILD] Added 'install-doc' make target
1552 - [BUILD] Removed "/" after '$(DESTDIR)' in install targets
1553 - [BUILD] Changed 'install' target to install the binaries first
1554 - [BUILD] Replace hardcoded 'LD = gcc' with 'LD = $(CC)'
1555 - [MEDIUM]: Inversion for options
1556 - [MEDIUM]: Count retries and redispatches also for servers, fix redistribute_pending, extend logs, %d->%u cleanup
1557 - [BUG]: Restore clearing t->logs.bytes
1558 - [MEDIUM]: rework checks handling
1559 - [DOC] Update a "contrib" file with a hint about a scheme used for formathing subjects
1560 - [MEDIUM] Implement "track [<backend>/]<server>"
1561 - [MINOR] Implement persistent id for proxies and servers
1562 - [BUG] Don't increment server connections too much + fix retries
1563 - [MEDIUM]: Prevent redispatcher from selecting the same server, version #3
1564 - [MAJOR] proto_uxst rework -> SNMP support
1565 - [BUG] appsession lookup in URL does not work
1566 - [BUG] transparent proxy address was ignored in backend
1567 - [BUG] hot reconfiguration failed because of a wrong error check
1568 - [DOC] big update to the configuration manual
1569 - [DOC] large update to the configuration manual
1570 - [DOC] document more options
1571 - [BUILD] major rework of the GNU Makefile
1572 - [STATS] add support for "show info" on the unix socket
1573 - [DOC] document options forwardfor to logasap
1574 - [MINOR] add support for the "backlog" parameter
1575 - [OPTIM] introduce global parameter "tune.maxaccept"
1576 - [MEDIUM] introduce "timeout http-request" in frontends
1577 - [MINOR] tarpit timeout is also allowed in backends
1578 - [BUG] increment server connections for each connect()
1579 - [MEDIUM] add a turn-around state of one second after a connection failure
1580 - [BUG] fix typo in redispatched connection
1581 - [DOC] document options nolinger to ssl-hello-chk
1582 - [DOC] added documentation for "option tcplog" to "use_backend"
1583 - [BUG] connect_server: server might not exist when sending error report
1584 - [MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY)
1585 - [MEDIUM] add non-local bind to connect() on Linux
1586 - [MINOR] add transparent proxy support for balabit's Tproxy v4
1587 - [BUG] use backend's source and not server's source with tproxy
1588 - [BUG] fix overlapping server flags
1589 - [MEDIUM] fix server health checks source address selection
1590 - [BUG] build failed on CONFIG_HAP_LINUX_TPROXY without CONFIG_HAP_CTTPROXY
1591 - [DOC] added "server", "source" and "stats" keywords
1592 - [DOC] all server parameters have been documented
1593 - [DOC] document all req* and rsp* keywords.
1594 - [DOC] added documentation about HTTP header manipulations
1595 - [BUG] log response byte count, not request
1596 - [BUILD] code did not build in full debug mode
1597 - [BUG] fix truncated responses with sepoll
1598 - [MINOR] use s->frt_addr as the server's address in transparent proxy
1599 - [MINOR] fix configuration hint about timeouts
1600 - [DOC] minor cleanup of the doc and notice to contributors
1601 - [MINOR] report correct section type for unknown keywords.
1602 - [BUILD] update MacOS Makefile to build on newer versions
1603 - [DOC] fix erroneous "useallbackups" option in the doc
1604 - [DOC] applied small fixes from early readers
1605 - [MINOR] add configuration support for "redir" server keyword
1606 - [MEDIUM] completely implement the server redirection method
1607 - [TESTS] add a test case for the server redirection mechanism
1608 - [DOC] add a configuration entry for "server ... redir <prefix>"
1609 - [BUILD] backend.c and checks.c did not build without tproxy !
1610 - Revert "[BUILD] backend.c and checks.c did not build without tproxy !"
1611 - [BUILD] backend.c and checks.c did not build without tproxy !
1612 - [OPTIM] used unsigned ints for HTTP state and message offsets
1613 - [OPTIM] GCC4's builtin_expect() is suboptimal
1614 - [BUG] failed conns were sometimes incremented in the frontend!
1615 - [BUG] timeout.check was not pre-set to eternity
1616 - [TESTS] add test-pollers.cfg to easily report pollers in use
1617 - [BUG] do not apply timeout.connect in checks if unset
1618 - [BUILD] ensure that makefile understands USE_DLMALLOC=1
1619 - [MINOR] silent gcc for a wrong warning
1620 - [CLEANUP] update .gitignore to ignore more temporary files
1621 - [CLEANUP] report dlmalloc's source path only if explictly specified
1622 - [BUG] str2sun could leak a small buffer in case of error during parsing
1623 - [BUG] option allbackups was not working anymore in roundrobin mode
1624 - [MAJOR] implementation of the "leastconn" load balancing algorithm
1625 - [BUILD] ensure that users don't build without setting the target anymore.
1626 - [DOC] document the leastconn LB algo
1627 - [MEDIUM] fix stats socket limitation to 16 kB
1628 - [DOC] fix unescaped space in httpchk example.
1629 - [BUG] fix double-decrement of server connections
1630 - [TESTS] add a test case for port mapping
1631 - [TESTS] add a benchmark for integer hashing
1632 - [TESTS] add new methods in ip-hash test file
1633 - [MAJOR] implement parameter hashing for POST requests
1634
Willy Tarreaue5b77e82007-12-06 01:25:44 +010016352007/12/06 : 1.3.14
1636 - New option http_proxy (Alexandre Cassen)
1637 - add support for "maxqueue" to limit server queue overload (Elijah Epifanov)
1638 - Check for duplicated conflicting proxies (Krzysztof Oledzki)
1639 - stats: report server and backend cumulated downtime (Krzysztof Oledzki)
1640 - use backends only with use_backend directive (Krzysztof Oledzki)
1641 - Handle long lines properly (Krzysztof Oledzki)
1642 - Implement and use generic findproxy and relax duplicated proxy check (Krzysztof Oledzki)
1643 - continous statistics (Krzysztof Oledzki)
1644 - add support for logging via a UNIX socket (Robert Tsai)
1645 - fix error checking in strl2ic/strl2uic()
1646 - fix calls to localtime()
1647 - provide easier-to-use ultoa_* functions
1648 - provide easy-to-use limit_r and LIM2A* macros
1649 - add a simple test for the status page
1650 - move error codes to common/errors.h
1651 - silent warning about LIST_* being redefined on OpenBSD
1652 - add socket address length to the protocols
1653 - group PR_O_BALANCE_* bits into a checkable value
1654 - externalize the "balance" option parser to backend.c
1655 - introduce the "url_param" balance method
1656 - make default_backend work in TCP mode too
1657 - disable warning about localtime_r on Solaris
1658 - adjust error messages about conflicting proxies
1659 - avoid calling some layer7 functions if not needed
1660 - simplify error path in event_accept()
1661 - add an options field to the listeners
1662 - added a new state to listeners
1663 - unbind_listener() must use fd_delete() and not close()
1664 - add a generic unbind_listener() primitive
1665 - add a generic delete_listener() primitive
1666 - add a generic unbind_all_listeners() primitive
1667 - create proto_tcp and move initialization of proxy listeners
1668 - stats: report numerical process ID, proxy ID and server ID
1669 - relative_pid was not initialized
1670 - missing header names in raw stats output
1671 - fix missing parenthesis in check_response_for_cacheability
1672 - small optimization on session_process_counters()
1673 - merge ebtree version 3.0
1674 - make ebtree headers multiple-include compatible
1675 - ebtree: include config.h for REGPRM*
1676 - differentiate between generic LB params and map-specific ones
1677 - add a weight divisor to the struct proxy
1678 - implement the Fast Weighted Round Robin (FWRR) algo
1679 - include filltab25.c to experiment on FWRR for dynamic weights
1680 - merge test-fwrr.cfg to validate dynamic weights
1681 - move the load balancing algorithm to be->lbprm.algo
1682 - change server check result to a bit field
1683 - implement "http-check disable-on-404" for graceful shutdown
1684 - secure the calling conditions of ->set_server_status_{up,down}
1685 - report disabled servers as "NOLB" when they are still UP
1686 - document the "http-check disable-on-404" option
1687 - http-check disable-on-404 is not limited to HTTP mode
1688 - add a test file for disable-on-404
1689 - use distinct bits per load-balancing algorithm type
1690 - implement the slowstart parameter for servers
1691 - document the server's slowstart parameter
1692 - stats: report the server warm up status in a "throttle" column
1693 - fix 2 minor issues on AIX
1694 - add the "nbsrv" ACL verb
1695 - add the "fail" condition to monitor requests
1696 - remove a warning from gcc due to htons() in standard.c
1697 - fwrr: ensure that we never overflow in placements
1698 - store the build options to report with -vv
1699 - fix the status return of the init script (R.I. Pienaar)
1700 - stats: real time monitoring script for unix socket (Prizee)
1701 - document "nbsrv" and "monitor fail"
1702 - restrict the set of allowed characters for identifiers
1703 - implement a time parsing function
1704 - add support for time units in the configuration
1705 - add a bit of documentation about timers
1706 - introduce separation between contimeout, and tarpit + queue
1707 - introduce the "timeout" keyword
1708 - grouped all timeouts in one structure
1709 - slowstart is in ms, not seconds
1710 - slowstart: ensure we don't start with a null weight
1711 - report the number of times each server was selected
1712 - fix build on AIX due to recent log changes
1713 - fix build on Solaris due to recent log changes
1714
Willy Tarreaue855f422007-10-18 22:38:22 +020017152007/10/18 : 1.3.13
1716 - replace the code under O'Reilly license (Arnaud Cornet)
1717 - add a small man page (Arnaud Cornet)
1718 - stats: report haproxy's version by default (Krzysztof Oledzki)
1719 - stats: count server retries and redispatches (Krzysztof Oledzki)
1720 - core: added easy support for Doug Lea's malloc (dlmalloc)
1721 - core: fade out memory usage when stopping proxies
1722 - core: moved the sockaddr pointer to the fdtab structure
1723 - core: add generic protocol support
1724 - core: implement client-side support for PF_UNIX sockets
1725 - stats: implement the CSV output
1726 - stats: add a link to the CSV export HTML page
1727 - stats: implement the statistics output on a unix socket
1728 - config: introduce the "stats" keyword in global section
1729 - build: centralize version and date into one file for each
1730 - tests: added a new hash algorithm
1731
17322007/10/18 : 1.3.12.3
1733 - add the "nolinger" option to disable data lingering (Alexandre Cassen)
1734 - fix double-free during clean exit (Krzysztof Oledzki)
1735 - prevent the system from sending an RST when closing health-checks
1736 (Krzysztof Oledzki)
1737 - do not add a cache-control header when on non-cacheable responses
1738 (Krzysztof Oledzki)
1739 - spread health checks even more (Krzysztof Oledzki)
1740 - stats: scope "." must match the backend and not the frontend
1741 - fixed call to chroot() during startup
1742 - fix wrong timeout computation in event_accept()
1743 - remove condition for exit() under fork() failure
1744
17452007/09/20 : 1.3.12.2
1746 - fix configuration sanity checks for TCP listeners
1747 - set the log socket receive window to zero bytes
1748 - pre-initialize timeouts to infinity, not zero
1749 - fix the SIGHUP message not to alert on server-less proxies
1750 - timeouts and retries could be ignored when switching backend
1751 - added a file to check that "retries" works.
1752 - O'Reilly has clarified its license
1753
17542007/09/05 : 1.3.12.1
1755 - spec I/O: fix allocations of spec entries for an FD
1756 - ensure we never overflow in chunk_printf()
1757 - improve behaviour with large number of servers per proxy
1758 - add support for "stats refresh <interval>"
1759 - stats page: added links for 'refresh' and 'hide down'
1760 - fix backend's weight in the stats page.
1761 - the "stats" keyword is not allowed in a pure frontend.
1762 - provide a test configuration file for stats and checks
1763
Willy Tarreaub21152b2007-06-17 23:41:40 +020017642007/06/17 : 1.3.12
1765 - fix segfault at exit when using captures
1766 - bug: negation in ACL conds was not cleared between terms
1767 - errorfile: use a local file to feed error messages
1768 - acl: support '-i' to ignore case when matching
1769 - acl: smarter integer comparison with operators eq,lt,gt,le,ge
1770 - acl: support maching on 'path' component
1771 - acl: implement matching on header values
1772 - acl: distinguish between request and response headers
1773 - acl: permit to return any header when no name specified
1774 - acl: provide default ACLs
1775 - added the 'use_backend' keyword for full content-switching
1776 - acl: specify the direction during fetches
1777 - acl: provide the argument length for fetch functions
1778 - acl: provide a reference to the expr to fetch()
1779 - improve memory freeing upon exit
1780 - str2net() must not change the const char *
1781 - shut warnings 'is*' macros from ctype.h on solaris
1782
Willy Tarreaua3503e02007-06-03 17:27:07 +020017832007/06/03 : 1.3.11.4
1784 - do not re-arm read timeout in SHUTR state !
1785 - optimize I/O by detecting system starvation
1786 - the epoll FD must not be shared between processes
1787 - limit the number of events returned by *poll*
1788
Willy Tarreau3c6fc072007-05-14 14:40:25 +020017892007/05/14 : 1.3.11.3
1790 - pre-initialize timeouts with tv_eternity during parsing
1791
Willy Tarreaufc273c22007-05-14 03:42:47 +020017922007/05/14 : 1.3.11.2
1793 - fixed broken health-checks since switch to timeval
1794
Willy Tarreau3c5340c2007-05-14 03:18:43 +020017952007/05/14 : 1.3.11.1
1796 - fixed ev_kqueue which was forgotten during the switch to timeval
1797 - allowed null timeouts for past events in select
1798
Willy Tarreau544eb402007-05-14 02:42:33 +020017992007/05/14 : 1.3.11
1800 - fixed ev_sepoll again by rewriting the state machine
1801 - switched all timeouts to timevals instead of milliseconds
1802 - improved memory management using mempools v2.
1803 - several minor optimizations
1804
Willy Tarreau9ca931f2007-05-10 07:51:17 +020018052007/05/09 : 1.3.10.2
1806 - fixed build on OpenBSD (missing types.h)
1807
Willy Tarreau13398d32007-05-09 22:58:28 +020018082007/05/09 : 1.3.10.1
1809 - fixed sepoll transition matrix (two states were missing)
1810
Willy Tarreau61beedf2007-05-09 01:44:58 +020018112007/05/08 : 1.3.10
1812 - several fixes in ev_sepoll
1813 - fixed some expiration dates on some tasks
1814 - fixed a bug in connection establishment detection due to speculative I/O
1815 - fixed rare bug occuring on TCP with early close (reported by Andy Smith)
1816 - implemented URI hashing algorithm (Guillaume Dallaire)
1817 - implemented SMTP health checks (Peter van Dijk)
1818 - replaced the rbtree with ul2tree from old scheduler project
1819 - new framework for generic ACL support
1820 - added the 'acl' and 'block' keywords to the config language
1821 - added several ACL criteria and matches (IP, port, URI, ...)
1822 - cleaned up and better modularization for some time functions
1823 - fixed list macros
1824 - fixed useless memory allocation in str2net()
1825 - store the original destination address in the session
1826
Willy Tarreau6e0433f2007-04-16 01:18:12 +020018272007/04/15 : 1.3.9
1828 - modularized the polling mechanisms and use function pointers instead
1829 of macros at many places
1830 - implemented support for FreeBSD's kqueue() polling mechanism
1831 - fixed a warning on OpenBSD : MIN/MAX redefined
1832 - change socket registration order at startup to accomodate kqueue.
1833 - several makefile cleanups to support old shells
1834 - fix build with limits.h once for all
1835 - ev_epoll: do not rely on fd_sets anymore, use changes stacks instead.
1836 - fdtab now holds the results of polling
1837 - implemented support for speculative I/O processing with epoll()
1838 - remove useless calls to shutdown(SHUT_RD), resulting in small speed boost
1839 - auto-registering of pollers at load time
1840
Willy Tarreau42c76592007-04-03 20:30:13 +020018412007/04/03 : 1.3.8.2
1842 - rewriting either the status line or request line could crash the
1843 process due to a pointer which ought to be reset before parsing.
1844 - rewriting the status line in the response did not work, it caused
1845 a 502 Bad Gateway due to an erroneous state during parsing
1846
Willy Tarreauef6d7612007-04-01 11:06:22 +020018472007/04/01 : 1.3.8.1
1848 - fix reqadd when no option httpclose is used.
1849 - removed now unused fiprm and beprm from proxies
1850 - split logs into two versions : TCP and HTTP
1851 - added some docs about http headers storage and acls
1852 - added a VIM script for syntax color highlighting (Bruno Michel)
1853
Willy Tarreaud661cc02007-03-26 00:24:56 +020018542007/03/25 : 1.3.8
1855 - fixed several bugs which might have caused a crash with bad configs
1856 - several optimizations in header processing
1857 - many progresses towards transaction-based processing
1858 - option forwardfor may be used in frontends
1859 - completed HTTP response processing
1860 - some code refactoring between request and response processing
1861 - new HTTP header manipulation functions
1862 - optimizations on the recv() patch to reduce CPU usage under very
1863 high data rates.
1864 - more user-friendly help about the 'usesrc' keyword (CTTPROXY)
1865 - username/groupname support from Marcus Rueckert
1866 - added the "except" keyword to the "forwardfor" option (Bryan German)
1867 - support for health-checks on other addresses (Fabrice Dulaunoy)
1868 - makefile for MacOS 10.4 / Darwin (Dan Zinngrabe)
1869 - do not insert "Connection: close" in HTTP/1.0 messages
1870
Willy Tarreau9cabf702007-01-26 23:49:01 +010018712007/01/26 : 1.3.7
1872 - fix critical bug introduced with 1.3.6 : an empty request header
1873 may lead to a crash due to missing pointer assignment
1874 - hdr_idx might be left uninitialized in debug mode
1875 - fixed build on FreeBSD due to missing fd_set declaration
1876
Willy Tarreaue7a24382007-01-22 08:57:44 +010018772007/01/22 : 1.3.6.1
1878 - change in the header chaining broke cookies and authentication
1879
Willy Tarreau49e1ee82007-01-22 00:56:46 +010018802007/01/22 : 1.3.6
1881 - stats now support the HEAD method too
1882 - extracted http request from the session
1883 - huge rework of the HTTP parser which is now a 28-state FSM.
1884 - linux-style likely/unlikely macros for optimization hints
1885 - do not create a server socket when there's no server
1886 - imported lots of docs
1887
Willy Tarreau5871f8e2007-01-07 02:47:01 +010018882007/01/07 : 1.3.5
1889 - stats: swap color sets for active and backup servers
1890 - try to guess server check port when unset
1891 - added complete support and doc for TCP Splicing
1892 - replace the wait-queue linked list with an rbtree.
1893 - a few bugfixes and cleanups
1894
Willy Tarreau85270da2007-01-02 00:59:39 +010018952007/01/02 : 1.3.4
1896 - support for cttproxy on the server side to present the client
1897 address to the server.
1898 - added support for SO_REUSEPORT on Linux (needs kernel patch)
1899 - new RFC2616-compliant HTTP request parser with header indexing
1900 - split proxies in frontends, rulesets and backends
1901 - implemented the 'req[i]setbe' to select a backend depending
1902 on the contents
1903 - added the 'default_backend' keyword to select a default BE.
1904 - new stats page featuring FEs and BEs + bytes in both dirs
1905 - improved log format to indicate the backend and the time in ms.
1906 - lots of cleanups
1907
Willy Tarreau9c9fea42006-10-16 00:03:35 +020019082006/10/15 : 1.3.3
1909 - fix broken redispatch option in case the connection has already
1910 been marked "in progress" (ie: nearly always).
1911 - support regparm on x86 to speed up some often called functions
1912 - removed a few useless calls to gettimeofday() in log functions.
1913 - lots of 'const char*' cleanups
1914 - turn every FD_* into functions which are faster on recent CPUs
1915
Willy Tarreau690f9aa2006-09-03 11:23:06 +020019162006/09/03 : 1.3.2
1917 - started the changes towards I/O completion callbacks. stream_sock* have
1918 replaced event_*.
1919 - added the new "reqtarpit" and "reqitarpit" protection features
1920
Willy Tarreau8f2b8552006-07-09 17:11:39 +020019212006/07/09 : 1.3.1 (1.2.15)
1922 - now, haproxy warns about missing timeout during startup to try to
1923 eliminate all those buggy configurations.
1924 - added "Content-Type: text/html" in responses wherever appropriate, as
1925 suggested by Cameron Simpson.
1926 - implemented "option ssl-hello-chk" to use SSLv3 CLIENT HELLO messages to
1927 test server's health
1928 - implemented "monitor-uri" so that haproxy can reply to a specific URI with
1929 an "HTTP/1.0 200 OK" response. This is useful to validate multiple proxies
1930 at once.
1931
Willy Tarreaub9e98b62006-07-03 10:32:46 +020019322006/06/29 : 1.3.0
1933 - exploded the whole file into multiple .c and .h. No functionnal
Willy Tarreau8f2b8552006-07-09 17:11:39 +02001934 difference is expected at all.
1935 - fixed a bug by which neither stats nor error messages could be returned if
1936 'clitimeout' was missing.
Willy Tarreaub9e98b62006-07-03 10:32:46 +02001937
willy tarreau7e6328d2006-05-21 23:26:20 +020019382006/05/21 : 1.2.14
1939 - new HTML status report with the 'stats' keyword.
1940 - added the 'abortonclose' option to better resist traffic surges
1941 - implemented dynamic traffic regulation with the 'minconn' option
1942 - show request time on denied requests
1943 - definitely fixed hot reconf on OpenBSD by the use of SO_REUSEPORT
1944 - now a proxy instance is allowed to run without servers, which is
1945 useful to dedicate one instance to stats
1946 - added lots of error counters
1947 - a missing parenthesis preventd matching of cacheable cookies
1948 - a missing parenthesis in poll_loop() might have caused missed events.
1949
Willy TARREAU4404b7e2006-05-14 10:00:09 +020019502006/05/14 : 1.2.13.1
1951 - an uninitialized field in the struct session could cause a crash when
1952 the session was freed. This has been encountered on Solaris only.
1953 - Solaris and OpenBSD no not support shutdown() on listening socket. Let's
1954 be nice to them by performing a soft stop if pause fails.
1955
willy tarreauc3a2e072006-05-13 18:51:38 +020019562006/05/13 : 1.2.13
1957 - 'maxconn' server parameter to do per-server session limitation
1958 - queueing to support non-blocking session limitation
1959 - fixed removal of cookies for cookie-less servers such as backup servers
1960 - two separate wait queues for expirable and non-expirable tasks provide
1961 better performance with lots of sessions.
1962 - some code cleanups and performance improvements
1963 - made state dumps a bit more verbose
1964 - fixed missing checks for NULL srv in dispatch mode
1965 - load balancing on backup servers was not possible in source hash mode.
1966 - two session flags shared the same bit, but fortunately they were not
1967 compatible.
1968
willy tarreauc0d4bbd2006-04-15 21:47:50 +020019692006/04/15 : 1.2.12
1970 Very few changes preparing for more important changes to support per-server
1971 session limitations and queueing :
1972 - ignore leading empty lines in HTTP requests as suggested by RFC2616.
1973 - added the 'weight' parameter to the servers, limited to 1..256. It applies
1974 to roundrobin and source hash.
1975 - the optional '-s' option could clobber '-st' and '-sf' if compiled in.
1976
willy tarreaue0dd2692006-03-30 16:27:34 +020019772006/03/30 : 1.2.11.1
1978 - under some conditions, it might have been possible that when the
1979 last dead server became available, it would not have been used
1980 till another one would have changed state. Could not be reproduced
1981 at all, however seems possible from the code.
1982
willy tarreaud2058dc2006-03-25 20:35:41 +010019832006/03/25 : 1.2.11
1984 - added the '-db' command-line option to disable backgrounding.
1985 - added the -sf/-st command-line arguments which are used to specify
1986 a list of pids to send a FINISH or TERMINATE signal upon startup.
1987 They will also be asked to release their port if a bind fails.
1988 - reworked the startup mechanism to allow the sending of a signal to a list
1989 of old pids if a socket cannot be bound, with a retry for a limited amount
1990 of time (1 second by default).
1991 - added the ability to enforce limits on memory usage.
1992 - added the 'source' load-balancing algorithm which uses the source IP(v4|v6)
1993 - re-architectured the server round-robin mechanism to ease integration of
1994 other algorithms. It now relies on the number of active and backup servers.
1995 - added a counter for the number of active and backup servers, and report
1996 these numbers upon SIGHUP or state change.
1997
willy tarreaubfad5742006-03-23 14:19:11 +010019982006/03/23 : 1.2.10.1
1999 - while fixing the backup server round-robin "feature", a new bug was
2000 introduced which could miss some backup servers.
2001 - the displayed proxy name was wrong when dumping upon SIGHUP.
2002
willy tarreauaaff30e2006-03-19 21:30:41 +010020032006/03/19 : 1.2.10
2004 - assert.h is needed when DEBUG is defined.
2005 - ENORMOUS long standing bug affecting the epoll polling system :
2006 event_data is a union, not a structure !
2007 - Make fd management more robust and easier to debug. Also some
2008 micro-optimisations.
2009 - Limit the number of consecutive accept() in multi-process mode.
2010 This produces a more evenly distributed load across the processes and
2011 slightly improves performance by reducing bottlenecks.
2012 - Make health-checks be more regular, and faster to retry after a timeout.
2013 - Fixed some messages to ease parsing of alerts.
2014 - provided a patch to enable epoll on RHEL3 kernels.
2015 - Separated OpenBSD build from the main Makefile into a new one.
2016
willy tarreau50be0172006-03-15 19:41:19 +010020172006/03/15 : 1.2.9
2018 - haproxy could not be stopped after being paused, it had to be woken up
2019 first. This has been fixed.
2020 - the 'ulimit-n' parameter is now optional and by default computed from
2021 maxconn + the number of listeners + the number of health-checks.
2022 - it is now possible to specify a maximum number of connections at build
2023 time with the SYSTEM_MAXCONN define. The value set in the configuration
2024 file will then be limited to this value, and only the command-line '-n'
2025 option will be able to bypass it. It will prevent against accidental
2026 high memory usage on small systems.
2027 - RFC2616 expects that any HTTP agent accepts multi-line headers. Earlier
2028 versions did not detect a line beginning with a space as the continuation
2029 of previous header. It is now correct.
2030 - health checks sent to servers configured with identical intervals were
2031 sent in perfect synchronisation because the initial time was the same
2032 for all. This could induce high load peaks when fragile servers were
2033 hosting tens of instances for the same application. Now the load is
2034 spread evenly across the smallest interval amongst a listener.
2035 - a new 'forceclose' option was added to make the proxy close the outgoing
2036 channel to the server once it has sent all its headers and the server
2037 starts responding. This helps some servers which don't close upon the
2038 'Connection: close' header. It implies 'option httpclose'.
2039 - there was a bug in the way the backup servers were handled. They were
2040 erroneously load-balanced while the doc said the opposite. Since
2041 load-balanced backup servers is one of the features some people have
2042 been asking for, the problem was fixed to reflect the documented
2043 behaviour and a new option 'allbackups' was introduced to provide the
2044 feature to those who need it.
2045 - a never ending connect() could lead to a fast select() loop if its
2046 timeout times the number of retransmits exceeded the server read or write
2047 timeout, because the later was used to compute select()'s timeout while
2048 the connection timeout was not reached.
2049 - now we initialize the libc's localtime structures very early so that even
2050 under OOM conditions, we can still send dated error messages without
2051 segfaulting.
2052 - the 'daemon' mode implies 'quiet' and disables 'verbose' because file
2053 descriptors are closed.
2054
willy tarreau065f1c02006-01-29 22:10:07 +010020552006/01/29 : 1.2.8
2056 - fixed a nasty bug affecting poll/epoll which could return unmodified data
2057 from the server to the client, and sometimes lead to memory corruption
2058 crashing the process.
2059 - added the new pause/play mechanism with SIGTTOU/SIGTTIN for hot-reconf.
2060
20612005/12/18 : 1.2.7.1
2062 - the "retries" option was ignored because connect() could not return an
2063 error if the connection failed before the timeout.
2064 - TCP health-checks could not detect a connection refused in poll/epoll
2065 mode.
2066
willy tarreaua56eca72005-12-18 01:34:42 +010020672005/11/13 : 1.2.7
willy tarreau77bc8542005-12-18 01:31:43 +01002068 - building with -DUSE_PCRE should include PCRE headers and not regex.h. At
2069 least on Solaris, this caused the libc's regex primitives to be used instead
2070 of PCRE, which caused trouble on group references. This is now fixed.
willy tarreaud0fb4652005-12-18 01:32:04 +01002071 - delayed the quiet mode during startup so that most of the startup alerts can
2072 be displayed even in quiet mode.
2073 - display an alert when a listener has no address, invalid or no port, or when
2074 there are no enabled listeners upon startup.
willy tarreau4373b962005-12-18 01:32:31 +01002075 - added "static-pcre" to the list of supported regex options in the Makefile.
willy tarreau77bc8542005-12-18 01:31:43 +01002076
willy tarreaub952e1d2005-12-18 01:31:20 +010020772005/10/09 : 1.2.7rc (1.1.33rc)
2078 - second batch of socklen_t changes.
2079 - clean-ups from Cameron Simpson.
2080 - because tv_remain() does not know about eternity, using no timeout can
2081 make select() spin around a null time-out. Bug reported by Cameron Simpson.
2082 - client read timeout was not properly set to eternity initialized after an
2083 accept() if it was not set in the config. It remained undetected so long
2084 because eternity is 0 and newly allocated pages are zeroed by the system.
2085 - do not call get_original_dst() when not in transparent mode.
2086 - implemented a workaround for a bug in certain epoll() implementations on
2087 linux-2.4 kernels (epoll-lt <= 0.21).
2088 - implemented TCP keepalive with new options : tcpka, clitcpka, srvtcpka.
2089
willy tarreauc5f73ed2005-12-18 01:26:38 +010020902005/08/07 : 1.2.6
2091 - clean-up patch from Alexander Lazic fixes build on Debian 3.1 (socklen_t).
2092
20932005/07/06 : 1.2.6-pre5 (1.1.32)
willy tarreau0fe39652005-12-18 01:25:24 +01002094 - added the number of active sessions (proxy/process) in the logs
2095
20962005/07/06 : 1.2.6-pre4 (1.1.32-pre4)
willy tarreaub1285d52005-12-18 01:20:14 +01002097 - the time-out fix introduced in 1.1.25 caused a corner case where it was
2098 possible for a client to keep a connection maintained regardless of the
2099 timeout if the server closed the connection during the HEADER phase,
2100 while the client ignored the close request while doing nothing in the
2101 other direction. This has been fixed now by ensuring that read timeouts
2102 are re-armed when switching to any SHUTW state.
2103
21042005/07/05 : 1.2.6-pre3 (1.1.32-pre3)
2105 - enhanced error reporting in the logs. Now the proxy will precisely detect
2106 various error conditions related to the system and/or process limits, and
2107 generate LOG_EMERG logs indicating that a resource has been exhausted.
2108 - logs will contain two new characters for the error cause : 'R' indicates
2109 a resource exhausted, and 'I' indicates an internal error, though this
2110 one should never happen.
2111 - server connection timeouts can now be reported in the logs (sC), as well
2112 as connections refused because of maxconn limitations (PC).
2113
21142005/07/05 : 1.2.6-pre2 (1.1.32-pre2)
2115 - new global configuration keyword "ulimit-n" may be used to raise the FD
2116 limit to usable values.
2117 - a warning is now displayed on startup if the FD limit is lower than the
2118 configured maximum number of sockets.
2119
21202005/07/05 : 1.2.6-pre1 (1.1.32-pre1)
2121 - new configuration keyword "monitor-net" makes it possible to be monitored
2122 by external devices which connect to the proxy without being logged nor
2123 forwarded to any server. Particularly useful on generic TCPv4 relays.
2124
willy tarreau5dffb602005-12-18 01:15:23 +010021252005/06/21 : 1.2.5.2
2126 - fixed build on PPC where chars are unsigned by default
2127
willy tarreau08dedbe2005-12-18 01:13:48 +010021282005/05/02 : 1.2.5.1
2129 - dirty hack to fix a bug introduced with epoll : if we close an FD and
2130 immediately reassign it to another session through a connect(), the
2131 Prev{Read,Write}Events are not updated, which causes trouble detecting
2132 changes, thus leading to many timeouts at high loads.
2133
willy tarreau64a3cc32005-12-18 01:13:11 +010021342005/04/30 : 1.2.5 (1.1.31)
2135 - changed the runtime argument to disable epoll() to '-de'
2136 - changed the runtime argument to disable poll() to '-dp'
2137 - added global options 'nopoll' and 'noepoll' to do the same at the
2138 configuration level.
2139 - added a 'linux24e' target to the Makefile for Linux 2.4 systems patched to
2140 support epoll().
2141 - changed default FD_SETSIZE to 65536 on Solaris (default=1024)
2142 - conditionned signals redirection to #ifdef DEBUG_MEMORY
2143
willy tarreau1c2ad212005-12-18 01:11:29 +010021442005/04/26 : 1.2.5-pre4
2145 - made epoll() support a compile-time option : ENABLE_EPOLL
2146 - provided a very little libc replacement for a possibly missing epoll()
2147 implementation which can be enabled by -DUSE_MY_EPOLL
2148 - implemented the poll() poller, which can be enabled with -DENABLE_POLL.
2149 The equivalent runtime argument becomes '-P'. A few tests show that it
2150 performs like select() with many fds, but slightly slower (certainly
2151 because of the higher amount of memory involved).
2152 - separated the 3 polling methods and the tasks scheduler into 4 distinct
2153 functions which makes the code a lot more modular.
2154 - moved some event tables to private static declarations inside the poller
2155 functions.
2156 - the poller functions can now initialize themselves, run, and cleanup.
2157 - changed the runtime argument to enable epoll() to '-E'.
2158 - removed buggy epoll_ctl() code in the client_retnclose() function. This
2159 function was never meant to remove anything.
2160 - fixed a typo which caused glibc to yell about a double free on exit.
2161 - removed error checking after epoll_ctl(DEL) because we can never know if
2162 the fd is still active or already closed.
2163 - added a few entries in the makefile
2164
willy tarreauad90a0c2005-12-18 01:09:15 +010021652005/04/25 : 1.2.5-pre3
2166 - experimental epoll() support (use temporary '-e' argument)
2167
21682005/04/24 : 1.2.5-pre2
willy tarreauc1f47532005-12-18 01:08:26 +01002169 - implemented the HTTP 303 code for error redirection. This forces the
2170 browser to fetch the given URI with a GET request. The new keyword for
2171 this is 'errorloc303', and a new 'errorloc302' keyword has been created
2172 to make them easily distinguishable.
2173 - added more controls in the parser for valid use of '\x' sequence.
2174 - few fixes from Alex & Klaus
2175
willy tarreauad90a0c2005-12-18 01:09:15 +010021762005/02/17 : 1.2.5-pre1
willy tarreauc1f47532005-12-18 01:08:26 +01002177 - fixed a few errors in the documentation
2178
21792005/02/13
2180 - do not pre-initialize unused file-descriptors before select() anymore.
2181
willy tarreau12350152005-12-18 01:03:27 +010021822005/01/22 : 1.2.4
2183 - merged Alexander Lazic's and Klaus Wagner's work on application
2184 cookie-based persistence. Since this is the first merge, this version is
2185 not intended for general use and reports are more than welcome. Some
2186 documentation is really needed though.
2187
willy tarreau0174f312005-12-18 01:02:42 +010021882005/01/22 : 1.2.3 (1.1.30)
2189 - add an architecture guide to the documentation
2190 - released without any changes
2191
21922004/12/26 : 1.2.3-pre1 (1.1.30-pre1)
2193 - increased default BUFSIZE to 16 kB to accept max headers of 8 kB which is
2194 compatible with Apache. This limit can be configured in the makefile now.
2195 Thanks to Eric Fehr for the checks.
2196 - added a per-server "source" option which now makes it possible to bind to
2197 a different source for each (potentially identical) server.
2198 - changed cookie-based server selection slightly to allow several servers to
2199 share a same cookie, thus making it possible to associate backup servers to
2200 live servers and ease soft-stop for maintenance periods. (Alexander Lazic)
2201 - added the cookie 'prefix' mode which makes it possible to use persistence
2202 with thin clients which support only one cookie. The server name is prefixed
2203 before the application cookie, and restore back.
2204 - fixed the order of servers within an instance to match documentation. Now
2205 the servers are *really* used in the order of their declaration. This is
2206 particularly important when multiple backup servers are in use.
2207
willy tarreau4302f492005-12-18 01:00:37 +010022082004/10/18 : 1.2.2 (1.1.29)
2209 - fixed a bug where a TCP connection would be logged twice if the 'logasap'
2210 option was enabled without the 'tcplog' option.
2211 - encode_string() would use hdr_encode_map instead of the map argument.
2212
22132004/08/10 : (1.1.29-pre2)
2214 - the logged request is now encoded with '#XX' for unprintable characters
2215 - new keywords 'capture request header' and 'capture response header' enable
2216 logging of arbitrary HTTP headers in requests and responses
2217 - removed "-DSOLARIS" after replacing the last inet_aton() with inet_pton()
2218
willy tarreau982249e2005-12-18 00:57:06 +010022192004/06/06 : 1.2.1 (1.1.28)
2220 - added the '-V' command line option to verbosely report errors even though
2221 the -q or 'quiet' options are specified. This is useful with '-c'.
2222 - added a Red Hat init script and a .spec from Simon Matter <simon.matter@invoca.ch>
willy tarreau036e1ce2005-12-17 13:46:33 +01002223
willy tarreau982249e2005-12-18 00:57:06 +010022242004/06/05 :
2225 - added the "logasap" option which produces a log without waiting for the data
2226 to be transferred from the server to the client.
2227 - added the "httpclose" option which removes any "connection:" header and adds
2228 "Connection: close" in both direction.
willy tarreau97f58572005-12-18 00:53:44 +01002229 - added the 'checkcache' option which blocks cacheable responses containing
2230 dangerous headers, such as 'set-cookie'.
willy tarreau982249e2005-12-18 00:57:06 +01002231 - added 'rspdeny' and 'rspideny' to block certain responses to avoid sensible
2232 information leak from servers.
willy tarreau25c4ea52005-12-18 00:49:49 +01002233
22342004/04/18 :
willy tarreaudd07e972005-12-18 00:48:48 +01002235 - send an EMERG log when no server is available for a given proxy
2236 - added the '-c' command line option to syntactically check the
2237 configuration file without starting the service.
2238
willy tarreau8a86dbf2005-12-18 00:45:59 +010022392003/11/09 : 1.2.0
2240 - the same as 1.1.27 + IPv6 support on the client side
2241
willy tarreaufe2c5c12005-12-17 14:14:34 +010022422003/10/27 : 1.1.27
2243 - the configurable HTTP health check introduced in 1.1.23 revealed a shameful
2244 bug : the code still assumed that HTTP requests were the same size as the
2245 original ones (22 bytes), and failed if they were not.
2246 - added support for pidfiles.
2247
willy tarreauc58fc692005-12-17 14:13:08 +010022482003/10/22 : 1.1.26
2249 - the fix introduced in 1.1.25 for client timeouts while waiting for servers
2250 broke almost all compatibility with POST requests, because the proxy
2251 stopped to read anything from the client as soon as it got all of its
2252 headers.
2253
willy tarreauc1cae632005-12-17 14:12:23 +010022542003/10/15 : 1.1.25
2255 - added the 'tcplog' option, which provides enhanced, HTTP-like logs for
2256 generic TCP proxies, or lighter logs for HTTP proxies.
2257 - fixed a time-out condition wrongly reported as client time-out in data
2258 phase if the client timeout was lower than the connect timeout times the
2259 number of retries.
2260
willy tarreau197e8ec2005-12-17 14:10:59 +010022612003/09/21 : 1.1.24
2262 - if a client sent a full request then shut its write connection down, then
2263 the request was aborted. This case was detected only when using haproxy
2264 both as health-check client and as a server.
2265 - if 'option httpchk' is used in a 'health' mode server, then responses will
2266 change from 'OK' to 'HTTP/1.0 200 OK'.
2267 - fixed a Linux-only bug in case of HTTP server health-checks, where a single
2268 server response followed by a close could be ignored, and the server seen
2269 as failed.
2270
willy tarreaueedaa9f2005-12-17 14:08:03 +010022712003/09/19 : 1.1.23
2272 - fixed a stupid bug introduced in 1.1.22 which caused second and subsequent
2273 'default' sections to keep previous parameters, and not initialize logs
2274 correctly.
2275 - fixed a second stupid bug introduced in 1.1.22 which caused configurations
2276 relying on 'dispatch' mode to segfault at the first connection.
2277 - 'option httpchk' now supports method, HTTP version and a few headers.
2278 - now, 'option httpchk', 'cookie' and 'capture' can be specified in
2279 'defaults' section
2280
22812003/09/10 : 1.1.22
willy tarreaua41a8b42005-12-17 14:02:24 +01002282 - 'listen' now supports optionnal address:port-range lists
2283 - 'bind' introduced to add new listen addresses
2284 - fixed a bug which caused a session to be kept established on a server till
2285 it timed out if the client closed during the DATA phase.
2286 - the port part of each server address can now be empty to make the proxy
2287 connect to the server on the same port it was connected to, be an absolute
2288 unsigned number to reflect a single port (as in older versions), or an
2289 explicitly signed number (+N/-N) to indicate that this offset must be
2290 applied to the port the proxy was connected to, when connecting to the
2291 server.
2292 - the 'port' server option allows the user to specify a different
2293 health-check port than the service one. It is mandatory when only relative
2294 ports have been specified and check is required. By default, the checks are
2295 sent to the service port.
2296 - new 'defaults' section which is rather similar to 'listen' except that all
2297 values are only used as default values for future 'listen' sections, until
2298 a new 'defaults' resets them. At the moment, server options, regexes,
2299 cookie names and captures cannot be set in the 'defaults' section.
2300
willy tarreau2f6ba652005-12-17 13:57:42 +010023012003/05/06 : 1.1.21
2302 - changed the debug output format so that it now includes the session unique
2303 ID followed by the instance name at the beginning of each line.
2304 - in debug mode, accept now shows the client's IP and port.
2305 - added one 3 small debugging scripts to search and pretty print debug output
2306 - changed the default health check request to "OPTIONS /" instead of
2307 "OPTIONS *" since not all servers implement the later one.
2308 - "option httpchk" now accepts an optional parameter allowing the user to
2309 specify and URI other than '/' during health-checks.
2310
willy tarreaub1ff9db2005-12-17 13:51:03 +010023112003/04/21 : 1.1.20
2312 - fixed two problems with time-outs, one where a server would be logged as
2313 timed out during transfer that take longer to complete than the fixed
2314 time-out, and one where clients were logged as timed-out during the data
2315 phase because they didn't have anything to send. This sometimes caused
2316 slow client connections to close too early while in fact there was no
2317 problem. The proper fix would be to have a per-fd time-out with
2318 conditions depending on the state of the HTTP FSM.
2319
willy tarreau906b2682005-12-17 13:49:52 +010023202003/04/16 : 1.1.19
2321 - haproxy was NOT RFC compliant because it was case-sensitive on HTTP
2322 "Cookie:" and "Set-Cookie:" headers. This caused JVM 1.4 to fail on
2323 cookie persistence because it uses "cookie:". Two memcmp() have been
2324 replaced with strncasecmp().
2325
willy tarreau036e1ce2005-12-17 13:46:33 +010023262003/04/02 : 1.1.18
2327 - Haproxy can be compiled with PCRE regex instead of libc regex, by setting
2328 REGEX=pcre on the make command line.
2329 - HTTP health-checks now use "OPTIONS *" instead of "OPTIONS /".
2330 - when explicit source address binding is required, it is now also used for
2331 health-checks.
2332 - added 'reqpass' and 'reqipass' to allow certain headers but not the request
2333 itself.
2334 - factored several strings to reduce binary size by about 2 kB.
2335 - replaced setreuid() and setregid() with more standard setuid() and setgid().
2336 - added 4 status flags to the log line indicating who ended the connection
2337 first, the sessions state, the validity of the cookie, and action taken on
2338 the set-cookie header.
2339
23402002/10/18 : 1.1.17
2341 - add the notion of "backup" servers, which are used only when all other
2342 servers are down.
2343 - make Set-Cookie return "" instead of "(null)" when the server has no
2344 cookie assigned (useful for backup servers).
2345 - "log" now supports an optionnal level name (info, notice, err ...) above
2346 which nothing is sent.
2347 - replaced some strncmp() with memcmp() for better efficiency.
2348 - added "capture cookie" option which logs client and/or server cookies
2349 - cleaned up/down messages and dump servers states upon SIGHUP
2350 - added a redirection feature for errors : "errorloc <errnum> <url>"
2351 - now we won't insist on connecting to a dead server, even with a cookie,
2352 unless option "persist" is specified.
2353 - added HTTP/408 response for client request time-out and HTTP/50[234] for
2354 server reply time-out or errors.
2355
23562002/09/01 : 1.1.16
2357 - implement HTTP health checks when option "httpchk" is specified.
2358
23592002/08/07 : 1.1.15
2360 - replaced setpgid()/setpgrp() with setsid() for better portability, because
2361 setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD.
2362
23632002/07/20 : 1.1.14
2364 - added "postonly" cookie mode
2365
23662002/07/15 : 1.1.13
2367 - tv_diff used inverted parameters which led to negative times !
2368
23692002/07/13 : 1.1.12
2370 - fixed stats monitoring, and optimized some tv_* for most common cases.
2371 - replaced temporary 'newhdr' with 'trash' to reduce stack size
2372 - made HTTP errors more HTML-fiendly.
2373 - renamed strlcpy() to strlcpy2() because of a slightly difference between
2374 their behaviour (return value), to avoid confusion.
2375 - restricted HTTP messages to HTTP proxies only
2376 - added a 502 message when the connection has been refused by the server,
2377 to prevent clients from believing this is a zero-byte HTTP 0.9 reply.
2378 - changed 'Cache-control:' from 'no-cache="set-cookie"' to 'private' when
2379 inserting a cookie, because some caches (apache) don't understand it.
2380 - fixed processing of server headers when client is in SHUTR state
2381
23822002/07/04 :
2383 - automatically close fd's 0,1 and 2 when going daemon ; setpgrp() after
2384 setpgid()
2385
23862002/06/04 : 1.1.11
2387 - fixed multi-cookie handling in client request to allow clean deletion
2388 in insert+indirect mode. Now, only the server cookie is deleted and not
willy tarreau906b2682005-12-17 13:49:52 +01002389 all the header. Should now be compliant to RFC2965.
willy tarreau036e1ce2005-12-17 13:46:33 +01002390 - added a "nocache" option to "cookie" to specify that we explicitly want
2391 to add a "cache-control" header when we add a cookie.
2392 It is also possible to add an "Expires: <old-date>" to keep compatibility
2393 with old/broken caches.
2394
23952002/05/10 : 1.1.10
2396 - if a cookie is used in insert+indirect mode, it's desirable that the
2397 the servers don't see it. It was not possible to remove it correctly
2398 with regexps, so now it's removed automatically.
2399
24002002/04/19 : 1.1.9
2401 - don't use snprintf()'s return value as an end of message since it may
2402 be larger. This caused bus errors and segfaults in internal libc's
2403 getenv() during localtime() in send_log().
2404 - removed dead insecure send_syslog() function and all references to it.
2405 - fixed warnings on Solaris due to buggy implementation of isXXXX().
2406
24072002/04/18 : 1.1.8
2408 - option "dontlognull"
2409 - fixed "double space" bug in config parser
2410 - fixed an uninitialized server field in case of dispatch
2411 with no existing server which could cause a segfault during
2412 logging.
2413 - the pid logged was always the father's, which was wrong for daemons.
2414 - fixed wrong level "LOG_INFO" for message "proxy started".
2415
24162002/04/13 :
2417 - http logging is now complete :
2418 - ip:port, date, proxy, server
2419 - req_time, conn_time, hdr_time, tot_time
2420 - status, size, request
2421 - source address
2422
24232002/04/12 : 1.1.7
2424 - added option forwardfor
2425 - added reqirep, reqidel, reqiallow, reqideny, rspirep, rspidel
2426 - added "log global" in "listen" section.
2427
24282002/04/09 :
2429 - added a new "global" section :
2430 - logs
2431 - debug, quiet, daemon modes
2432 - uid, gid, chroot, nbproc, maxconn
2433
24342002/04/08 : 1.1.6
2435 - regex are now chained and not limited anymore.
2436 - unavailable server now returns HTTP/502.
2437 - increased per-line args limit to 40
2438 - added reqallow/reqdeny to block some request on matches
2439 - added HTTP 400/403 responses
2440
24412002/04/03 : 1.1.5
2442 - connection logging displayed incorrect source address.
2443 - added proxy start/stop and server up/down log events.
2444 - replaced log message short buffers with larger trash.
2445 - enlarged buffer to 8 kB and replace buffer to 4 kB.
2446
24472002/03/25 : 1.1.4
2448 - made rise/fall/interval time configurable
2449
24502002/03/22 : 1.1.3
2451 - fixed a bug : cr_expire and cw_expire were inverted in CL_STSHUT[WR]
2452 which could lead to loops.
2453
24542002/03/21 : 1.1.2
2455 - fixed a bug in buffer management where we could have a loop
2456 between event_read() and process_{cli|srv} if R==BUFSIZE-MAXREWRITE.
2457 => implemented an adjustable buffer limit.
2458 - fixed a bug : expiration of tasks in wait queue timeout is used again,
2459 and running tasks are skipped.
2460 - added some debug lines for accept events.
2461 - send warnings for servers up/down.
2462
24632002/03/12 : 1.1.1
2464 - fixed a bug in total failure handling
2465 - fixed a bug in timestamp comparison within same second (tv_cmp_ms)
2466
24672002/03/10 : 1.1.0
2468 - fixed a few timeout bugs
2469 - rearranged the task scheduler subsystem to improve performance,
2470 add new tasks, and make it easier to later port to librt ;
2471 - allow multiple accept() for one select() wake up ;
2472 - implemented internal load balancing with basic health-check ;
2473 - cookie insertion and header add/replace/delete, with better strings
2474 support.
2475
24762002/03/08
2477 - reworked buffer handling to fix a few rewrite bugs, and
2478 improve overall performance.
2479 - implement the "purge" option to delete server cookies in direct mode.
2480
24812002/03/07
2482 - fixed some error cases where the maxfd was not decreased.
2483
24842002/02/26
2485 - now supports transparent proxying, at least on linux 2.4.
2486
24872002/02/12
2488 - soft stop works again (fixed select timeout computation).
2489 - it seems that TCP proxies sometimes cannot timeout.
2490 - added a "quiet" mode.
2491 - enforce file descriptor limitation on socket() and accept().
2492
24932001/12/30 : release of version 1.0.2 : fixed a bug in header processing
24942001/12/19 : release of version 1.0.1 : no MSG_NOSIGNAL on solaris
24952001/12/16 : release of version 1.0.0.
24962001/12/16 : added syslog capability for each accepted connection.
24972001/11/19 : corrected premature end of files and occasional SIGPIPE.
24982001/10/31 : added health-check type servers (mode health) which replies OK then closes.
24992001/10/30 : added the ability to support standard TCP proxies and HTTP proxies
2500 with or without cookies (use keyword http for this).
25012001/09/01 : added client/server header replacing with regexps.
2502 eg:
2503 cliexp ^(Host:\ [^:]*).* Host:\ \1:80
2504 srvexp ^Server:\ .* Server:\ Apache
25052000/11/29 : first fully working release with complete FSMs and timeouts.
25062000/11/28 : major rewrite
25072000/11/26 : first write