willy tarreau | 036e1ce | 2005-12-17 13:46:33 +0100 | [diff] [blame] | 1 | ChangeLog : |
| 2 | =========== |
willy tarreau | 4302f49 | 2005-12-18 01:00:37 +0100 | [diff] [blame] | 3 | |
Willy Tarreau | 6939b55 | 2010-01-25 01:54:37 +0100 | [diff] [blame] | 4 | 2010/01/25 : 1.4-dev7 |
| 5 | - [BUG] appsession: possible memory leak in case of out of memory condition |
| 6 | - [MINOR] config: don't accept 'appsession' in defaults section |
| 7 | - [MINOR] Add function to parse a size in configuration |
| 8 | - [MEDIUM] Add stick table (persistence) management functions and types |
| 9 | - [MEDIUM] Add pattern fetch management types and functions |
| 10 | - [MEDIUM] Add src dst and dport pattern fetches. |
| 11 | - [MEDIUM] Add stick table configuration and init. |
| 12 | - [MEDIUM] Add stick and store rules analysers. |
| 13 | - [MINOR] add option "mysql-check" to use MySQL health checks |
| 14 | - [BUG] health checks: fix requeued message |
| 15 | - [OPTIM] remove SSP_O_VIA and SSP_O_STATUS |
| 16 | - [BUG] checks: fix newline termination |
| 17 | - [MINOR] acl: add fe_id/so_id to match frontend's and socket's id |
| 18 | - [BUG] appsession's sessid must be reset at end of transaction |
| 19 | - [BUILD] appsession did not build anymore under gcc-2.95 |
| 20 | - [BUG] server redirection used an uninitialized string. |
| 21 | - [MEDIUM] http: fix handling of message pointers |
| 22 | - [MINOR] http: fix double slash prefix with server redirect |
| 23 | - [MINOR] http redirect: add the ability to append a '/' to the URL |
| 24 | - [BUG] stream_interface: fix retnclose and remove cond_close |
| 25 | - [MINOR] http redirect: don't explicitly state keep-alive on 1.1 |
| 26 | - [MINOR] http: move appsession 'sessid' from session to http_txn |
| 27 | - [OPTIM] reorder http_txn to optimize cache lines placement |
| 28 | - [MINOR] http: differentiate waiting for new request and waiting for a complete requst |
| 29 | - [MINOR] http: add a separate "http-keep-alive" timeout |
| 30 | - [MINOR] config: remove undocumented and buggy 'timeout appsession' |
| 31 | - [DOC] fix various too large lines |
| 32 | - [DOC] remove several trailing spaces |
| 33 | - [DOC] add the doc about stickiness |
| 34 | - [BUILD] remove a warning in standard.h on AIX |
| 35 | - [BUG] checks: chars are unsigned on AIX, check was always true |
| 36 | - [CLEANUP] stream_sock: MSG_NOSIGNAL is only for send(), not recv() |
| 37 | - [BUG] check: we must not check for error before reading a response |
| 38 | - [BUG] buffers: remove remains of wrong obsolete length check |
| 39 | - [OPTIM] stream_sock: don't shutdown(write) when the socket is in error |
| 40 | - [BUG] http: don't count req errors on client resets or t/o during keep-alive |
| 41 | - [MEDIUM] http: don't switch to tunnel mode upon close |
| 42 | - [DOC] add documentation about connection header processing |
| 43 | - [MINOR] http: add http_remove_header2() to remove a header value. |
| 44 | - [MINOR] tools: add a "word_match()" function to match words and ignore spaces |
| 45 | - [MAJOR] http: rework request Connection header handling |
| 46 | - [MAJOR] http: rework response Connection header handling |
| 47 | - [MINOR] add the ability to force kernel socket buffer size. |
| 48 | - [BUG] http_server_error() must not purge a previous pending response |
| 49 | - [OPTIM] http: don't delay response if next request is incomplete |
| 50 | - [MINOR] add the "force-persist" statement to force persistence on down servers |
| 51 | - [MINOR] http: logs must report persistent connections to down servers |
| 52 | - [BUG] buffer_replace2 must never change the ->w entry |
| 53 | |
Willy Tarreau | 11f8f54 | 2010-01-08 07:49:44 +0100 | [diff] [blame] | 54 | 2010/01/08 : 1.4-dev6 |
| 55 | - [BUILD] warning in stream_interface.h |
| 56 | - [BUILD] warning ultoa_r returns char * |
| 57 | - [MINOR] hana: only report stats if it is enabled |
| 58 | - [MINOR] stats: add "a link" & "a href" for sockets |
| 59 | - [MINOR]: stats: add show-legends to report additional informations |
| 60 | - [MEDIUM] default-server support |
| 61 | - [BUG]: add 'observer', 'on-error', 'error-limit' to supported options list |
| 62 | - [MINOR] stats: add href to tracked server |
| 63 | - [BUG] stats: show UP/DOWN status also in tracking servers |
| 64 | - [DOC] Restore ability to search a keyword at the beginning of a line |
| 65 | - [BUG] stats: cookie should be reported under backend not under proxy |
| 66 | - [BUG] cfgparser/stats: fix error message |
| 67 | - [BUG] http: disable auto-closing during chunk analysis |
| 68 | - [BUG] http: fix hopefully last closing issue on data forwarding |
| 69 | - [DEBUG] add an http_silent_debug function to debug HTTP states |
| 70 | - [MAJOR] http: fix again the forward analysers |
| 71 | - [BUG] http_process_res_common() must not skip the forward analyser |
| 72 | - [BUG] http: some possible missed close remain in the forward chain |
| 73 | - [BUG] http: redirect needed to be updated after recent changes |
| 74 | - [BUG] http: don't set no-linger on response in case of forced close |
| 75 | - [MEDIUM] http: restore the original behaviour of option httpclose |
| 76 | - [TESTS] add a file to test various connection modes |
| 77 | - [BUG] http: check options before the connection header |
| 78 | - [MAJOR] session: fix the order by which the analysers are run |
| 79 | - [MEDIUM] session: also consider request analysers added during response |
| 80 | - [MEDIUM] http: make safer use of the DONT_READ and AUTO_CLOSE flags |
| 81 | - [BUG] http: memory leak with captures when using keep-alive |
| 82 | - [BUG] http: fix for capture memory leak was incorrect |
| 83 | - [MINOR] http redirect: use proper call to return last response |
| 84 | - [MEDIUM] http: wait for some flush of the response buffer before a new request |
| 85 | - [MEDIUM] session: limit the number of analyser loops |
| 86 | |
Willy Tarreau | 1f44589 | 2010-01-03 23:23:36 +0100 | [diff] [blame] | 87 | 2010/01/03 : 1.4-dev5 |
| 88 | - [MINOR] server tracking: don't care about the tracked server's mode |
| 89 | - [MEDIUM] appsession: add "len", "prefix" and "mode" options |
| 90 | - [MEDIUM] appsession: add the "request-learn" option |
| 91 | - [BUG] Configuration parser bug when escaping characters |
| 92 | - [MINOR] CSS & HTML fun |
| 93 | - [MINOR] Collect & provide http response codes received from servers |
| 94 | - [BUG] Fix silly typo: hspr_other -> hrsp_other |
| 95 | - [MINOR] Add "a name" to stats page |
| 96 | - [MINOR] add additional "a href"s to stats page |
| 97 | - [MINOR] Collect & provide http response codes for frontends, fix backends |
| 98 | - [DOC] some small spell fixes and unifications |
| 99 | - [MEDIUM] Decrease server health based on http responses / events, version 3 |
| 100 | - [BUG] format '%d' expects type 'int', but argument 5 has type 'long int' |
| 101 | - [BUG] config: fix erroneous check on cookie domain names, again |
| 102 | - [BUG] Healthchecks: get a proper error code if connection cannot be completed immediately |
| 103 | - [DOC] trivial fix for man page |
| 104 | - [MINOR] config: report all supported options for the "bind" keyword |
| 105 | - [MINOR] tcp: add support for the defer_accept bind option |
| 106 | - [MINOR] unix socket: report the socket path in case of bind error |
| 107 | - [CONTRIB] halog: support searching by response time |
| 108 | - [DOC] add a reminder about obsolete documents |
| 109 | - [DOC] point to 1.4 doc, not 1.3 |
| 110 | - [DOC] option tcp-smart-connect was missing from index |
| 111 | - [MINOR] http: detect connection: close earlier |
| 112 | - [CLEANUP] sepoll: clean up the fd_clr/fd_set functions |
| 113 | - [OPTIM] move some rarely used fields out of fdtab |
| 114 | - [MEDIUM] fd: merge fd_list into fdtab |
| 115 | - [MAJOR] buffer: flag BF_DONT_READ to disable reads when not required |
| 116 | - [MINOR] http: add new transaction flags for keep-alive and content-length |
| 117 | - [MEDIUM] http request: parse connection, content-length and transfer-encoding |
| 118 | - [MINOR] http request: update the TX_SRV_CONN_KA flag on rewrite |
| 119 | - [MINOR] http request: simplify the test of no-data |
| 120 | - [MEDIUM] http request: simplify POST length detection |
| 121 | - [MEDIUM] http request: make use of pre-parsed transfer-encoding header |
| 122 | - [MAJOR] http: create the analyser which waits for a response |
| 123 | - [MINOR] http: pre-set the persistent flags in the transaction |
| 124 | - [MEDIUM] http response: check body length and set transaction flags |
| 125 | - [MINOR] http response: update the TX_CLI_CONN_KA flag on rewrite |
| 126 | - [MINOR] http: remove the last call to stream_int_return |
| 127 | - [IMPORT] import ebtree v5.0 into directory ebtree/ |
| 128 | - [MEDIUM] build: switch ebtree users to use new ebtree version |
| 129 | - [CLEANUP] ebtree: remove old unused files |
| 130 | - [BUG] definitely fix regparm issues between haproxy core and ebtree |
| 131 | - [CLEANUP] ebtree: cast to char * to get rid of gcc warning |
| 132 | - [BUILD] missing #ifndef in ebmbtree.h |
| 133 | - [BUILD] missing #ifndef in ebsttree.h |
| 134 | - [MINOR] tools: add hex2i() function to convert hex char to int |
| 135 | - [MINOR] http: create new MSG_BODY sub-states |
| 136 | - [BUG] stream_sock: BUF_INFINITE_FORWARD broke splice on 64-bit platforms |
| 137 | - [DOC] option is "defer-accept", not "defer_accept" |
| 138 | - [MINOR] http: keep pointer to beginning of data |
| 139 | - [BUG] x-original-to: name was not set in default instance |
| 140 | - [MINOR] http: detect tunnel mode and set it in the session |
| 141 | - [BUG] config: fix error message when config file is not found |
| 142 | - [BUG] config: fix wrong handling of too large argument count |
| 143 | - [BUG] config: disable 'option httplog' on TCP proxies |
| 144 | - [BUG] config: fix erroneous check on cookie domain names |
| 145 | - [BUG] config: cookie domain was ignored in defaults sections |
| 146 | - [MINOR] config: support passing multiple "domain" statements to cookies |
| 147 | - [MINOR] ebtree: add functions to lookup non-null terminated strings |
| 148 | - [MINOR] config: don't report error on all subsequent files on failure |
| 149 | - [BUG] second fix for the printf format warning |
| 150 | - [BUG] check_post: limit analysis to the buffer length |
| 151 | - [MEDIUM] http: process request body in a specific analyser |
| 152 | - [MEDIUM] backend: remove HTTP POST parsing from get_server_ph_post() |
| 153 | - [MAJOR] http: completely process the "connection" header |
| 154 | - [MINOR] http: only consider chunk encoding with HTTP/1.1 |
| 155 | - [MAJOR] buffers: automatically compute the maximum buffer length |
| 156 | - [MINOR] http: move the http transaction init/cleanup code to proto_http |
| 157 | - [MINOR] http: move 1xx handling earlier to eliminate a lot of ifs |
| 158 | - [MINOR] http: introduce a new synchronisation state : HTTP_MSG_DONE |
| 159 | - [MEDIUM] http: rework chunk-size parser |
| 160 | - [MEDIUM] http: add a new transaction flags indicating if we know the transfer length |
| 161 | - [MINOR] buffers: add buffer_ignore() to skip some bytes |
| 162 | - [BUG] http: offsets are relative to the buffer, not to ->som |
| 163 | - [MEDIUM] http: automatically re-aling request buffer |
| 164 | - [BUG] http: body parsing must consider the start of message |
| 165 | - [MINOR] new function stream_int_cond_close() |
| 166 | - [MAJOR] http: implement body parser |
| 167 | - [BUG] http: typos on several unlikely() around header insertion |
| 168 | - [BUG] stream_sock: wrong max computation on recv |
| 169 | - [MEDIUM] http: rework the buffer alignment logic |
| 170 | - [BUG] buffers: wrong size calculation for displaced data |
| 171 | - [MINOR] stream_sock: prepare for closing when all pending data are sent |
| 172 | - [MEDIUM] http: add two more states for the closing period |
| 173 | - [MEDIUM] http: properly handle "option forceclose" |
| 174 | - [MINOR] stream_sock: add SI_FL_NOLINGER for faster close |
| 175 | - [MEDIUM] http: make forceclose use SI_FL_NOLINGER |
| 176 | - [MEDIUM] session: set SI_FL_NOLINGER when aborting on write timeouts |
| 177 | - [MEDIUM] http: add some SI_FL_NOLINGER around server errors |
| 178 | - [MINOR] config: option forceclose is valid in frontends too |
| 179 | - [BUILD] halog: insufficient include path in makefile |
| 180 | - [MEDIUM] http: make the analyser not rely on msg being initialized anymore |
| 181 | - [MEDIUM] http: make the parsers able to wait for a buffer flush |
| 182 | - [MAJOR] http: add support for option http-server-close |
| 183 | - [BUG] http: ensure we abort data transfer on write error |
| 184 | - [BUG] last fix was overzealous and disabled server-close |
| 185 | - [BUG] http: fix erroneous trailers size computation |
| 186 | - [MINOR] stream_sock: enable MSG_MORE when forwarding finite amount of data |
| 187 | - [OPTIM] http: set MSG_MORE on response when a pipelined request is pending |
| 188 | - [BUG] http: redirects were broken by chunk changes |
| 189 | - [BUG] http: the request URI pointer is relative to the buffer |
| 190 | - [OPTIM] http: don't immediately enable reading on request |
| 191 | - [MINOR] http: move redirect messages to HTTP/1.1 with a content-length |
| 192 | - [BUG] http: take care of errors, timeouts and aborts during the data phase |
| 193 | - [MINOR] http: don't wait for sending requests to the server |
| 194 | - [MINOR] http: make the conditional redirect support keep-alive |
| 195 | - [BUG] http: fix cookie parser to support spaces and commas in values |
| 196 | - [MINOR] config: some options were missing for "redirect" |
| 197 | - [MINOR] redirect: add support for unconditional rules |
| 198 | - [MINOR] config: centralize proxy struct initialization |
| 199 | - [MEDIUM] config: remove the limitation of 10 reqadd/rspadd statements |
| 200 | - [MEDIUM] config: remove the limitation of 10 config files |
| 201 | - [CLEANUP] http: remove a remaining impossible condition |
| 202 | - [OPTIM] http: optimize a bit the construct of the forward loops |
| 203 | |
Willy Tarreau | c82a9e5 | 2009-10-12 06:40:53 +0200 | [diff] [blame] | 204 | 2009/10/12 : 1.4-dev4 |
| 205 | - [DOC] add missing rate_lim and rate_max |
| 206 | - [MAJOR] struct chunk rework |
| 207 | - [MEDIUM] Health check reporting code rework + health logging, v3 |
| 208 | - [BUG] check if rise/fall has an argument and it is > 0 |
| 209 | - [MINOR] health checks logging unification |
| 210 | - [MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2 |
| 211 | - [MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname. |
| 212 | - [DOC] Add information about http://haproxy.1wt.eu/contrib.html |
| 213 | - [MINOR] Introduce include/types/counters.h |
| 214 | - [CLEANUP] Move counters to dedicated structures |
| 215 | - [MINOR] Add "clear counters" to clear statistics counters |
| 216 | - [MEDIUM] Collect & provide separate statistics for sockets, v2 |
| 217 | - [BUG] Fix NULL pointer dereference in stats_check_uri_auth(), v2 |
| 218 | - [MINOR] acl: don't report valid acls as potential mistakes |
| 219 | - [MINOR] Add cut_crlf(), ltrim(), rtrim() and alltrim() |
| 220 | - [MINOR] Add chunk_htmlencode and chunk_asciiencode |
| 221 | - [MINOR] Capture & display more data from health checks, v2 |
| 222 | - [BUG] task.c: don't assing last_timer to node-less entries |
| 223 | - [BUG] http stats: large outputs sometimes got some parts chopped off |
| 224 | - [MINOR] backend: export some functions to recount servers |
| 225 | - [MINOR] backend: uninline some LB functions |
| 226 | - [MINOR] include time.h from freq_ctr.h as is uses "now". |
| 227 | - [CLEANUP] backend: move LB algos to individual files |
| 228 | - [MINOR] lb_map: reorder code in order to ease integration of new hash functions |
| 229 | - [CLEANUP] proxy: move last lb-specific bits to their respective files |
| 230 | - [MINOR] backend: separate declarations of LB algos from their lookup method |
| 231 | - [MINOR] backend: reorganize the LB algorithm selection |
| 232 | - [MEDIUM] backend: introduce the "static-rr" LB algorithm |
| 233 | - [MINOR] report list of supported pollers with -vv |
| 234 | - [DOC] log-health-checks is an option, not a directive |
| 235 | - [MEDIUM] new option "independant-streams" to stop updating read timeout on writes |
| 236 | - [BUG] stats: don't call buffer_shutw(), but ->shutw() instead |
| 237 | - [MINOR] stats: strip CR and LF from the input command line |
| 238 | - [BUG] don't refresh timeouts late after detected activity |
| 239 | - [MINOR] stats_dump_errors_to_buffer: use buffer_feed_chunk() |
| 240 | - [MINOR] stats_dump_sess_to_buffer: use buffer_feed_chunk() |
| 241 | - [MINOR] stats: make stats_dump_raw_to_buffer() use buffer_feed_chunk |
| 242 | - [MEDIUM] stats: don't use s->ana_state anymore |
| 243 | - [MINOR] remove now obsolete ana_state from the session struct |
| 244 | - [MEDIUM] stats: make HTTP stats use an I/O handler |
| 245 | - [MEDIUM] stream_int: adjust WAIT_ROOM handling |
| 246 | - [BUG] config: look for ID conflicts in all sockets, not only last ones. |
| 247 | - [MINOR] config: reference file and line with any listener/proxy/server declaration |
| 248 | - [MINOR] config: report places of duplicate names or IDs |
| 249 | - [MINOR] config: add pointer to file name in block/redirect/use_backend/monitor rules |
| 250 | - [MINOR] tools: add a new get_next_id() function |
| 251 | - [MEDIUM] config: automatically find unused IDs for proxies, servers and listeners |
| 252 | - [OPTIM] counters: move some max numbers to the counters struct |
| 253 | - [BUG] counters: fix segfault on missing counters for a listener |
| 254 | - [MEDIUM] backend: implement consistent hashing variation |
| 255 | - [MINOR] acl: add fe_conn, be_conn, queue, avg_queue |
| 256 | - [MINOR] stats: use 'clear counters all' to clear all values |
| 257 | - [MEDIUM] add access restrictions to the stats socket |
| 258 | - [MINOR] buffers: add buffer_feed2() and make buffer_feed() measure string length |
| 259 | - [MINOR] proxy: provide function to retrieve backend/server pointers |
| 260 | - [MINOR] add the "initial weight" to the server struct. |
| 261 | - [MEDIUM] stats: add the "get weight" command to report a server's weight |
| 262 | - [MEDIUM] stats: add the "set weight" command |
| 263 | - [BUILD] add a 'make tags' target |
| 264 | - [MINOR] stats: add support for numeric IDs in set weight/get weight |
| 265 | - [MINOR] stats: use a dedicated state to output static data |
| 266 | - [OPTIM] stats: check free space before trying to print |
| 267 | |
Willy Tarreau | 9f389e0 | 2009-09-24 00:12:50 +0200 | [diff] [blame] | 268 | 2009/09/24 : 1.4-dev3 |
| 269 | - [BUILD] compilation of haproxy-1.4-dev2 on FreeBSD |
| 270 | - [MEDIUM] Collect & show information about last health check, v3 |
| 271 | - [MINOR] export the hostname variable so that all the code can access it |
| 272 | - [MINOR] stats: add a new node-name setting |
| 273 | - [MEDIUM] remove old experimental tcpsplice option |
| 274 | - [BUILD] fix build for systems without SOL_TCP |
| 275 | - [MEDIUM] move connection establishment from backend to the SI. |
| 276 | - [MEDIUM] make the global stats socket part of a frontend |
| 277 | - [MEDIUM] session: account per-listener connections |
| 278 | - [MINOR] session: switch to established state if no connect function |
| 279 | - [MEDIUM] make the unix stats sockets use the generic session handler |
| 280 | - [CLEANUP] unix: remove uxst_process_session() |
| 281 | - [CLEANUP] move remaining stats sockets code to dumpstats |
| 282 | - [MINOR] move the initial task's nice value to the listener |
| 283 | - [MINOR] cleanup set_session_backend by using pre-computed analysers |
| 284 | - [MINOR] set s->srv_error according to the analysers |
| 285 | - [MEDIUM] set rep->analysers from fe and be analysers |
| 286 | - [MEDIUM] replace BUFSIZE with buf->size in computations |
| 287 | - [MEDIUM] make it possible to change the buffer size in the configuration |
| 288 | - [MEDIUM] report error on buffer writes larger than buffer size |
| 289 | - [MEDIUM] stream_interface: add and use ->update function to resync |
| 290 | - [CLEANUP] remove ifdef MSG_NOSIGNAL and define it instead |
| 291 | - [MEDIUM] remove TCP_CORK and make use of MSG_MORE instead |
| 292 | - [BUG] tarpit did not work anymore |
| 293 | - [MINOR] acl: add support for hdr_ip to match IP addresses in headers |
| 294 | - [MAJOR] buffers: fix misuse of the BF_SHUTW_NOW flag |
| 295 | - [MINOR] buffers: provide more functions to handle buffer data |
| 296 | - [MEDIUM] buffers: provide new buffer_feed*() function |
| 297 | - [MINOR] buffers: add peekchar and peekline functions for stream interfaces |
| 298 | - [MINOR] buffers: provide buffer_si_putchar() to send a char from a stream interface |
| 299 | - [BUG] buffer_forward() would not correctly consider data already scheduled |
| 300 | - [MINOR] buffers: add buffer_cut_tail() to cut only unsent data |
| 301 | - [MEDIUM] stream_interface: make use of buffer_cut_tail() to report errors |
| 302 | - [MAJOR] http: add support for HTTP 1xx informational responses |
| 303 | - [MINOR] buffers: inline buffer_si_putchar() |
| 304 | - [MAJOR] buffers: split BF_WRITE_ENA into BF_AUTO_CONNECT and BF_AUTO_CLOSE |
| 305 | - [MAJOR] buffers: fix the BF_EMPTY flag's meaning |
| 306 | - [BUG] stream_interface: SI_ST_CLO must have buffers SHUT |
| 307 | - [MINOR] stream_sock: don't set SI_FL_WAIT_DATA if BF_SHUTW_NOW is set |
| 308 | - [MEDIUM] add support for infinite forwarding |
| 309 | - [BUILD] stream_interface: fix conflicting declaration |
| 310 | - [BUG] buffers: buffer_forward() must not always clear BF_OUT_EMPTY |
| 311 | - [BUG] variable buffer size ignored at initialization time |
| 312 | - [MINOR] ensure that buffer_feed() and buffer_skip() set BF_*_PARTIAL |
| 313 | - [BUG] fix buffer_skip() and buffer_si_getline() to correctly handle wrap-arounds |
| 314 | - [MINOR] stream_interface: add SI_FL_DONT_WAKE flag |
| 315 | - [MINOR] stream_interface: add iohandler callback |
| 316 | - [MINOR] stream_interface: add functions to support running as internal/external tasks |
| 317 | - [MEDIUM] session: call iohandler for embedded tasks (applets) |
| 318 | - [MINOR] add a ->private member to the stream_interface |
| 319 | - [MEDIUM] stats: prepare the connection for closing before dumping |
| 320 | - [MEDIUM] stats: replace the stats socket analyser with an SI applet |
| 321 | |
Willy Tarreau | 68dcd25 | 2009-08-09 22:57:09 +0200 | [diff] [blame] | 322 | 2009/08/09 : 1.4-dev2 |
| 323 | - [BUG] task: fix possible crash when some timeouts are not configured |
| 324 | - [BUG] log: option tcplog would log to global if no logger was defined |
| 325 | |
Willy Tarreau | b03d298 | 2009-07-29 22:38:32 +0200 | [diff] [blame] | 326 | 2009/07/29 : 1.4-dev1 |
| 327 | - [MINOR] acl: add support for matching of RDP cookies |
| 328 | - [MEDIUM] add support for RDP cookie load-balancing |
| 329 | - [MEDIUM] add support for RDP cookie persistence |
| 330 | - [MINOR] add a new CLF log format |
| 331 | - [MINOR] startup: don't imply -q with -D |
| 332 | - [BUG] ensure that we correctly re-start old process in case of error |
| 333 | - [MEDIUM] add support for binding to source port ranges during connect |
| 334 | - [MINOR] config: track "no option"/"option" changes |
| 335 | - [MINOR] config: support resetting options do default values |
| 336 | - [MEDIUM] implement option tcp-smart-accept at the frontend |
| 337 | - [MEDIUM] stream_sock: implement tcp-cork for use during shutdowns on Linux |
| 338 | - [MEDIUM] implement tcp-smart-connect option at the backend |
| 339 | - [MEDIUM] add support for TCP MSS adjustment for listeners |
| 340 | - [MEDIUM] support setting a server weight to zero |
| 341 | - [MINOR] make DEFAULT_MAXCONN user-configurable at build time |
| 342 | - [MAJOR] session: don't clear buffer status flags anymore |
| 343 | - [MAJOR] session: only check for timeouts when they have just occurred. |
| 344 | - [MAJOR] session: simplify buffer error handling |
| 345 | - [MEDIUM] config: split parser and checker in two functions |
| 346 | - [MEDIUM] config: support loading multiple configuration files |
| 347 | - [MEDIUM] stream_sock: don't close prematurely when nolinger is set |
| 348 | - [MEDIUM] session: rework buffer analysis to permit permanent analysers |
| 349 | - [MEDIUM] splice: set the capability on each stream_interface |
| 350 | - [BUG] http: redirect rules were processed too early |
| 351 | - [CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define |
| 352 | - [MEDIUM] http: split request waiter from request processor |
| 353 | - [MEDIUM] session: tell analysers what bit they were called for |
| 354 | - [MAJOR] http: complete splitting of the remaining stages |
| 355 | - [MINOR] report in the proxies the requirements for ACLs |
| 356 | - [MINOR] http: rely on proxy->acl_requires to allocate hdr_idx |
| 357 | - [MINOR] acl: add HTTP protocol detection (req_proto_http) |
| 358 | - [MINOR] prepare callers of session_set_backend to handle errors |
| 359 | - [BUG] default ACLs did not properly set the ->requires flag |
| 360 | - [MEDIUM] allow a TCP frontend to switch to an HTTP backend |
| 361 | - [MINOR] ensure we can jump from swiching rules to http without data |
| 362 | - [MINOR] http: take http request timeout from the backend |
| 363 | - [MINOR] allow TCP inspection rules to make use of HTTP ACLs |
| 364 | - [BUILD] report commit date and not author's date as build date |
| 365 | - [MINOR] acl: don't complain anymore when using L7 acls in TCP |
| 366 | - [BUG] stream_sock: always shutdown(SHUT_WR) before closing |
| 367 | - [BUG] stream_sock: don't stop reading when the poller reports an error |
| 368 | - [BUG] config: tcp-request content only accepts "if" or "unless" |
| 369 | - [BUG] task: fix possible timer drift after update |
| 370 | - [MINOR] apply tcp-smart-connect option for the checks too |
| 371 | - [MINOR] stats: better displaying in MSIE |
| 372 | - [MINOR] config: improve error reporting in global section |
| 373 | - [MINOR] config: improve error reporting in listen sections |
| 374 | - [MINOR] config: the "capture" keyword is not allowed in backends |
| 375 | - [MINOR] config: improve error reporting when checking configuration |
| 376 | - [BUILD] fix a minor build warning on AIX |
| 377 | - [BUILD] use "git cmd" instead of "git-cmd" |
| 378 | - [CLEANUP] report 2009 not 2008 in the copyright banner. |
| 379 | - [MINOR] print usage on the stats sockets upon invalid commands |
| 380 | - [MINOR] acl: detect and report potential mistakes in ACLs |
| 381 | - [BUILD] fix incorrect printf arg count with tcp_splice |
| 382 | - [BUG] fix random pauses on last segment of a series |
| 383 | - [BUILD] add support for build under Cygwin |
| 384 | |
Willy Tarreau | 7915888 | 2009-06-09 11:59:08 +0200 | [diff] [blame] | 385 | 2009/06/09 : 1.4-dev0 |
| 386 | - exact copy of 1.3.18 |
| 387 | |
Willy Tarreau | beb05ae | 2009-05-10 20:27:47 +0200 | [diff] [blame] | 388 | 2009/05/10 : 1.3.18 |
| 389 | - [MEDIUM] add support for "balance hdr(name)" |
| 390 | - [CLEANUP] give a little bit more information in error message |
| 391 | - [MINOR] add X-Original-To: header |
| 392 | - [BUG] x-original-to: fix missing initialization to default value |
| 393 | - [BUILD] spec file: fix broken pipe during rpmbuild and add man file |
| 394 | - [MINOR] improve reporting of misplaced acl/reqxxx rules |
| 395 | - [MEDIUM] http: add options to ignore invalid header names |
| 396 | - [MEDIUM] http: capture invalid requests/responses even if accepted |
| 397 | - [BUILD] add format(printf) to printf-like functions |
| 398 | - [MINOR] fix several printf formats and missing arguments |
| 399 | - [BUG] stats: total and lbtot are unsigned |
| 400 | - [MINOR] fix a few remaining printf-like formats on 64-bit platforms |
| 401 | - [CLEANUP] remove unused make option from haproxy.spec |
| 402 | - [BUILD] make it possible to pass alternative arch at build time |
| 403 | - [MINOR] switch all stat counters to 64-bit |
| 404 | - [MEDIUM] ensure we don't recursively call pool_gc2() |
| 405 | - [CRITICAL] uninitialized response field can sometimes cause crashes |
| 406 | - [BUG] fix wrong pointer arithmetics in HTTP message captures |
| 407 | - [MINOR] rhel init script : support the reload operation |
| 408 | - [MINOR] add basic signal handling functions |
| 409 | - [BUILD] add signal.o to all makefiles |
| 410 | - [MEDIUM] call signal_process_queue from run_poll_loop |
| 411 | - [MEDIUM] pollers: don't wait if a signal is pending |
| 412 | - [MEDIUM] convert all signals to asynchronous signals |
| 413 | - [BUG] O(1) pollers should check their FD before closing it |
| 414 | - [MINOR] don't close stdio fds twice |
| 415 | - [MINOR] add options dontlog-normal and log-separate-errors |
| 416 | - [DOC] minor fixes and rearrangements |
| 417 | - [BUG] fix parser crash on unconditional tcp content rules |
| 418 | - [DOC] rearrange the configuration manual and add a summary |
| 419 | - [MINOR] standard: provide a new 'my_strndup' function |
| 420 | - [MINOR] implement per-logger log level limitation |
| 421 | - [MINOR] compute the max of sessions/s on fe/be/srv |
| 422 | - [MINOR] stats: report max sessions/s and limit in CSV export |
| 423 | - [MINOR] stats: report max sessions/s and limit in HTML stats |
| 424 | - [MINOR] stats/html: use the arial font before helvetica |
| 425 | |
Willy Tarreau | f459b42 | 2009-03-29 15:26:57 +0200 | [diff] [blame] | 426 | 2009/03/29 : 1.3.17 |
| 427 | - Update specfile to build for v2.6 kernel. |
| 428 | - [BUG] reset the stream_interface connect timeout upon connect or error |
| 429 | - [BUG] reject unix accepts when connection limit is reached |
| 430 | - [MINOR] show sess: report number of calls to each task |
| 431 | - [BUG] don't call epoll_ctl() on closed sockets |
| 432 | - [BUG] stream_sock: disable I/O on fds reporting an error |
| 433 | - [MINOR] sepoll: don't count two events on the same FD. |
| 434 | - [MINOR] show sess: report a lot more information about sessions |
| 435 | - [BUG] stream_sock: check for shut{r,w} before refreshing some timeouts |
| 436 | - [BUG] don't set an expiration date directly from now_ms |
| 437 | - [MINOR] implement ulltoh() to write HTML-formatted numbers |
| 438 | - [MINOR] stats/html: group digits by 3 to clarify numbers |
| 439 | - [BUILD] remove haproxy-small.spec |
| 440 | - [BUILD] makefile: remove unused references to linux24eold and EPOLL_CTL_WORKAROUND |
| 441 | |
Willy Tarreau | 8019ffa | 2009-03-22 23:46:12 +0100 | [diff] [blame] | 442 | 2009/03/22 : 1.3.16 |
| 443 | - [BUILD] Fixed Makefile for linking pcre |
| 444 | - [CONTRIB] selinux policy for haproxy |
| 445 | - [MINOR] show errors: encode backslash as well as non-ascii characters |
| 446 | - [MINOR] cfgparse: some cleanups in the consistency checks |
| 447 | - [MINOR] cfgparse: set backends to "balance roundrobin" by default |
| 448 | - [MINOR] tcp-inspect: permit the use of no-delay inspection |
| 449 | - [MEDIUM] reverse internal proxy declaration order to match configuration |
| 450 | - [CLEANUP] config: catch and report some possibly wrong rule ordering |
| 451 | - [BUG] connect timeout is in the stream interface, not the buffer |
| 452 | - [BUG] session: errors were not reported in termination flags in TCP mode |
| 453 | - [MINOR] tcp_request: let the caller take care of errors and timeouts |
| 454 | - [CLEANUP] http: remove some commented out obsolete code in process_response |
| 455 | - [MINOR] update ebtree to version 4.1 |
| 456 | - [MEDIUM] scheduler: get rid of the 4 trees thanks and use ebtree v4.1 |
| 457 | - [BUG] sched: don't leave 3 lasts tasks unprocessed when niced tasks are present |
| 458 | - [BUG] scheduler: fix improper handling of duplicates __task_queue() |
| 459 | - [MINOR] sched: permit a task to stay up between calls |
| 460 | - [MINOR] task: keep a task count and clean up task creators |
| 461 | - [MINOR] stats: report number of tasks (active and running) |
| 462 | - [BUG] server check intervals must not be null |
| 463 | - [OPTIM] stream_sock: don't retry to read after a large read |
| 464 | - [OPTIM] buffer: new BF_READ_DONTWAIT flag reduces EAGAIN rates |
| 465 | - [MEDIUM] session: don't resync FSMs on non-interesting changes |
| 466 | - [BUG] check for global.maxconn before doing accept() |
| 467 | - [OPTIM] sepoll: do not re-check whole list upon accepts |
| 468 | |
Willy Tarreau | 8185ced | 2009-03-09 22:45:53 +0100 | [diff] [blame] | 469 | 2009/03/09 : 1.3.16-rc2 |
| 470 | - [BUG] stream_sock: write timeout must be updated when forwarding ! |
| 471 | |
Willy Tarreau | ff63b43 | 2009-03-09 01:03:42 +0100 | [diff] [blame] | 472 | 2009/03/09 : 1.3.16-rc1 |
| 473 | - appsessions: cleanup DEBUG_HASH and initialize request_counter |
| 474 | - [MINOR] acl: add new keyword "connslots" |
| 475 | - [MINOR] cfgparse: fix off-by 2 in error message size |
| 476 | - [BUILD] fix build with gcc 4.3 |
| 477 | - [BUILD] fix MANDIR default location to match documentation |
| 478 | - [TESTS] add a debug patch to help trigger the stats bug |
| 479 | - [BUG] Flush buffers also where there are exactly 0 bytes left |
| 480 | - [MINOR] Allow to specify a domain for a cookie |
| 481 | - [BUG/CLEANUP] cookiedomain -> cookie_domain rename + free(p->cookie_domain) |
| 482 | - [MEDIUM] Fix memory freeing at exit |
| 483 | - [MEDIUM] Fix memory freeing at exit, part 2 |
| 484 | - [BUG] Fix listen & more of 2 couples <ip>:<port> |
| 485 | - [DOC] remove buggy comment for use_backend |
| 486 | - [CRITICAL] fix server state tracking: it was O(n!) instead of O(n) |
| 487 | - [MEDIUM] add support for URI hash depth and length limits |
| 488 | - [MINOR] permit renaming of x-forwarded-for header |
| 489 | - [BUILD] fix Makefile.bsd and Makefile.osx for stream_interface |
| 490 | - [BUILD] Haproxy won't compile if DEBUG_FULL is defined |
| 491 | - [MEDIUM] upgrade to ebtree v4.0 |
| 492 | - [DOC] update the README file with new build options |
| 493 | - [MEDIUM] reduce risk of event starvation in ev_sepoll |
| 494 | - [MEDIUM] detect streaming buffers and tag them as such |
| 495 | - [MEDIUM] add support for conditional HTTP redirection |
| 496 | - [BUILD] make install should depend on haproxy not "all" |
| 497 | - [DEBUG] add a TRACE macro to facilitate runtime data extraction |
| 498 | - [BUG] event pollers must not wait if a task exists in the run queue |
| 499 | - [BUG] queue management: wake oldest request in queues |
| 500 | - [BUG] log: reported queue position was offed-by-one |
| 501 | - [BUG] fix the dequeuing logic to ensure that all requests get served |
| 502 | - [DOC] documentation for the "retries" parameter was missing. |
| 503 | - [MEDIUM] implement a monotonic internal clock |
| 504 | - [MEDIUM] further improve monotonic clock by check forward jumps |
| 505 | - [OPTIM] add branch prediction hints in list manipulations |
| 506 | - [MAJOR] replace ultree with ebtree in wait-queues |
| 507 | - [BUG] we could segfault during exit while freeing uri_auths |
| 508 | - [BUG] wqueue: perform proper timeout comparisons with wrapping values |
| 509 | - [MINOR] introduce now_ms, the current date in milliseconds |
| 510 | - [BUG] disable buffer read timeout when reading stats |
| 511 | - [MEDIUM] rework the wait queue mechanism |
| 512 | - [BUILD] change declaration of base64tab to fix build with Intel C++ |
| 513 | - [OPTIM] shrink wake_expired_tasks() by using task_wakeup() |
| 514 | - [MAJOR] use an ebtree instead of a list for the run queue |
| 515 | - [MEDIUM] introduce task->nice and boot access to statistics |
| 516 | - [OPTIM] task_queue: assume most consecutive timers are equal |
| 517 | - [BUILD] silent a warning in unlikely() with gcc 4.x |
| 518 | - [MAJOR] convert all expiration timers from timeval to ticks |
| 519 | - [BUG] use_backend would not correctly consider "unless" |
| 520 | - [TESTS] added test-acl.cfg to test some ACL combinations |
| 521 | - [MEDIUM] add support for configuration keyword registration |
| 522 | - [MEDIUM] modularize the global "stats" keyword configuration parser |
| 523 | - [MINOR] cfgparse: add support for warnings in external functions |
| 524 | - [MEDIUM] modularize the "timeout" keyword configuration parser |
| 525 | - [MAJOR] implement tcp request content inspection |
| 526 | - [MINOR] acl: add a new parsing function: parse_dotted_ver |
| 527 | - [MINOR] acl: add req_ssl_ver in TCP, to match an SSL version |
| 528 | - [CLEANUP] remove unused include/types/client.h |
| 529 | - [CLEANUP] remove many #include <types/xxx> from C files |
| 530 | - [CLEANUP] remove dependency on obsolete INTBITS macro |
| 531 | - [DOC] document the new "tcp-request" keyword and associated ACLs |
| 532 | - [MINOR] acl: add REQ_CONTENT to the list of default acls |
| 533 | - [MEDIUM] acl: permit fetch() functions to set the result themselves |
| 534 | - [MEDIUM] acl: get rid of dummy values in always_true/always_false |
| 535 | - [MINOR] acl: add the "wait_end" acl verb |
| 536 | - [MEDIUM] acl: enforce ACL type checking |
| 537 | - [MEDIUM] acl: set types on all currently known ACL verbs |
| 538 | - [MEDIUM] acl: when possible, report the name and requirements of ACLs in warnings |
| 539 | - [CLEANUP] remove 65 useless NULL checks before free |
| 540 | - [MEDIUM] memory: update pool_free2() to support NULL pointers |
| 541 | - [MEDIUM] buffers: ensure buffer_shut* are properly called upon shutdowns |
| 542 | - [MEDIUM] process_srv: rely on buffer flags for client shutdown |
| 543 | - [MEDIUM] process_srv: don't rely at all on client state |
| 544 | - [MEDIUM] process_cli: don't rely at all on server state |
| 545 | - [BUG] fix segfault with url_param + check_post |
| 546 | - [BUG] server timeout was not considered in some circumstances |
| 547 | - [BUG] client timeout incorrectly rearmed while waiting for server |
| 548 | - [MAJOR] kill CL_STINSPECT and CL_STHEADERS (step 1) |
| 549 | - [MAJOR] get rid of SV_STANALYZE (step 2) |
| 550 | - [MEDIUM] simplify and centralize request timeout cancellation and request forwarding |
| 551 | - [MAJOR] completely separate HTTP and TCP states on the request path |
| 552 | - [BUG] fix recently introduced loop when client closes early |
| 553 | - [MAJOR] get rid of the SV_STHEADERS state |
| 554 | - [MAJOR] better separation of response processing and server state |
| 555 | - [MAJOR] clearly separate HTTP response processing from TCP server state |
| 556 | - [MEDIUM] remove unused references to {CL|SV}_STSHUT* |
| 557 | - [MINOR] term_trace: add better instrumentations to trace the code |
| 558 | - [BUG] ev_sepoll: closed file descriptors could persist in the spec list |
| 559 | - [BUG] process_response must not enable the read FD |
| 560 | - [BUG] buffers: remove BF_MAY_CONNECT and fix forwarding issue |
| 561 | - [BUG] process_response: do not touch srv_state |
| 562 | - [BUG] maintain_proxies must not disable backends |
| 563 | - [CLEANUP] get rid of BF_SHUT*_PENDING |
| 564 | - [MEDIUM] buffers: add BF_EMPTY and BF_FULL to remove dependency on req/rep->l |
| 565 | - [MAJOR] process_session: rely only on buffer flags |
| 566 | - [MEDIUM] use buffer->wex instead of buffer->cex for connect timeout |
| 567 | - [MEDIUM] centralize buffer timeout checks at the top of process_session |
| 568 | - [MINOR] ensure the termination flags are set by process_xxx |
| 569 | - [MEDIUM] session: move the analysis bit field to the buffer |
| 570 | - [OPTIM] process_cli/process_srv: reduce the number of tests |
| 571 | - [BUG] regparm is broken on gcc < 3 |
| 572 | - [BUILD] fix warning in proto_tcp.c with gcc >= 4 |
| 573 | - [MEDIUM] merge inspect_exp and txn->exp into request buffer |
| 574 | - [BUG] process_cli/process_srv: don't call shutdown when already done |
| 575 | - [BUG] process_request: HTTP body analysis must return zero if missing data |
| 576 | - [TESTS] test-fsm: 22 regression tests for state machines |
| 577 | - [BUG] Fix empty X-Forwarded-For header name when set in defaults section |
| 578 | - [BUG] fix harmless but wrong fd insertion sequence |
| 579 | - [MEDIUM] make it possible for analysers to follow the whole session |
| 580 | - [MAJOR] rework of the server FSM |
| 581 | - [OPTIM] remove useless fd_set(read) upon shutdown(write) |
| 582 | - [MEDIUM] massive cleanup of process_srv() |
| 583 | - [MEDIUM] second level of code cleanup for process_srv_data |
| 584 | - [MEDIUM] third cleanup and optimization of process_srv_data() |
| 585 | - [MEDIUM] process_srv_data: ensure that we always correctly re-arm timeouts |
| 586 | - [MEDIUM] stream_sock_process_data moved to stream_sock.c |
| 587 | - [MAJOR] make the client side use stream_sock_process_data() |
| 588 | - [MEDIUM] split stream_sock_process_data |
| 589 | - [OPTIM] stream_sock_read must check for null-reads more often |
| 590 | - [MINOR] only call flow analysers when their read side is connected. |
| 591 | - [MEDIUM] reintroduce BF_HIJACK with produce_content |
| 592 | - [MINOR] re-arrange buffer flags and rename some of them |
| 593 | - [MINOR] do not check for BF_SHUTR when computing write timeout |
| 594 | - [OPTIM] ev_sepoll: detect newly created FDs and check them once |
| 595 | - [OPTIM] reduce the number of calls to task_wakeup() |
| 596 | - [OPTIM] force inlining of large functions with gcc >= 3 |
| 597 | - [MEDIUM] indicate a reason for a task wakeup |
| 598 | - [MINOR] change type of fdtab[]->owner to void* |
| 599 | - [MAJOR] make stream sockets aware of the stream interface |
| 600 | - [MEDIUM] stream interface: add the ->shutw method as well as in and out buffers |
| 601 | - [MEDIUM] buffers: add BF_READ_ATTACHED and BF_ANA_TIMEOUT |
| 602 | - [MEDIUM] process_session: make use of the new buffer flags |
| 603 | - [CLEANUP] process_session: move debug outputs out of the critical loop |
| 604 | - [MEDIUM] move QUEUE and TAR timers to stream interfaces |
| 605 | - [OPTIM] add compiler hints in tick_is_expired() |
| 606 | - [MINOR] add buffer_check_timeouts() to check what timeouts have fired. |
| 607 | - [MEDIUM] use buffer_check_timeouts instead of stream_sock_check_timeouts() |
| 608 | - [MINOR] add an expiration flag to the stream_sock_interface |
| 609 | - [MAJOR] migrate the connection logic to stream interface |
| 610 | - [MAJOR] add a connection error state to the stream_interface |
| 611 | - [MEDIUM] add the SN_CURR_SESS flag to the session to track open sessions |
| 612 | - [MEDIUM] continue layering cleanups. |
| 613 | - [MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO |
| 614 | - [MEDIUM] remove stream_sock_update_data() |
| 615 | - [MINOR] maintain a global session list in order to ease debugging |
| 616 | - [BUG] shutw must imply close during a connect |
| 617 | - [MEDIUM] process shutw during connection attempt |
| 618 | - [MEDIUM] make the stream interface control the SHUT{R,W} bits |
| 619 | - [MAJOR] complete layer4/7 separation |
| 620 | - [CLEANUP] move the session-related functions to session.c |
| 621 | - [MINOR] call session->do_log() for logging |
| 622 | - [MINOR] replace the ambiguous client_return function by stream_int_return |
| 623 | - [MINOR] replace client_retnclose() with stream_int_retnclose() |
| 624 | - [MINOR] replace srv_close_with_err() with http_server_error() |
| 625 | - [MEDIUM] make the http server error function a pointer in the session |
| 626 | - [CLEANUP] session.c: removed some migration left-overs in sess_establish() |
| 627 | - [MINOR] stream_sock_data_finish() should not expose fd |
| 628 | - [MEDIUM] extract TCP request processing from HTTP |
| 629 | - [MEDIUM] extract the HTTP tarpit code from process_request(). |
| 630 | - [MEDIUM] move the HTTP request body analyser out of process_request(). |
| 631 | - [MEDIUM] rename process_request to http_process_request |
| 632 | - [BUG] fix forgotten server session counter |
| 633 | - [MINOR] declare process_session in session.h, not proto_http.h |
| 634 | - [MEDIUM] first pass of lifting to proto_uxst.c:uxst_event_accept() |
| 635 | - [MINOR] add an analyser code for UNIX stats request |
| 636 | - [MINOR] pre-set analyser flags on the listener at registration time |
| 637 | - [BUG] do not forward close from cons to prod with analysers |
| 638 | - [MEDIUM] ensure that sock->shutw() also closes read for init states |
| 639 | - [MINOR] add an analyser state in struct session |
| 640 | - [MAJOR] make unix sockets work again with stats |
| 641 | - [MEDIUM] remove cli_fd, srv_fd, cli_state and srv_state from the session |
| 642 | - [MINOR] move the listener reference from fd to session |
| 643 | - [MEDIUM] reference the current hijack function in the buffer itself |
| 644 | - [MINOR] slightly rebalance stats_dump_{raw,http} |
| 645 | - [MINOR] add a new back-reference type : struct bref |
| 646 | - [MINOR] add back-references to sessions for later use by a dumper. |
| 647 | - [MEDIUM] add support for "show sess" in unix stats socket |
| 648 | - [BUG] do not release the connection slot during a retry |
| 649 | - [BUG] dynamic connection throttling could return a max of zero conns |
| 650 | - [BUG] do not try to pause backends during reload |
| 651 | - [BUG] ensure that listeners from disabled proxies are correctly unbound. |
| 652 | - [BUG] acl-related keywords are not allowed in defaults sections |
| 653 | - [BUG] cookie capture is declared in the frontend but checked on the backend |
| 654 | - [BUG] critical errors should be reported even in daemon mode |
| 655 | - [MINOR] redirect: add support for the "drop-query" option |
| 656 | - [MINOR] redirect: add support for "set-cookie" and "clear-cookie" |
| 657 | - [MINOR] redirect: in prefix mode a "/" means not to change the URI |
| 658 | - [BUG] do not dequeue requests on a dead server |
| 659 | - [BUG] do not dequeue the backend's pending connections on a dead server |
| 660 | - [MINOR] stats: indicate if a task is running in "show sess" |
| 661 | - [BUG] check timeout must not be changed if timeout.check is not set |
| 662 | - [BUG] "option transparent" is for backend, not frontend ! |
| 663 | - [MINOR] transfer errors were not reported anymore in data phase |
| 664 | - [MEDIUM] add a send limit to a buffer |
| 665 | - [MEDIUM] don't report buffer timeout when there is I/O activity |
| 666 | - [MEDIUM] indicate when we don't care about read timeout |
| 667 | - [MINOR] add flags to indicate when a stream interface is waiting for space/data |
| 668 | - [MEDIUM] enable inter-stream_interface wakeup calls |
| 669 | - [MAJOR] implement autonomous inter-socket forwarding |
| 670 | - [MINOR] add the splice_len member to the buffer struct in preparation of splice support |
| 671 | - [MEDIUM] stream_sock: factor out the return path in case of no-writes |
| 672 | - [MEDIUM] i/o: rework ->to_forward and ->send_max |
| 673 | - [OPTIM] stream_sock: do not ask for polling on EAGAIN if we have read |
| 674 | - [OPTIM] buffer: replace rlim by max_len |
| 675 | - [OPTIM] stream_sock: factor out the buffer full handling out of the loop |
| 676 | - [CLEANUP] replace a few occurrences of (flags & X) && !(flags & Y) |
| 677 | - [CLEANUP] stream_sock: move the write-nothing condition out of the loop |
| 678 | - [MEDIUM] split stream_sock_write() into callback and core functions |
| 679 | - [MEDIUM] stream_sock_read: call ->chk_snd whenever there are data pending |
| 680 | - [MINOR] stream_sock: fix a few wrong empty calculations |
| 681 | - [MEDIUM] stream_sock: try to send pending data on chk_snd() |
| 682 | - [MINOR] global.maxpipes: add the ability to reserve file descriptors for pipes |
| 683 | - [MEDIUM] splice: add configuration options and set global.maxpipes |
| 684 | - [MINOR] introduce structures required to support Linux kernel splicing |
| 685 | - [MEDIUM] add definitions for Linux kernel splicing |
| 686 | - [MAJOR] complete support for linux 2.6 kernel splicing |
| 687 | - [BUG] reserve some pipes for backends with splice enabled |
| 688 | - [MEDIUM] splice: add hints to support older buggy kernels |
| 689 | - [MEDIUM] introduce pipe pools |
| 690 | - [MEDIUM] splice: make use of pipe pools |
| 691 | - [STATS] report pipe usage in the statistics |
| 692 | - [OPTIM] make global.maxpipes default to global.maxconn/4 when not specified |
| 693 | - [BUILD] fix snapshot date extraction with negative timezones |
| 694 | - [MEDIUM] move global tuning options to the global structure |
| 695 | - [MEDIUM] splice: add the global "nosplice" option |
| 696 | - [BUILD] add USE_LINUX_SPLICE to enable LINUX_SPLICE on linux 2.6 |
| 697 | - [BUG] we must not exit if protocol binding only returns a warning |
| 698 | - [MINOR] add support for bind interface name |
| 699 | - [BUG] inform the user when root is expected but not set |
| 700 | - [MEDIUM] add support for source interface binding |
| 701 | - [MEDIUM] add support for source interface binding at the server level |
| 702 | - [MEDIUM] implement bind-process to limit service presence by process |
| 703 | - [DOC] document maxpipes, nosplice, option splice-{auto,request,response} |
| 704 | - [DOC] filled the logging section of the configuration manual |
| 705 | - [DOC] document HTTP status codes |
| 706 | - [DOC] document a few missing info about errorfile |
| 707 | - [BUG] fix random memory corruption using "show sess" |
| 708 | - [BUG] fix unix socket processing of interrupted output |
| 709 | - [DOC] add diagrams of queuing and future ACL design |
| 710 | - [BUILD] proto_http did not build on gcc-2.95 |
| 711 | - [BUG] the "source" keyword must first clear optional settings |
| 712 | - [BUG] global.tune.maxaccept must be limited even in mono-process mode |
| 713 | - [MINOR] ensure that http_msg_analyzer updates pointer to invalid char |
| 714 | - [MEDIUM] store a complete dump of request and response errors in proxies |
| 715 | - [MEDIUM] implement error dump on unix socket with "show errors" |
| 716 | - [DOC] document "show errors" |
| 717 | - [MINOR] errors dump must use user-visible date, not internal date. |
| 718 | - [MINOR] time: add __usec_to_1024th to convert usecs to 1024th of second |
| 719 | - [MINOR] add curr_sec_ms and curr_sec_ms_scaled for current second. |
| 720 | - [MEDIUM] measure and report session rate on frontend, backends and servers |
| 721 | - [BUG] the "connslots" keyword was matched as "connlots" |
| 722 | - [MINOR] acl: add 2 new verbs: fe_sess_rate and be_sess_rate |
| 723 | - [MEDIUM] implement "rate-limit sessions" for the frontend |
| 724 | - [BUG] interface binding: length must include the trailing zero |
| 725 | - [BUG] typo in timeout error reporting : report *res and not *err |
| 726 | - [OPTIM] maintain_proxies: only wake up when the frontend will be ready |
| 727 | - [OPTIM] rate-limit: cleaner behaviour on low rates and reduce consumption |
| 728 | - [BUG] switch server-side stream interface to close in case of abort |
| 729 | - [CLEANUP] remove last references to term_trace |
| 730 | - [OPTIM] freq_ctr: do not rotate the counters when reading |
| 731 | - [BUG] disable any analysers for monitoring requests |
| 732 | - [BUG] rate-limit in defaults section was ignored |
| 733 | - [BUG] task: fix handling of duplicate keys |
| 734 | - [OPTIM] task: don't unlink a task from a wait queue when waking it up |
| 735 | - [OPTIM] displace tasks in the wait queue only if absolutely needed |
| 736 | - [MEDIUM] minor update to the task api: let the scheduler queue itself |
| 737 | - [BUG] event_accept() must always wake the task up, even in health mode |
| 738 | - [CLEANUP] task: distinguish between clock ticks and timers |
| 739 | - [OPTIM] task: reduce the number of calls to task_queue() |
| 740 | - [OPTIM] do not re-check req buffer when only response has changed |
| 741 | - [CLEANUP] don't enable kernel splicing when socket is closed |
| 742 | - [CLEANUP] buffer_flush() was misleading, rename it as buffer_erase |
| 743 | - [MINOR] buffers: implement buffer_flush() |
| 744 | - [MEDIUM] rearrange forwarding condition to enable splice during analysis |
| 745 | - [BUILD] build fixes for Solaris |
| 746 | - [BUILD] proto_http did not build on gcc-2.95 (again) |
| 747 | - [CONTRIB] halog: fast log parser for haproxy |
| 748 | - [CONTRIB] halog: faster fgets() and add support for percentile reporting |
| 749 | |
Willy Tarreau | 7b4c5ae | 2008-04-19 21:06:14 +0200 | [diff] [blame] | 750 | 2008/04/19 : 1.3.15 |
| 751 | - [BUILD] Added support for 'make install' |
| 752 | - [BUILD] Added 'install-man' make target for installing the man page |
| 753 | - [BUILD] Added 'install-bin' make target |
| 754 | - [BUILD] Added 'install-doc' make target |
| 755 | - [BUILD] Removed "/" after '$(DESTDIR)' in install targets |
| 756 | - [BUILD] Changed 'install' target to install the binaries first |
| 757 | - [BUILD] Replace hardcoded 'LD = gcc' with 'LD = $(CC)' |
| 758 | - [MEDIUM]: Inversion for options |
| 759 | - [MEDIUM]: Count retries and redispatches also for servers, fix redistribute_pending, extend logs, %d->%u cleanup |
| 760 | - [BUG]: Restore clearing t->logs.bytes |
| 761 | - [MEDIUM]: rework checks handling |
| 762 | - [DOC] Update a "contrib" file with a hint about a scheme used for formathing subjects |
| 763 | - [MEDIUM] Implement "track [<backend>/]<server>" |
| 764 | - [MINOR] Implement persistent id for proxies and servers |
| 765 | - [BUG] Don't increment server connections too much + fix retries |
| 766 | - [MEDIUM]: Prevent redispatcher from selecting the same server, version #3 |
| 767 | - [MAJOR] proto_uxst rework -> SNMP support |
| 768 | - [BUG] appsession lookup in URL does not work |
| 769 | - [BUG] transparent proxy address was ignored in backend |
| 770 | - [BUG] hot reconfiguration failed because of a wrong error check |
| 771 | - [DOC] big update to the configuration manual |
| 772 | - [DOC] large update to the configuration manual |
| 773 | - [DOC] document more options |
| 774 | - [BUILD] major rework of the GNU Makefile |
| 775 | - [STATS] add support for "show info" on the unix socket |
| 776 | - [DOC] document options forwardfor to logasap |
| 777 | - [MINOR] add support for the "backlog" parameter |
| 778 | - [OPTIM] introduce global parameter "tune.maxaccept" |
| 779 | - [MEDIUM] introduce "timeout http-request" in frontends |
| 780 | - [MINOR] tarpit timeout is also allowed in backends |
| 781 | - [BUG] increment server connections for each connect() |
| 782 | - [MEDIUM] add a turn-around state of one second after a connection failure |
| 783 | - [BUG] fix typo in redispatched connection |
| 784 | - [DOC] document options nolinger to ssl-hello-chk |
| 785 | - [DOC] added documentation for "option tcplog" to "use_backend" |
| 786 | - [BUG] connect_server: server might not exist when sending error report |
| 787 | - [MEDIUM] support fully transparent proxy on Linux (USE_LINUX_TPROXY) |
| 788 | - [MEDIUM] add non-local bind to connect() on Linux |
| 789 | - [MINOR] add transparent proxy support for balabit's Tproxy v4 |
| 790 | - [BUG] use backend's source and not server's source with tproxy |
| 791 | - [BUG] fix overlapping server flags |
| 792 | - [MEDIUM] fix server health checks source address selection |
| 793 | - [BUG] build failed on CONFIG_HAP_LINUX_TPROXY without CONFIG_HAP_CTTPROXY |
| 794 | - [DOC] added "server", "source" and "stats" keywords |
| 795 | - [DOC] all server parameters have been documented |
| 796 | - [DOC] document all req* and rsp* keywords. |
| 797 | - [DOC] added documentation about HTTP header manipulations |
| 798 | - [BUG] log response byte count, not request |
| 799 | - [BUILD] code did not build in full debug mode |
| 800 | - [BUG] fix truncated responses with sepoll |
| 801 | - [MINOR] use s->frt_addr as the server's address in transparent proxy |
| 802 | - [MINOR] fix configuration hint about timeouts |
| 803 | - [DOC] minor cleanup of the doc and notice to contributors |
| 804 | - [MINOR] report correct section type for unknown keywords. |
| 805 | - [BUILD] update MacOS Makefile to build on newer versions |
| 806 | - [DOC] fix erroneous "useallbackups" option in the doc |
| 807 | - [DOC] applied small fixes from early readers |
| 808 | - [MINOR] add configuration support for "redir" server keyword |
| 809 | - [MEDIUM] completely implement the server redirection method |
| 810 | - [TESTS] add a test case for the server redirection mechanism |
| 811 | - [DOC] add a configuration entry for "server ... redir <prefix>" |
| 812 | - [BUILD] backend.c and checks.c did not build without tproxy ! |
| 813 | - Revert "[BUILD] backend.c and checks.c did not build without tproxy !" |
| 814 | - [BUILD] backend.c and checks.c did not build without tproxy ! |
| 815 | - [OPTIM] used unsigned ints for HTTP state and message offsets |
| 816 | - [OPTIM] GCC4's builtin_expect() is suboptimal |
| 817 | - [BUG] failed conns were sometimes incremented in the frontend! |
| 818 | - [BUG] timeout.check was not pre-set to eternity |
| 819 | - [TESTS] add test-pollers.cfg to easily report pollers in use |
| 820 | - [BUG] do not apply timeout.connect in checks if unset |
| 821 | - [BUILD] ensure that makefile understands USE_DLMALLOC=1 |
| 822 | - [MINOR] silent gcc for a wrong warning |
| 823 | - [CLEANUP] update .gitignore to ignore more temporary files |
| 824 | - [CLEANUP] report dlmalloc's source path only if explictly specified |
| 825 | - [BUG] str2sun could leak a small buffer in case of error during parsing |
| 826 | - [BUG] option allbackups was not working anymore in roundrobin mode |
| 827 | - [MAJOR] implementation of the "leastconn" load balancing algorithm |
| 828 | - [BUILD] ensure that users don't build without setting the target anymore. |
| 829 | - [DOC] document the leastconn LB algo |
| 830 | - [MEDIUM] fix stats socket limitation to 16 kB |
| 831 | - [DOC] fix unescaped space in httpchk example. |
| 832 | - [BUG] fix double-decrement of server connections |
| 833 | - [TESTS] add a test case for port mapping |
| 834 | - [TESTS] add a benchmark for integer hashing |
| 835 | - [TESTS] add new methods in ip-hash test file |
| 836 | - [MAJOR] implement parameter hashing for POST requests |
| 837 | |
Willy Tarreau | e5b77e8 | 2007-12-06 01:25:44 +0100 | [diff] [blame] | 838 | 2007/12/06 : 1.3.14 |
| 839 | - New option http_proxy (Alexandre Cassen) |
| 840 | - add support for "maxqueue" to limit server queue overload (Elijah Epifanov) |
| 841 | - Check for duplicated conflicting proxies (Krzysztof Oledzki) |
| 842 | - stats: report server and backend cumulated downtime (Krzysztof Oledzki) |
| 843 | - use backends only with use_backend directive (Krzysztof Oledzki) |
| 844 | - Handle long lines properly (Krzysztof Oledzki) |
| 845 | - Implement and use generic findproxy and relax duplicated proxy check (Krzysztof Oledzki) |
| 846 | - continous statistics (Krzysztof Oledzki) |
| 847 | - add support for logging via a UNIX socket (Robert Tsai) |
| 848 | - fix error checking in strl2ic/strl2uic() |
| 849 | - fix calls to localtime() |
| 850 | - provide easier-to-use ultoa_* functions |
| 851 | - provide easy-to-use limit_r and LIM2A* macros |
| 852 | - add a simple test for the status page |
| 853 | - move error codes to common/errors.h |
| 854 | - silent warning about LIST_* being redefined on OpenBSD |
| 855 | - add socket address length to the protocols |
| 856 | - group PR_O_BALANCE_* bits into a checkable value |
| 857 | - externalize the "balance" option parser to backend.c |
| 858 | - introduce the "url_param" balance method |
| 859 | - make default_backend work in TCP mode too |
| 860 | - disable warning about localtime_r on Solaris |
| 861 | - adjust error messages about conflicting proxies |
| 862 | - avoid calling some layer7 functions if not needed |
| 863 | - simplify error path in event_accept() |
| 864 | - add an options field to the listeners |
| 865 | - added a new state to listeners |
| 866 | - unbind_listener() must use fd_delete() and not close() |
| 867 | - add a generic unbind_listener() primitive |
| 868 | - add a generic delete_listener() primitive |
| 869 | - add a generic unbind_all_listeners() primitive |
| 870 | - create proto_tcp and move initialization of proxy listeners |
| 871 | - stats: report numerical process ID, proxy ID and server ID |
| 872 | - relative_pid was not initialized |
| 873 | - missing header names in raw stats output |
| 874 | - fix missing parenthesis in check_response_for_cacheability |
| 875 | - small optimization on session_process_counters() |
| 876 | - merge ebtree version 3.0 |
| 877 | - make ebtree headers multiple-include compatible |
| 878 | - ebtree: include config.h for REGPRM* |
| 879 | - differentiate between generic LB params and map-specific ones |
| 880 | - add a weight divisor to the struct proxy |
| 881 | - implement the Fast Weighted Round Robin (FWRR) algo |
| 882 | - include filltab25.c to experiment on FWRR for dynamic weights |
| 883 | - merge test-fwrr.cfg to validate dynamic weights |
| 884 | - move the load balancing algorithm to be->lbprm.algo |
| 885 | - change server check result to a bit field |
| 886 | - implement "http-check disable-on-404" for graceful shutdown |
| 887 | - secure the calling conditions of ->set_server_status_{up,down} |
| 888 | - report disabled servers as "NOLB" when they are still UP |
| 889 | - document the "http-check disable-on-404" option |
| 890 | - http-check disable-on-404 is not limited to HTTP mode |
| 891 | - add a test file for disable-on-404 |
| 892 | - use distinct bits per load-balancing algorithm type |
| 893 | - implement the slowstart parameter for servers |
| 894 | - document the server's slowstart parameter |
| 895 | - stats: report the server warm up status in a "throttle" column |
| 896 | - fix 2 minor issues on AIX |
| 897 | - add the "nbsrv" ACL verb |
| 898 | - add the "fail" condition to monitor requests |
| 899 | - remove a warning from gcc due to htons() in standard.c |
| 900 | - fwrr: ensure that we never overflow in placements |
| 901 | - store the build options to report with -vv |
| 902 | - fix the status return of the init script (R.I. Pienaar) |
| 903 | - stats: real time monitoring script for unix socket (Prizee) |
| 904 | - document "nbsrv" and "monitor fail" |
| 905 | - restrict the set of allowed characters for identifiers |
| 906 | - implement a time parsing function |
| 907 | - add support for time units in the configuration |
| 908 | - add a bit of documentation about timers |
| 909 | - introduce separation between contimeout, and tarpit + queue |
| 910 | - introduce the "timeout" keyword |
| 911 | - grouped all timeouts in one structure |
| 912 | - slowstart is in ms, not seconds |
| 913 | - slowstart: ensure we don't start with a null weight |
| 914 | - report the number of times each server was selected |
| 915 | - fix build on AIX due to recent log changes |
| 916 | - fix build on Solaris due to recent log changes |
| 917 | |
Willy Tarreau | e855f42 | 2007-10-18 22:38:22 +0200 | [diff] [blame] | 918 | 2007/10/18 : 1.3.13 |
| 919 | - replace the code under O'Reilly license (Arnaud Cornet) |
| 920 | - add a small man page (Arnaud Cornet) |
| 921 | - stats: report haproxy's version by default (Krzysztof Oledzki) |
| 922 | - stats: count server retries and redispatches (Krzysztof Oledzki) |
| 923 | - core: added easy support for Doug Lea's malloc (dlmalloc) |
| 924 | - core: fade out memory usage when stopping proxies |
| 925 | - core: moved the sockaddr pointer to the fdtab structure |
| 926 | - core: add generic protocol support |
| 927 | - core: implement client-side support for PF_UNIX sockets |
| 928 | - stats: implement the CSV output |
| 929 | - stats: add a link to the CSV export HTML page |
| 930 | - stats: implement the statistics output on a unix socket |
| 931 | - config: introduce the "stats" keyword in global section |
| 932 | - build: centralize version and date into one file for each |
| 933 | - tests: added a new hash algorithm |
| 934 | |
| 935 | 2007/10/18 : 1.3.12.3 |
| 936 | - add the "nolinger" option to disable data lingering (Alexandre Cassen) |
| 937 | - fix double-free during clean exit (Krzysztof Oledzki) |
| 938 | - prevent the system from sending an RST when closing health-checks |
| 939 | (Krzysztof Oledzki) |
| 940 | - do not add a cache-control header when on non-cacheable responses |
| 941 | (Krzysztof Oledzki) |
| 942 | - spread health checks even more (Krzysztof Oledzki) |
| 943 | - stats: scope "." must match the backend and not the frontend |
| 944 | - fixed call to chroot() during startup |
| 945 | - fix wrong timeout computation in event_accept() |
| 946 | - remove condition for exit() under fork() failure |
| 947 | |
| 948 | 2007/09/20 : 1.3.12.2 |
| 949 | - fix configuration sanity checks for TCP listeners |
| 950 | - set the log socket receive window to zero bytes |
| 951 | - pre-initialize timeouts to infinity, not zero |
| 952 | - fix the SIGHUP message not to alert on server-less proxies |
| 953 | - timeouts and retries could be ignored when switching backend |
| 954 | - added a file to check that "retries" works. |
| 955 | - O'Reilly has clarified its license |
| 956 | |
| 957 | 2007/09/05 : 1.3.12.1 |
| 958 | - spec I/O: fix allocations of spec entries for an FD |
| 959 | - ensure we never overflow in chunk_printf() |
| 960 | - improve behaviour with large number of servers per proxy |
| 961 | - add support for "stats refresh <interval>" |
| 962 | - stats page: added links for 'refresh' and 'hide down' |
| 963 | - fix backend's weight in the stats page. |
| 964 | - the "stats" keyword is not allowed in a pure frontend. |
| 965 | - provide a test configuration file for stats and checks |
| 966 | |
Willy Tarreau | b21152b | 2007-06-17 23:41:40 +0200 | [diff] [blame] | 967 | 2007/06/17 : 1.3.12 |
| 968 | - fix segfault at exit when using captures |
| 969 | - bug: negation in ACL conds was not cleared between terms |
| 970 | - errorfile: use a local file to feed error messages |
| 971 | - acl: support '-i' to ignore case when matching |
| 972 | - acl: smarter integer comparison with operators eq,lt,gt,le,ge |
| 973 | - acl: support maching on 'path' component |
| 974 | - acl: implement matching on header values |
| 975 | - acl: distinguish between request and response headers |
| 976 | - acl: permit to return any header when no name specified |
| 977 | - acl: provide default ACLs |
| 978 | - added the 'use_backend' keyword for full content-switching |
| 979 | - acl: specify the direction during fetches |
| 980 | - acl: provide the argument length for fetch functions |
| 981 | - acl: provide a reference to the expr to fetch() |
| 982 | - improve memory freeing upon exit |
| 983 | - str2net() must not change the const char * |
| 984 | - shut warnings 'is*' macros from ctype.h on solaris |
| 985 | |
Willy Tarreau | a3503e0 | 2007-06-03 17:27:07 +0200 | [diff] [blame] | 986 | 2007/06/03 : 1.3.11.4 |
| 987 | - do not re-arm read timeout in SHUTR state ! |
| 988 | - optimize I/O by detecting system starvation |
| 989 | - the epoll FD must not be shared between processes |
| 990 | - limit the number of events returned by *poll* |
| 991 | |
Willy Tarreau | 3c6fc07 | 2007-05-14 14:40:25 +0200 | [diff] [blame] | 992 | 2007/05/14 : 1.3.11.3 |
| 993 | - pre-initialize timeouts with tv_eternity during parsing |
| 994 | |
Willy Tarreau | fc273c2 | 2007-05-14 03:42:47 +0200 | [diff] [blame] | 995 | 2007/05/14 : 1.3.11.2 |
| 996 | - fixed broken health-checks since switch to timeval |
| 997 | |
Willy Tarreau | 3c5340c | 2007-05-14 03:18:43 +0200 | [diff] [blame] | 998 | 2007/05/14 : 1.3.11.1 |
| 999 | - fixed ev_kqueue which was forgotten during the switch to timeval |
| 1000 | - allowed null timeouts for past events in select |
| 1001 | |
Willy Tarreau | 544eb40 | 2007-05-14 02:42:33 +0200 | [diff] [blame] | 1002 | 2007/05/14 : 1.3.11 |
| 1003 | - fixed ev_sepoll again by rewriting the state machine |
| 1004 | - switched all timeouts to timevals instead of milliseconds |
| 1005 | - improved memory management using mempools v2. |
| 1006 | - several minor optimizations |
| 1007 | |
Willy Tarreau | 9ca931f | 2007-05-10 07:51:17 +0200 | [diff] [blame] | 1008 | 2007/05/09 : 1.3.10.2 |
| 1009 | - fixed build on OpenBSD (missing types.h) |
| 1010 | |
Willy Tarreau | 13398d3 | 2007-05-09 22:58:28 +0200 | [diff] [blame] | 1011 | 2007/05/09 : 1.3.10.1 |
| 1012 | - fixed sepoll transition matrix (two states were missing) |
| 1013 | |
Willy Tarreau | 61beedf | 2007-05-09 01:44:58 +0200 | [diff] [blame] | 1014 | 2007/05/08 : 1.3.10 |
| 1015 | - several fixes in ev_sepoll |
| 1016 | - fixed some expiration dates on some tasks |
| 1017 | - fixed a bug in connection establishment detection due to speculative I/O |
| 1018 | - fixed rare bug occuring on TCP with early close (reported by Andy Smith) |
| 1019 | - implemented URI hashing algorithm (Guillaume Dallaire) |
| 1020 | - implemented SMTP health checks (Peter van Dijk) |
| 1021 | - replaced the rbtree with ul2tree from old scheduler project |
| 1022 | - new framework for generic ACL support |
| 1023 | - added the 'acl' and 'block' keywords to the config language |
| 1024 | - added several ACL criteria and matches (IP, port, URI, ...) |
| 1025 | - cleaned up and better modularization for some time functions |
| 1026 | - fixed list macros |
| 1027 | - fixed useless memory allocation in str2net() |
| 1028 | - store the original destination address in the session |
| 1029 | |
Willy Tarreau | 6e0433f | 2007-04-16 01:18:12 +0200 | [diff] [blame] | 1030 | 2007/04/15 : 1.3.9 |
| 1031 | - modularized the polling mechanisms and use function pointers instead |
| 1032 | of macros at many places |
| 1033 | - implemented support for FreeBSD's kqueue() polling mechanism |
| 1034 | - fixed a warning on OpenBSD : MIN/MAX redefined |
| 1035 | - change socket registration order at startup to accomodate kqueue. |
| 1036 | - several makefile cleanups to support old shells |
| 1037 | - fix build with limits.h once for all |
| 1038 | - ev_epoll: do not rely on fd_sets anymore, use changes stacks instead. |
| 1039 | - fdtab now holds the results of polling |
| 1040 | - implemented support for speculative I/O processing with epoll() |
| 1041 | - remove useless calls to shutdown(SHUT_RD), resulting in small speed boost |
| 1042 | - auto-registering of pollers at load time |
| 1043 | |
Willy Tarreau | 42c7659 | 2007-04-03 20:30:13 +0200 | [diff] [blame] | 1044 | 2007/04/03 : 1.3.8.2 |
| 1045 | - rewriting either the status line or request line could crash the |
| 1046 | process due to a pointer which ought to be reset before parsing. |
| 1047 | - rewriting the status line in the response did not work, it caused |
| 1048 | a 502 Bad Gateway due to an erroneous state during parsing |
| 1049 | |
Willy Tarreau | ef6d761 | 2007-04-01 11:06:22 +0200 | [diff] [blame] | 1050 | 2007/04/01 : 1.3.8.1 |
| 1051 | - fix reqadd when no option httpclose is used. |
| 1052 | - removed now unused fiprm and beprm from proxies |
| 1053 | - split logs into two versions : TCP and HTTP |
| 1054 | - added some docs about http headers storage and acls |
| 1055 | - added a VIM script for syntax color highlighting (Bruno Michel) |
| 1056 | |
Willy Tarreau | d661cc0 | 2007-03-26 00:24:56 +0200 | [diff] [blame] | 1057 | 2007/03/25 : 1.3.8 |
| 1058 | - fixed several bugs which might have caused a crash with bad configs |
| 1059 | - several optimizations in header processing |
| 1060 | - many progresses towards transaction-based processing |
| 1061 | - option forwardfor may be used in frontends |
| 1062 | - completed HTTP response processing |
| 1063 | - some code refactoring between request and response processing |
| 1064 | - new HTTP header manipulation functions |
| 1065 | - optimizations on the recv() patch to reduce CPU usage under very |
| 1066 | high data rates. |
| 1067 | - more user-friendly help about the 'usesrc' keyword (CTTPROXY) |
| 1068 | - username/groupname support from Marcus Rueckert |
| 1069 | - added the "except" keyword to the "forwardfor" option (Bryan German) |
| 1070 | - support for health-checks on other addresses (Fabrice Dulaunoy) |
| 1071 | - makefile for MacOS 10.4 / Darwin (Dan Zinngrabe) |
| 1072 | - do not insert "Connection: close" in HTTP/1.0 messages |
| 1073 | |
Willy Tarreau | 9cabf70 | 2007-01-26 23:49:01 +0100 | [diff] [blame] | 1074 | 2007/01/26 : 1.3.7 |
| 1075 | - fix critical bug introduced with 1.3.6 : an empty request header |
| 1076 | may lead to a crash due to missing pointer assignment |
| 1077 | - hdr_idx might be left uninitialized in debug mode |
| 1078 | - fixed build on FreeBSD due to missing fd_set declaration |
| 1079 | |
Willy Tarreau | e7a2438 | 2007-01-22 08:57:44 +0100 | [diff] [blame] | 1080 | 2007/01/22 : 1.3.6.1 |
| 1081 | - change in the header chaining broke cookies and authentication |
| 1082 | |
Willy Tarreau | 49e1ee8 | 2007-01-22 00:56:46 +0100 | [diff] [blame] | 1083 | 2007/01/22 : 1.3.6 |
| 1084 | - stats now support the HEAD method too |
| 1085 | - extracted http request from the session |
| 1086 | - huge rework of the HTTP parser which is now a 28-state FSM. |
| 1087 | - linux-style likely/unlikely macros for optimization hints |
| 1088 | - do not create a server socket when there's no server |
| 1089 | - imported lots of docs |
| 1090 | |
Willy Tarreau | 5871f8e | 2007-01-07 02:47:01 +0100 | [diff] [blame] | 1091 | 2007/01/07 : 1.3.5 |
| 1092 | - stats: swap color sets for active and backup servers |
| 1093 | - try to guess server check port when unset |
| 1094 | - added complete support and doc for TCP Splicing |
| 1095 | - replace the wait-queue linked list with an rbtree. |
| 1096 | - a few bugfixes and cleanups |
| 1097 | |
Willy Tarreau | 85270da | 2007-01-02 00:59:39 +0100 | [diff] [blame] | 1098 | 2007/01/02 : 1.3.4 |
| 1099 | - support for cttproxy on the server side to present the client |
| 1100 | address to the server. |
| 1101 | - added support for SO_REUSEPORT on Linux (needs kernel patch) |
| 1102 | - new RFC2616-compliant HTTP request parser with header indexing |
| 1103 | - split proxies in frontends, rulesets and backends |
| 1104 | - implemented the 'req[i]setbe' to select a backend depending |
| 1105 | on the contents |
| 1106 | - added the 'default_backend' keyword to select a default BE. |
| 1107 | - new stats page featuring FEs and BEs + bytes in both dirs |
| 1108 | - improved log format to indicate the backend and the time in ms. |
| 1109 | - lots of cleanups |
| 1110 | |
Willy Tarreau | 9c9fea4 | 2006-10-16 00:03:35 +0200 | [diff] [blame] | 1111 | 2006/10/15 : 1.3.3 |
| 1112 | - fix broken redispatch option in case the connection has already |
| 1113 | been marked "in progress" (ie: nearly always). |
| 1114 | - support regparm on x86 to speed up some often called functions |
| 1115 | - removed a few useless calls to gettimeofday() in log functions. |
| 1116 | - lots of 'const char*' cleanups |
| 1117 | - turn every FD_* into functions which are faster on recent CPUs |
| 1118 | |
Willy Tarreau | 690f9aa | 2006-09-03 11:23:06 +0200 | [diff] [blame] | 1119 | 2006/09/03 : 1.3.2 |
| 1120 | - started the changes towards I/O completion callbacks. stream_sock* have |
| 1121 | replaced event_*. |
| 1122 | - added the new "reqtarpit" and "reqitarpit" protection features |
| 1123 | |
Willy Tarreau | 8f2b855 | 2006-07-09 17:11:39 +0200 | [diff] [blame] | 1124 | 2006/07/09 : 1.3.1 (1.2.15) |
| 1125 | - now, haproxy warns about missing timeout during startup to try to |
| 1126 | eliminate all those buggy configurations. |
| 1127 | - added "Content-Type: text/html" in responses wherever appropriate, as |
| 1128 | suggested by Cameron Simpson. |
| 1129 | - implemented "option ssl-hello-chk" to use SSLv3 CLIENT HELLO messages to |
| 1130 | test server's health |
| 1131 | - implemented "monitor-uri" so that haproxy can reply to a specific URI with |
| 1132 | an "HTTP/1.0 200 OK" response. This is useful to validate multiple proxies |
| 1133 | at once. |
| 1134 | |
Willy Tarreau | b9e98b6 | 2006-07-03 10:32:46 +0200 | [diff] [blame] | 1135 | 2006/06/29 : 1.3.0 |
| 1136 | - exploded the whole file into multiple .c and .h. No functionnal |
Willy Tarreau | 8f2b855 | 2006-07-09 17:11:39 +0200 | [diff] [blame] | 1137 | difference is expected at all. |
| 1138 | - fixed a bug by which neither stats nor error messages could be returned if |
| 1139 | 'clitimeout' was missing. |
Willy Tarreau | b9e98b6 | 2006-07-03 10:32:46 +0200 | [diff] [blame] | 1140 | |
willy tarreau | 7e6328d | 2006-05-21 23:26:20 +0200 | [diff] [blame] | 1141 | 2006/05/21 : 1.2.14 |
| 1142 | - new HTML status report with the 'stats' keyword. |
| 1143 | - added the 'abortonclose' option to better resist traffic surges |
| 1144 | - implemented dynamic traffic regulation with the 'minconn' option |
| 1145 | - show request time on denied requests |
| 1146 | - definitely fixed hot reconf on OpenBSD by the use of SO_REUSEPORT |
| 1147 | - now a proxy instance is allowed to run without servers, which is |
| 1148 | useful to dedicate one instance to stats |
| 1149 | - added lots of error counters |
| 1150 | - a missing parenthesis preventd matching of cacheable cookies |
| 1151 | - a missing parenthesis in poll_loop() might have caused missed events. |
| 1152 | |
Willy TARREAU | 4404b7e | 2006-05-14 10:00:09 +0200 | [diff] [blame] | 1153 | 2006/05/14 : 1.2.13.1 |
| 1154 | - an uninitialized field in the struct session could cause a crash when |
| 1155 | the session was freed. This has been encountered on Solaris only. |
| 1156 | - Solaris and OpenBSD no not support shutdown() on listening socket. Let's |
| 1157 | be nice to them by performing a soft stop if pause fails. |
| 1158 | |
willy tarreau | c3a2e07 | 2006-05-13 18:51:38 +0200 | [diff] [blame] | 1159 | 2006/05/13 : 1.2.13 |
| 1160 | - 'maxconn' server parameter to do per-server session limitation |
| 1161 | - queueing to support non-blocking session limitation |
| 1162 | - fixed removal of cookies for cookie-less servers such as backup servers |
| 1163 | - two separate wait queues for expirable and non-expirable tasks provide |
| 1164 | better performance with lots of sessions. |
| 1165 | - some code cleanups and performance improvements |
| 1166 | - made state dumps a bit more verbose |
| 1167 | - fixed missing checks for NULL srv in dispatch mode |
| 1168 | - load balancing on backup servers was not possible in source hash mode. |
| 1169 | - two session flags shared the same bit, but fortunately they were not |
| 1170 | compatible. |
| 1171 | |
willy tarreau | c0d4bbd | 2006-04-15 21:47:50 +0200 | [diff] [blame] | 1172 | 2006/04/15 : 1.2.12 |
| 1173 | Very few changes preparing for more important changes to support per-server |
| 1174 | session limitations and queueing : |
| 1175 | - ignore leading empty lines in HTTP requests as suggested by RFC2616. |
| 1176 | - added the 'weight' parameter to the servers, limited to 1..256. It applies |
| 1177 | to roundrobin and source hash. |
| 1178 | - the optional '-s' option could clobber '-st' and '-sf' if compiled in. |
| 1179 | |
willy tarreau | e0dd269 | 2006-03-30 16:27:34 +0200 | [diff] [blame] | 1180 | 2006/03/30 : 1.2.11.1 |
| 1181 | - under some conditions, it might have been possible that when the |
| 1182 | last dead server became available, it would not have been used |
| 1183 | till another one would have changed state. Could not be reproduced |
| 1184 | at all, however seems possible from the code. |
| 1185 | |
willy tarreau | d2058dc | 2006-03-25 20:35:41 +0100 | [diff] [blame] | 1186 | 2006/03/25 : 1.2.11 |
| 1187 | - added the '-db' command-line option to disable backgrounding. |
| 1188 | - added the -sf/-st command-line arguments which are used to specify |
| 1189 | a list of pids to send a FINISH or TERMINATE signal upon startup. |
| 1190 | They will also be asked to release their port if a bind fails. |
| 1191 | - reworked the startup mechanism to allow the sending of a signal to a list |
| 1192 | of old pids if a socket cannot be bound, with a retry for a limited amount |
| 1193 | of time (1 second by default). |
| 1194 | - added the ability to enforce limits on memory usage. |
| 1195 | - added the 'source' load-balancing algorithm which uses the source IP(v4|v6) |
| 1196 | - re-architectured the server round-robin mechanism to ease integration of |
| 1197 | other algorithms. It now relies on the number of active and backup servers. |
| 1198 | - added a counter for the number of active and backup servers, and report |
| 1199 | these numbers upon SIGHUP or state change. |
| 1200 | |
willy tarreau | bfad574 | 2006-03-23 14:19:11 +0100 | [diff] [blame] | 1201 | 2006/03/23 : 1.2.10.1 |
| 1202 | - while fixing the backup server round-robin "feature", a new bug was |
| 1203 | introduced which could miss some backup servers. |
| 1204 | - the displayed proxy name was wrong when dumping upon SIGHUP. |
| 1205 | |
willy tarreau | aaff30e | 2006-03-19 21:30:41 +0100 | [diff] [blame] | 1206 | 2006/03/19 : 1.2.10 |
| 1207 | - assert.h is needed when DEBUG is defined. |
| 1208 | - ENORMOUS long standing bug affecting the epoll polling system : |
| 1209 | event_data is a union, not a structure ! |
| 1210 | - Make fd management more robust and easier to debug. Also some |
| 1211 | micro-optimisations. |
| 1212 | - Limit the number of consecutive accept() in multi-process mode. |
| 1213 | This produces a more evenly distributed load across the processes and |
| 1214 | slightly improves performance by reducing bottlenecks. |
| 1215 | - Make health-checks be more regular, and faster to retry after a timeout. |
| 1216 | - Fixed some messages to ease parsing of alerts. |
| 1217 | - provided a patch to enable epoll on RHEL3 kernels. |
| 1218 | - Separated OpenBSD build from the main Makefile into a new one. |
| 1219 | |
willy tarreau | 50be017 | 2006-03-15 19:41:19 +0100 | [diff] [blame] | 1220 | 2006/03/15 : 1.2.9 |
| 1221 | - haproxy could not be stopped after being paused, it had to be woken up |
| 1222 | first. This has been fixed. |
| 1223 | - the 'ulimit-n' parameter is now optional and by default computed from |
| 1224 | maxconn + the number of listeners + the number of health-checks. |
| 1225 | - it is now possible to specify a maximum number of connections at build |
| 1226 | time with the SYSTEM_MAXCONN define. The value set in the configuration |
| 1227 | file will then be limited to this value, and only the command-line '-n' |
| 1228 | option will be able to bypass it. It will prevent against accidental |
| 1229 | high memory usage on small systems. |
| 1230 | - RFC2616 expects that any HTTP agent accepts multi-line headers. Earlier |
| 1231 | versions did not detect a line beginning with a space as the continuation |
| 1232 | of previous header. It is now correct. |
| 1233 | - health checks sent to servers configured with identical intervals were |
| 1234 | sent in perfect synchronisation because the initial time was the same |
| 1235 | for all. This could induce high load peaks when fragile servers were |
| 1236 | hosting tens of instances for the same application. Now the load is |
| 1237 | spread evenly across the smallest interval amongst a listener. |
| 1238 | - a new 'forceclose' option was added to make the proxy close the outgoing |
| 1239 | channel to the server once it has sent all its headers and the server |
| 1240 | starts responding. This helps some servers which don't close upon the |
| 1241 | 'Connection: close' header. It implies 'option httpclose'. |
| 1242 | - there was a bug in the way the backup servers were handled. They were |
| 1243 | erroneously load-balanced while the doc said the opposite. Since |
| 1244 | load-balanced backup servers is one of the features some people have |
| 1245 | been asking for, the problem was fixed to reflect the documented |
| 1246 | behaviour and a new option 'allbackups' was introduced to provide the |
| 1247 | feature to those who need it. |
| 1248 | - a never ending connect() could lead to a fast select() loop if its |
| 1249 | timeout times the number of retransmits exceeded the server read or write |
| 1250 | timeout, because the later was used to compute select()'s timeout while |
| 1251 | the connection timeout was not reached. |
| 1252 | - now we initialize the libc's localtime structures very early so that even |
| 1253 | under OOM conditions, we can still send dated error messages without |
| 1254 | segfaulting. |
| 1255 | - the 'daemon' mode implies 'quiet' and disables 'verbose' because file |
| 1256 | descriptors are closed. |
| 1257 | |
willy tarreau | 065f1c0 | 2006-01-29 22:10:07 +0100 | [diff] [blame] | 1258 | 2006/01/29 : 1.2.8 |
| 1259 | - fixed a nasty bug affecting poll/epoll which could return unmodified data |
| 1260 | from the server to the client, and sometimes lead to memory corruption |
| 1261 | crashing the process. |
| 1262 | - added the new pause/play mechanism with SIGTTOU/SIGTTIN for hot-reconf. |
| 1263 | |
| 1264 | 2005/12/18 : 1.2.7.1 |
| 1265 | - the "retries" option was ignored because connect() could not return an |
| 1266 | error if the connection failed before the timeout. |
| 1267 | - TCP health-checks could not detect a connection refused in poll/epoll |
| 1268 | mode. |
| 1269 | |
willy tarreau | a56eca7 | 2005-12-18 01:34:42 +0100 | [diff] [blame] | 1270 | 2005/11/13 : 1.2.7 |
willy tarreau | 77bc854 | 2005-12-18 01:31:43 +0100 | [diff] [blame] | 1271 | - building with -DUSE_PCRE should include PCRE headers and not regex.h. At |
| 1272 | least on Solaris, this caused the libc's regex primitives to be used instead |
| 1273 | of PCRE, which caused trouble on group references. This is now fixed. |
willy tarreau | d0fb465 | 2005-12-18 01:32:04 +0100 | [diff] [blame] | 1274 | - delayed the quiet mode during startup so that most of the startup alerts can |
| 1275 | be displayed even in quiet mode. |
| 1276 | - display an alert when a listener has no address, invalid or no port, or when |
| 1277 | there are no enabled listeners upon startup. |
willy tarreau | 4373b96 | 2005-12-18 01:32:31 +0100 | [diff] [blame] | 1278 | - added "static-pcre" to the list of supported regex options in the Makefile. |
willy tarreau | 77bc854 | 2005-12-18 01:31:43 +0100 | [diff] [blame] | 1279 | |
willy tarreau | b952e1d | 2005-12-18 01:31:20 +0100 | [diff] [blame] | 1280 | 2005/10/09 : 1.2.7rc (1.1.33rc) |
| 1281 | - second batch of socklen_t changes. |
| 1282 | - clean-ups from Cameron Simpson. |
| 1283 | - because tv_remain() does not know about eternity, using no timeout can |
| 1284 | make select() spin around a null time-out. Bug reported by Cameron Simpson. |
| 1285 | - client read timeout was not properly set to eternity initialized after an |
| 1286 | accept() if it was not set in the config. It remained undetected so long |
| 1287 | because eternity is 0 and newly allocated pages are zeroed by the system. |
| 1288 | - do not call get_original_dst() when not in transparent mode. |
| 1289 | - implemented a workaround for a bug in certain epoll() implementations on |
| 1290 | linux-2.4 kernels (epoll-lt <= 0.21). |
| 1291 | - implemented TCP keepalive with new options : tcpka, clitcpka, srvtcpka. |
| 1292 | |
willy tarreau | c5f73ed | 2005-12-18 01:26:38 +0100 | [diff] [blame] | 1293 | 2005/08/07 : 1.2.6 |
| 1294 | - clean-up patch from Alexander Lazic fixes build on Debian 3.1 (socklen_t). |
| 1295 | |
| 1296 | 2005/07/06 : 1.2.6-pre5 (1.1.32) |
willy tarreau | 0fe3965 | 2005-12-18 01:25:24 +0100 | [diff] [blame] | 1297 | - added the number of active sessions (proxy/process) in the logs |
| 1298 | |
| 1299 | 2005/07/06 : 1.2.6-pre4 (1.1.32-pre4) |
willy tarreau | b1285d5 | 2005-12-18 01:20:14 +0100 | [diff] [blame] | 1300 | - the time-out fix introduced in 1.1.25 caused a corner case where it was |
| 1301 | possible for a client to keep a connection maintained regardless of the |
| 1302 | timeout if the server closed the connection during the HEADER phase, |
| 1303 | while the client ignored the close request while doing nothing in the |
| 1304 | other direction. This has been fixed now by ensuring that read timeouts |
| 1305 | are re-armed when switching to any SHUTW state. |
| 1306 | |
| 1307 | 2005/07/05 : 1.2.6-pre3 (1.1.32-pre3) |
| 1308 | - enhanced error reporting in the logs. Now the proxy will precisely detect |
| 1309 | various error conditions related to the system and/or process limits, and |
| 1310 | generate LOG_EMERG logs indicating that a resource has been exhausted. |
| 1311 | - logs will contain two new characters for the error cause : 'R' indicates |
| 1312 | a resource exhausted, and 'I' indicates an internal error, though this |
| 1313 | one should never happen. |
| 1314 | - server connection timeouts can now be reported in the logs (sC), as well |
| 1315 | as connections refused because of maxconn limitations (PC). |
| 1316 | |
| 1317 | 2005/07/05 : 1.2.6-pre2 (1.1.32-pre2) |
| 1318 | - new global configuration keyword "ulimit-n" may be used to raise the FD |
| 1319 | limit to usable values. |
| 1320 | - a warning is now displayed on startup if the FD limit is lower than the |
| 1321 | configured maximum number of sockets. |
| 1322 | |
| 1323 | 2005/07/05 : 1.2.6-pre1 (1.1.32-pre1) |
| 1324 | - new configuration keyword "monitor-net" makes it possible to be monitored |
| 1325 | by external devices which connect to the proxy without being logged nor |
| 1326 | forwarded to any server. Particularly useful on generic TCPv4 relays. |
| 1327 | |
willy tarreau | 5dffb60 | 2005-12-18 01:15:23 +0100 | [diff] [blame] | 1328 | 2005/06/21 : 1.2.5.2 |
| 1329 | - fixed build on PPC where chars are unsigned by default |
| 1330 | |
willy tarreau | 08dedbe | 2005-12-18 01:13:48 +0100 | [diff] [blame] | 1331 | 2005/05/02 : 1.2.5.1 |
| 1332 | - dirty hack to fix a bug introduced with epoll : if we close an FD and |
| 1333 | immediately reassign it to another session through a connect(), the |
| 1334 | Prev{Read,Write}Events are not updated, which causes trouble detecting |
| 1335 | changes, thus leading to many timeouts at high loads. |
| 1336 | |
willy tarreau | 64a3cc3 | 2005-12-18 01:13:11 +0100 | [diff] [blame] | 1337 | 2005/04/30 : 1.2.5 (1.1.31) |
| 1338 | - changed the runtime argument to disable epoll() to '-de' |
| 1339 | - changed the runtime argument to disable poll() to '-dp' |
| 1340 | - added global options 'nopoll' and 'noepoll' to do the same at the |
| 1341 | configuration level. |
| 1342 | - added a 'linux24e' target to the Makefile for Linux 2.4 systems patched to |
| 1343 | support epoll(). |
| 1344 | - changed default FD_SETSIZE to 65536 on Solaris (default=1024) |
| 1345 | - conditionned signals redirection to #ifdef DEBUG_MEMORY |
| 1346 | |
willy tarreau | 1c2ad21 | 2005-12-18 01:11:29 +0100 | [diff] [blame] | 1347 | 2005/04/26 : 1.2.5-pre4 |
| 1348 | - made epoll() support a compile-time option : ENABLE_EPOLL |
| 1349 | - provided a very little libc replacement for a possibly missing epoll() |
| 1350 | implementation which can be enabled by -DUSE_MY_EPOLL |
| 1351 | - implemented the poll() poller, which can be enabled with -DENABLE_POLL. |
| 1352 | The equivalent runtime argument becomes '-P'. A few tests show that it |
| 1353 | performs like select() with many fds, but slightly slower (certainly |
| 1354 | because of the higher amount of memory involved). |
| 1355 | - separated the 3 polling methods and the tasks scheduler into 4 distinct |
| 1356 | functions which makes the code a lot more modular. |
| 1357 | - moved some event tables to private static declarations inside the poller |
| 1358 | functions. |
| 1359 | - the poller functions can now initialize themselves, run, and cleanup. |
| 1360 | - changed the runtime argument to enable epoll() to '-E'. |
| 1361 | - removed buggy epoll_ctl() code in the client_retnclose() function. This |
| 1362 | function was never meant to remove anything. |
| 1363 | - fixed a typo which caused glibc to yell about a double free on exit. |
| 1364 | - removed error checking after epoll_ctl(DEL) because we can never know if |
| 1365 | the fd is still active or already closed. |
| 1366 | - added a few entries in the makefile |
| 1367 | |
willy tarreau | ad90a0c | 2005-12-18 01:09:15 +0100 | [diff] [blame] | 1368 | 2005/04/25 : 1.2.5-pre3 |
| 1369 | - experimental epoll() support (use temporary '-e' argument) |
| 1370 | |
| 1371 | 2005/04/24 : 1.2.5-pre2 |
willy tarreau | c1f4753 | 2005-12-18 01:08:26 +0100 | [diff] [blame] | 1372 | - implemented the HTTP 303 code for error redirection. This forces the |
| 1373 | browser to fetch the given URI with a GET request. The new keyword for |
| 1374 | this is 'errorloc303', and a new 'errorloc302' keyword has been created |
| 1375 | to make them easily distinguishable. |
| 1376 | - added more controls in the parser for valid use of '\x' sequence. |
| 1377 | - few fixes from Alex & Klaus |
| 1378 | |
willy tarreau | ad90a0c | 2005-12-18 01:09:15 +0100 | [diff] [blame] | 1379 | 2005/02/17 : 1.2.5-pre1 |
willy tarreau | c1f4753 | 2005-12-18 01:08:26 +0100 | [diff] [blame] | 1380 | - fixed a few errors in the documentation |
| 1381 | |
| 1382 | 2005/02/13 |
| 1383 | - do not pre-initialize unused file-descriptors before select() anymore. |
| 1384 | |
willy tarreau | 1235015 | 2005-12-18 01:03:27 +0100 | [diff] [blame] | 1385 | 2005/01/22 : 1.2.4 |
| 1386 | - merged Alexander Lazic's and Klaus Wagner's work on application |
| 1387 | cookie-based persistence. Since this is the first merge, this version is |
| 1388 | not intended for general use and reports are more than welcome. Some |
| 1389 | documentation is really needed though. |
| 1390 | |
willy tarreau | 0174f31 | 2005-12-18 01:02:42 +0100 | [diff] [blame] | 1391 | 2005/01/22 : 1.2.3 (1.1.30) |
| 1392 | - add an architecture guide to the documentation |
| 1393 | - released without any changes |
| 1394 | |
| 1395 | 2004/12/26 : 1.2.3-pre1 (1.1.30-pre1) |
| 1396 | - increased default BUFSIZE to 16 kB to accept max headers of 8 kB which is |
| 1397 | compatible with Apache. This limit can be configured in the makefile now. |
| 1398 | Thanks to Eric Fehr for the checks. |
| 1399 | - added a per-server "source" option which now makes it possible to bind to |
| 1400 | a different source for each (potentially identical) server. |
| 1401 | - changed cookie-based server selection slightly to allow several servers to |
| 1402 | share a same cookie, thus making it possible to associate backup servers to |
| 1403 | live servers and ease soft-stop for maintenance periods. (Alexander Lazic) |
| 1404 | - added the cookie 'prefix' mode which makes it possible to use persistence |
| 1405 | with thin clients which support only one cookie. The server name is prefixed |
| 1406 | before the application cookie, and restore back. |
| 1407 | - fixed the order of servers within an instance to match documentation. Now |
| 1408 | the servers are *really* used in the order of their declaration. This is |
| 1409 | particularly important when multiple backup servers are in use. |
| 1410 | |
willy tarreau | 4302f49 | 2005-12-18 01:00:37 +0100 | [diff] [blame] | 1411 | 2004/10/18 : 1.2.2 (1.1.29) |
| 1412 | - fixed a bug where a TCP connection would be logged twice if the 'logasap' |
| 1413 | option was enabled without the 'tcplog' option. |
| 1414 | - encode_string() would use hdr_encode_map instead of the map argument. |
| 1415 | |
| 1416 | 2004/08/10 : (1.1.29-pre2) |
| 1417 | - the logged request is now encoded with '#XX' for unprintable characters |
| 1418 | - new keywords 'capture request header' and 'capture response header' enable |
| 1419 | logging of arbitrary HTTP headers in requests and responses |
| 1420 | - removed "-DSOLARIS" after replacing the last inet_aton() with inet_pton() |
| 1421 | |
willy tarreau | 982249e | 2005-12-18 00:57:06 +0100 | [diff] [blame] | 1422 | 2004/06/06 : 1.2.1 (1.1.28) |
| 1423 | - added the '-V' command line option to verbosely report errors even though |
| 1424 | the -q or 'quiet' options are specified. This is useful with '-c'. |
| 1425 | - added a Red Hat init script and a .spec from Simon Matter <simon.matter@invoca.ch> |
willy tarreau | 036e1ce | 2005-12-17 13:46:33 +0100 | [diff] [blame] | 1426 | |
willy tarreau | 982249e | 2005-12-18 00:57:06 +0100 | [diff] [blame] | 1427 | 2004/06/05 : |
| 1428 | - added the "logasap" option which produces a log without waiting for the data |
| 1429 | to be transferred from the server to the client. |
| 1430 | - added the "httpclose" option which removes any "connection:" header and adds |
| 1431 | "Connection: close" in both direction. |
willy tarreau | 97f5857 | 2005-12-18 00:53:44 +0100 | [diff] [blame] | 1432 | - added the 'checkcache' option which blocks cacheable responses containing |
| 1433 | dangerous headers, such as 'set-cookie'. |
willy tarreau | 982249e | 2005-12-18 00:57:06 +0100 | [diff] [blame] | 1434 | - added 'rspdeny' and 'rspideny' to block certain responses to avoid sensible |
| 1435 | information leak from servers. |
willy tarreau | 25c4ea5 | 2005-12-18 00:49:49 +0100 | [diff] [blame] | 1436 | |
| 1437 | 2004/04/18 : |
willy tarreau | dd07e97 | 2005-12-18 00:48:48 +0100 | [diff] [blame] | 1438 | - send an EMERG log when no server is available for a given proxy |
| 1439 | - added the '-c' command line option to syntactically check the |
| 1440 | configuration file without starting the service. |
| 1441 | |
willy tarreau | 8a86dbf | 2005-12-18 00:45:59 +0100 | [diff] [blame] | 1442 | 2003/11/09 : 1.2.0 |
| 1443 | - the same as 1.1.27 + IPv6 support on the client side |
| 1444 | |
willy tarreau | fe2c5c1 | 2005-12-17 14:14:34 +0100 | [diff] [blame] | 1445 | 2003/10/27 : 1.1.27 |
| 1446 | - the configurable HTTP health check introduced in 1.1.23 revealed a shameful |
| 1447 | bug : the code still assumed that HTTP requests were the same size as the |
| 1448 | original ones (22 bytes), and failed if they were not. |
| 1449 | - added support for pidfiles. |
| 1450 | |
willy tarreau | c58fc69 | 2005-12-17 14:13:08 +0100 | [diff] [blame] | 1451 | 2003/10/22 : 1.1.26 |
| 1452 | - the fix introduced in 1.1.25 for client timeouts while waiting for servers |
| 1453 | broke almost all compatibility with POST requests, because the proxy |
| 1454 | stopped to read anything from the client as soon as it got all of its |
| 1455 | headers. |
| 1456 | |
willy tarreau | c1cae63 | 2005-12-17 14:12:23 +0100 | [diff] [blame] | 1457 | 2003/10/15 : 1.1.25 |
| 1458 | - added the 'tcplog' option, which provides enhanced, HTTP-like logs for |
| 1459 | generic TCP proxies, or lighter logs for HTTP proxies. |
| 1460 | - fixed a time-out condition wrongly reported as client time-out in data |
| 1461 | phase if the client timeout was lower than the connect timeout times the |
| 1462 | number of retries. |
| 1463 | |
willy tarreau | 197e8ec | 2005-12-17 14:10:59 +0100 | [diff] [blame] | 1464 | 2003/09/21 : 1.1.24 |
| 1465 | - if a client sent a full request then shut its write connection down, then |
| 1466 | the request was aborted. This case was detected only when using haproxy |
| 1467 | both as health-check client and as a server. |
| 1468 | - if 'option httpchk' is used in a 'health' mode server, then responses will |
| 1469 | change from 'OK' to 'HTTP/1.0 200 OK'. |
| 1470 | - fixed a Linux-only bug in case of HTTP server health-checks, where a single |
| 1471 | server response followed by a close could be ignored, and the server seen |
| 1472 | as failed. |
| 1473 | |
willy tarreau | eedaa9f | 2005-12-17 14:08:03 +0100 | [diff] [blame] | 1474 | 2003/09/19 : 1.1.23 |
| 1475 | - fixed a stupid bug introduced in 1.1.22 which caused second and subsequent |
| 1476 | 'default' sections to keep previous parameters, and not initialize logs |
| 1477 | correctly. |
| 1478 | - fixed a second stupid bug introduced in 1.1.22 which caused configurations |
| 1479 | relying on 'dispatch' mode to segfault at the first connection. |
| 1480 | - 'option httpchk' now supports method, HTTP version and a few headers. |
| 1481 | - now, 'option httpchk', 'cookie' and 'capture' can be specified in |
| 1482 | 'defaults' section |
| 1483 | |
| 1484 | 2003/09/10 : 1.1.22 |
willy tarreau | a41a8b4 | 2005-12-17 14:02:24 +0100 | [diff] [blame] | 1485 | - 'listen' now supports optionnal address:port-range lists |
| 1486 | - 'bind' introduced to add new listen addresses |
| 1487 | - fixed a bug which caused a session to be kept established on a server till |
| 1488 | it timed out if the client closed during the DATA phase. |
| 1489 | - the port part of each server address can now be empty to make the proxy |
| 1490 | connect to the server on the same port it was connected to, be an absolute |
| 1491 | unsigned number to reflect a single port (as in older versions), or an |
| 1492 | explicitly signed number (+N/-N) to indicate that this offset must be |
| 1493 | applied to the port the proxy was connected to, when connecting to the |
| 1494 | server. |
| 1495 | - the 'port' server option allows the user to specify a different |
| 1496 | health-check port than the service one. It is mandatory when only relative |
| 1497 | ports have been specified and check is required. By default, the checks are |
| 1498 | sent to the service port. |
| 1499 | - new 'defaults' section which is rather similar to 'listen' except that all |
| 1500 | values are only used as default values for future 'listen' sections, until |
| 1501 | a new 'defaults' resets them. At the moment, server options, regexes, |
| 1502 | cookie names and captures cannot be set in the 'defaults' section. |
| 1503 | |
willy tarreau | 2f6ba65 | 2005-12-17 13:57:42 +0100 | [diff] [blame] | 1504 | 2003/05/06 : 1.1.21 |
| 1505 | - changed the debug output format so that it now includes the session unique |
| 1506 | ID followed by the instance name at the beginning of each line. |
| 1507 | - in debug mode, accept now shows the client's IP and port. |
| 1508 | - added one 3 small debugging scripts to search and pretty print debug output |
| 1509 | - changed the default health check request to "OPTIONS /" instead of |
| 1510 | "OPTIONS *" since not all servers implement the later one. |
| 1511 | - "option httpchk" now accepts an optional parameter allowing the user to |
| 1512 | specify and URI other than '/' during health-checks. |
| 1513 | |
willy tarreau | b1ff9db | 2005-12-17 13:51:03 +0100 | [diff] [blame] | 1514 | 2003/04/21 : 1.1.20 |
| 1515 | - fixed two problems with time-outs, one where a server would be logged as |
| 1516 | timed out during transfer that take longer to complete than the fixed |
| 1517 | time-out, and one where clients were logged as timed-out during the data |
| 1518 | phase because they didn't have anything to send. This sometimes caused |
| 1519 | slow client connections to close too early while in fact there was no |
| 1520 | problem. The proper fix would be to have a per-fd time-out with |
| 1521 | conditions depending on the state of the HTTP FSM. |
| 1522 | |
willy tarreau | 906b268 | 2005-12-17 13:49:52 +0100 | [diff] [blame] | 1523 | 2003/04/16 : 1.1.19 |
| 1524 | - haproxy was NOT RFC compliant because it was case-sensitive on HTTP |
| 1525 | "Cookie:" and "Set-Cookie:" headers. This caused JVM 1.4 to fail on |
| 1526 | cookie persistence because it uses "cookie:". Two memcmp() have been |
| 1527 | replaced with strncasecmp(). |
| 1528 | |
willy tarreau | 036e1ce | 2005-12-17 13:46:33 +0100 | [diff] [blame] | 1529 | 2003/04/02 : 1.1.18 |
| 1530 | - Haproxy can be compiled with PCRE regex instead of libc regex, by setting |
| 1531 | REGEX=pcre on the make command line. |
| 1532 | - HTTP health-checks now use "OPTIONS *" instead of "OPTIONS /". |
| 1533 | - when explicit source address binding is required, it is now also used for |
| 1534 | health-checks. |
| 1535 | - added 'reqpass' and 'reqipass' to allow certain headers but not the request |
| 1536 | itself. |
| 1537 | - factored several strings to reduce binary size by about 2 kB. |
| 1538 | - replaced setreuid() and setregid() with more standard setuid() and setgid(). |
| 1539 | - added 4 status flags to the log line indicating who ended the connection |
| 1540 | first, the sessions state, the validity of the cookie, and action taken on |
| 1541 | the set-cookie header. |
| 1542 | |
| 1543 | 2002/10/18 : 1.1.17 |
| 1544 | - add the notion of "backup" servers, which are used only when all other |
| 1545 | servers are down. |
| 1546 | - make Set-Cookie return "" instead of "(null)" when the server has no |
| 1547 | cookie assigned (useful for backup servers). |
| 1548 | - "log" now supports an optionnal level name (info, notice, err ...) above |
| 1549 | which nothing is sent. |
| 1550 | - replaced some strncmp() with memcmp() for better efficiency. |
| 1551 | - added "capture cookie" option which logs client and/or server cookies |
| 1552 | - cleaned up/down messages and dump servers states upon SIGHUP |
| 1553 | - added a redirection feature for errors : "errorloc <errnum> <url>" |
| 1554 | - now we won't insist on connecting to a dead server, even with a cookie, |
| 1555 | unless option "persist" is specified. |
| 1556 | - added HTTP/408 response for client request time-out and HTTP/50[234] for |
| 1557 | server reply time-out or errors. |
| 1558 | |
| 1559 | 2002/09/01 : 1.1.16 |
| 1560 | - implement HTTP health checks when option "httpchk" is specified. |
| 1561 | |
| 1562 | 2002/08/07 : 1.1.15 |
| 1563 | - replaced setpgid()/setpgrp() with setsid() for better portability, because |
| 1564 | setpgrp() doesn't have the same meaning under Solaris, Linux, and OpenBSD. |
| 1565 | |
| 1566 | 2002/07/20 : 1.1.14 |
| 1567 | - added "postonly" cookie mode |
| 1568 | |
| 1569 | 2002/07/15 : 1.1.13 |
| 1570 | - tv_diff used inverted parameters which led to negative times ! |
| 1571 | |
| 1572 | 2002/07/13 : 1.1.12 |
| 1573 | - fixed stats monitoring, and optimized some tv_* for most common cases. |
| 1574 | - replaced temporary 'newhdr' with 'trash' to reduce stack size |
| 1575 | - made HTTP errors more HTML-fiendly. |
| 1576 | - renamed strlcpy() to strlcpy2() because of a slightly difference between |
| 1577 | their behaviour (return value), to avoid confusion. |
| 1578 | - restricted HTTP messages to HTTP proxies only |
| 1579 | - added a 502 message when the connection has been refused by the server, |
| 1580 | to prevent clients from believing this is a zero-byte HTTP 0.9 reply. |
| 1581 | - changed 'Cache-control:' from 'no-cache="set-cookie"' to 'private' when |
| 1582 | inserting a cookie, because some caches (apache) don't understand it. |
| 1583 | - fixed processing of server headers when client is in SHUTR state |
| 1584 | |
| 1585 | 2002/07/04 : |
| 1586 | - automatically close fd's 0,1 and 2 when going daemon ; setpgrp() after |
| 1587 | setpgid() |
| 1588 | |
| 1589 | 2002/06/04 : 1.1.11 |
| 1590 | - fixed multi-cookie handling in client request to allow clean deletion |
| 1591 | in insert+indirect mode. Now, only the server cookie is deleted and not |
willy tarreau | 906b268 | 2005-12-17 13:49:52 +0100 | [diff] [blame] | 1592 | all the header. Should now be compliant to RFC2965. |
willy tarreau | 036e1ce | 2005-12-17 13:46:33 +0100 | [diff] [blame] | 1593 | - added a "nocache" option to "cookie" to specify that we explicitly want |
| 1594 | to add a "cache-control" header when we add a cookie. |
| 1595 | It is also possible to add an "Expires: <old-date>" to keep compatibility |
| 1596 | with old/broken caches. |
| 1597 | |
| 1598 | 2002/05/10 : 1.1.10 |
| 1599 | - if a cookie is used in insert+indirect mode, it's desirable that the |
| 1600 | the servers don't see it. It was not possible to remove it correctly |
| 1601 | with regexps, so now it's removed automatically. |
| 1602 | |
| 1603 | 2002/04/19 : 1.1.9 |
| 1604 | - don't use snprintf()'s return value as an end of message since it may |
| 1605 | be larger. This caused bus errors and segfaults in internal libc's |
| 1606 | getenv() during localtime() in send_log(). |
| 1607 | - removed dead insecure send_syslog() function and all references to it. |
| 1608 | - fixed warnings on Solaris due to buggy implementation of isXXXX(). |
| 1609 | |
| 1610 | 2002/04/18 : 1.1.8 |
| 1611 | - option "dontlognull" |
| 1612 | - fixed "double space" bug in config parser |
| 1613 | - fixed an uninitialized server field in case of dispatch |
| 1614 | with no existing server which could cause a segfault during |
| 1615 | logging. |
| 1616 | - the pid logged was always the father's, which was wrong for daemons. |
| 1617 | - fixed wrong level "LOG_INFO" for message "proxy started". |
| 1618 | |
| 1619 | 2002/04/13 : |
| 1620 | - http logging is now complete : |
| 1621 | - ip:port, date, proxy, server |
| 1622 | - req_time, conn_time, hdr_time, tot_time |
| 1623 | - status, size, request |
| 1624 | - source address |
| 1625 | |
| 1626 | 2002/04/12 : 1.1.7 |
| 1627 | - added option forwardfor |
| 1628 | - added reqirep, reqidel, reqiallow, reqideny, rspirep, rspidel |
| 1629 | - added "log global" in "listen" section. |
| 1630 | |
| 1631 | 2002/04/09 : |
| 1632 | - added a new "global" section : |
| 1633 | - logs |
| 1634 | - debug, quiet, daemon modes |
| 1635 | - uid, gid, chroot, nbproc, maxconn |
| 1636 | |
| 1637 | 2002/04/08 : 1.1.6 |
| 1638 | - regex are now chained and not limited anymore. |
| 1639 | - unavailable server now returns HTTP/502. |
| 1640 | - increased per-line args limit to 40 |
| 1641 | - added reqallow/reqdeny to block some request on matches |
| 1642 | - added HTTP 400/403 responses |
| 1643 | |
| 1644 | 2002/04/03 : 1.1.5 |
| 1645 | - connection logging displayed incorrect source address. |
| 1646 | - added proxy start/stop and server up/down log events. |
| 1647 | - replaced log message short buffers with larger trash. |
| 1648 | - enlarged buffer to 8 kB and replace buffer to 4 kB. |
| 1649 | |
| 1650 | 2002/03/25 : 1.1.4 |
| 1651 | - made rise/fall/interval time configurable |
| 1652 | |
| 1653 | 2002/03/22 : 1.1.3 |
| 1654 | - fixed a bug : cr_expire and cw_expire were inverted in CL_STSHUT[WR] |
| 1655 | which could lead to loops. |
| 1656 | |
| 1657 | 2002/03/21 : 1.1.2 |
| 1658 | - fixed a bug in buffer management where we could have a loop |
| 1659 | between event_read() and process_{cli|srv} if R==BUFSIZE-MAXREWRITE. |
| 1660 | => implemented an adjustable buffer limit. |
| 1661 | - fixed a bug : expiration of tasks in wait queue timeout is used again, |
| 1662 | and running tasks are skipped. |
| 1663 | - added some debug lines for accept events. |
| 1664 | - send warnings for servers up/down. |
| 1665 | |
| 1666 | 2002/03/12 : 1.1.1 |
| 1667 | - fixed a bug in total failure handling |
| 1668 | - fixed a bug in timestamp comparison within same second (tv_cmp_ms) |
| 1669 | |
| 1670 | 2002/03/10 : 1.1.0 |
| 1671 | - fixed a few timeout bugs |
| 1672 | - rearranged the task scheduler subsystem to improve performance, |
| 1673 | add new tasks, and make it easier to later port to librt ; |
| 1674 | - allow multiple accept() for one select() wake up ; |
| 1675 | - implemented internal load balancing with basic health-check ; |
| 1676 | - cookie insertion and header add/replace/delete, with better strings |
| 1677 | support. |
| 1678 | |
| 1679 | 2002/03/08 |
| 1680 | - reworked buffer handling to fix a few rewrite bugs, and |
| 1681 | improve overall performance. |
| 1682 | - implement the "purge" option to delete server cookies in direct mode. |
| 1683 | |
| 1684 | 2002/03/07 |
| 1685 | - fixed some error cases where the maxfd was not decreased. |
| 1686 | |
| 1687 | 2002/02/26 |
| 1688 | - now supports transparent proxying, at least on linux 2.4. |
| 1689 | |
| 1690 | 2002/02/12 |
| 1691 | - soft stop works again (fixed select timeout computation). |
| 1692 | - it seems that TCP proxies sometimes cannot timeout. |
| 1693 | - added a "quiet" mode. |
| 1694 | - enforce file descriptor limitation on socket() and accept(). |
| 1695 | |
| 1696 | 2001/12/30 : release of version 1.0.2 : fixed a bug in header processing |
| 1697 | 2001/12/19 : release of version 1.0.1 : no MSG_NOSIGNAL on solaris |
| 1698 | 2001/12/16 : release of version 1.0.0. |
| 1699 | 2001/12/16 : added syslog capability for each accepted connection. |
| 1700 | 2001/11/19 : corrected premature end of files and occasional SIGPIPE. |
| 1701 | 2001/10/31 : added health-check type servers (mode health) which replies OK then closes. |
| 1702 | 2001/10/30 : added the ability to support standard TCP proxies and HTTP proxies |
| 1703 | with or without cookies (use keyword http for this). |
| 1704 | 2001/09/01 : added client/server header replacing with regexps. |
| 1705 | eg: |
| 1706 | cliexp ^(Host:\ [^:]*).* Host:\ \1:80 |
| 1707 | srvexp ^Server:\ .* Server:\ Apache |
| 1708 | 2000/11/29 : first fully working release with complete FSMs and timeouts. |
| 1709 | 2000/11/28 : major rewrite |
| 1710 | 2000/11/26 : first write |