mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 12:30:07 +00:00
fba74ea7b0
Released version 2.0-dev0 with the following main changes : - BUG/MAJOR: connections: Close the connection before freeing it. - REGTEST: Require the option LUA to run lua tests - REGTEST: script: Process script arguments before everything else - REGTEST: script: Evaluate the varnishtest command to allow quoted parameters - REGTEST: script: Add the option --clean to remove previous log direcotries - REGTEST: script: Add the option --debug to show logs on standard ouput - REGTEST: script: Add the option --keep-logs to keep all log directories - REGTEST: script: Add the option --use-htx to enable the HTX in regtests - REGTEST: script: Print only errors in the results report - REGTEST: Add option to use HTX prefixed by the macro 'no-htx' - REGTEST: Make reg-tests target support argument. - REGTEST: Fix a typo about barrier type. - REGTEST: Be less Linux specific with a syslog regex. - REGTEST: Missing enclosing quotes for ${tmpdir} macro. - REGTEST: Exclude freebsd target for some reg tests. - BUG/MEDIUM: h2: Don't forget to quit the sending_list if SUB_CALL_UNSUBSCRIBE. - BUG/MEDIUM: mux-h2: Don't forget to quit the send list on error reports - BUG/MEDIUM: dns: Don't prevent reading the last byte of the payload in dns_validate_response() - BUG/MEDIUM: dns: overflowed dns name start position causing invalid dns error - BUG/MINOR: compression/htx: Don't compress responses with unknown body length - BUG/MINOR: compression/htx: Don't add the last block of data if it is empty - MEDIUM: mux_h1: Implement h1_show_fd. - REGTEST: script: Add support of alternatives in requited options list - REGTEST: Add a basic test for the compression - BUG/MEDIUM: mux-h2: don't needlessly wake up the demux on short frames - REGTEST: A basic test for "http-buffer-request" - BUG/MEDIUM: server: Also copy "check-sni" for server templates. - MINOR: ssl: Add ssl_sock_set_alpn(). - MEDIUM: checks: Add check-alpn.
71 lines
1.8 KiB
C
71 lines
1.8 KiB
C
/*
|
|
* include/common/version.h
|
|
* This file serves as a template for future include files.
|
|
*
|
|
* Copyright (C) 2000-2010 Willy Tarreau - w@1wt.eu
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation, version 2.1
|
|
* exclusively.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef _COMMON_VERSION_H
|
|
#define _COMMON_VERSION_H
|
|
|
|
#include <common/config.h>
|
|
|
|
#ifdef CONFIG_PRODUCT_NAME
|
|
#define PRODUCT_NAME CONFIG_PRODUCT_NAME
|
|
#else
|
|
#define PRODUCT_NAME "HAProxy"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_BRANCH
|
|
#define PRODUCT_BRANCH CONFIG_PRODUCT_BRANCH
|
|
#else
|
|
#define PRODUCT_BRANCH "2.0"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_URL
|
|
#define PRODUCT_URL CONFIG_PRODUCT_URL
|
|
#else
|
|
#define PRODUCT_URL "http://www.haproxy.org/"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_URL_UPD
|
|
#define PRODUCT_URL_UPD CONFIG_PRODUCT_URL_UPD
|
|
#else
|
|
#define PRODUCT_URL_UPD "http://www.haproxy.org/#down"
|
|
#endif
|
|
|
|
#ifdef CONFIG_PRODUCT_URL_DOC
|
|
#define PRODUCT_URL_DOC CONFIG_PRODUCT_URL_DOC
|
|
#else
|
|
#define PRODUCT_URL_DOC "http://www.haproxy.org/#docs"
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAPROXY_VERSION
|
|
#define HAPROXY_VERSION CONFIG_HAPROXY_VERSION
|
|
#else
|
|
#error "Must define CONFIG_HAPROXY_VERSION"
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAPROXY_DATE
|
|
#define HAPROXY_DATE CONFIG_HAPROXY_DATE
|
|
#else
|
|
#error "Must define CONFIG_HAPROXY_DATE"
|
|
#endif
|
|
|
|
#endif /* _COMMON_VERSION_H */
|
|
|