libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit e2b97b7e9c8577a58e22432529d935f189f51c02
parent 92b638cf8467f90b6e345046bedd627bf00b8707
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 23 Nov 2010 08:50:45 +0000

release, testcase clean up

Diffstat:
MChangeLog | 3+++
Mconfigure.ac | 8++++----
Msrc/include/microhttpd.h | 2+-
Msrc/testcurl/daemontest_get_sendfile.c | 7++++++-
Msrc/testcurl/https/mhds_get_test.c | 2--
Msrc/testcurl/https/mhds_get_test_select.c | 2--
Msrc/testcurl/https/tls_test_common.h | 4++++
7 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Tue Nov 23 09:41:00 CET 2010 + Releasing libmicrohttpd 0.9.3. -CG + Thu Nov 18 23:10:36 CET 2010 Fixing #1619 (testcases not working with NSS on Fedora). -CG/timn diff --git a/configure.ac b/configure.ac @@ -21,15 +21,15 @@ # # AC_PREREQ(2.57) -AC_INIT([libmicrohttpd], [0.9.2],[libmicrohttpd@gnu.org]) -AM_INIT_AUTOMAKE([libmicrohttpd], [0.9.2]) +AC_INIT([libmicrohttpd], [0.9.3],[libmicrohttpd@gnu.org]) +AM_INIT_AUTOMAKE([libmicrohttpd], [0.9.3]) AM_CONFIG_HEADER([MHD_config.h]) AC_CONFIG_MACRO_DIR([m4]) AH_TOP([#define _GNU_SOURCE 1]) -LIB_VERSION_CURRENT=10 +LIB_VERSION_CURRENT=11 LIB_VERSION_REVISION=0 -LIB_VERSION_AGE=0 +LIB_VERSION_AGE=1 AC_SUBST(LIB_VERSION_CURRENT) AC_SUBST(LIB_VERSION_REVISION) AC_SUBST(LIB_VERSION_AGE) diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -106,7 +106,7 @@ extern "C" /** * Current version of the library. */ -#define MHD_VERSION 0x00090203 +#define MHD_VERSION 0x00090300 /** * MHD-internal return code for "YES". diff --git a/src/testcurl/daemontest_get_sendfile.c b/src/testcurl/daemontest_get_sendfile.c @@ -89,7 +89,12 @@ ahc_echo (void *cls, *unused = NULL; fd = open ("daemontest_get_sendfile.c", O_RDONLY); if (fd == -1) - abort (); + { + fprintf (stderr, "Failed to open `%s': %s\n", + "daemontest_get_sendfile.c", + STRERROR (errno)); + exit (1); + } response = MHD_create_response_from_fd (strlen (TESTSTR), fd); ret = MHD_queue_response (connection, MHD_HTTP_OK, response); MHD_destroy_response (response); diff --git a/src/testcurl/https/mhds_get_test.c b/src/testcurl/https/mhds_get_test.c @@ -32,8 +32,6 @@ #include <gcrypt.h> #include "tls_test_common.h" -int curl_check_version (const char *req_version, ...); -int curl_uses_nss_ssl (); extern const char srv_key_pem[]; extern const char srv_self_signed_cert_pem[]; extern const char srv_signed_cert_pem[]; diff --git a/src/testcurl/https/mhds_get_test_select.c b/src/testcurl/https/mhds_get_test_select.c @@ -32,8 +32,6 @@ #include <gcrypt.h> #include "tls_test_common.h" -int curl_check_version (const char *req_version, ...); -int curl_uses_nss_ssl (); extern const char srv_key_pem[]; extern const char srv_self_signed_cert_pem[]; extern const char srv_signed_cert_pem[]; diff --git a/src/testcurl/https/tls_test_common.h b/src/testcurl/https/tls_test_common.h @@ -69,6 +69,10 @@ struct CipherDef }; +int curl_check_version (const char *req_version, ...); +int curl_uses_nss_ssl (); + + FILE * setup_ca_cert ();