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