commit aa8f99d22eb51f0a662d6fcba926fcf6b9e994b1
parent 77826187692f84b2fd9c85c42d2e8fe49935a681
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 19 Jun 2012 17:53:06 +0000
-use lower port numbers with smaller conflict potential for ssl tests
Diffstat:
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/testcurl/daemon_options_test.c b/src/testcurl/daemon_options_test.c
@@ -79,12 +79,12 @@ test_ip_addr_option ()
memset (&daemon_ip_addr, 0, sizeof (struct sockaddr_in));
daemon_ip_addr.sin_family = AF_INET;
- daemon_ip_addr.sin_port = htons (42433);
+ daemon_ip_addr.sin_port = htons (4233);
#if HAVE_INET6
memset (&daemon_ip_addr6, 0, sizeof (struct sockaddr_in6));
daemon_ip_addr6.sin6_family = AF_INET6;
- daemon_ip_addr6.sin6_port = htons (42433);
+ daemon_ip_addr6.sin6_port = htons (4233);
#endif
inet_pton (AF_INET, "127.0.0.1", &daemon_ip_addr.sin_addr);
@@ -92,7 +92,7 @@ test_ip_addr_option ()
inet_pton (AF_INET6, "::ffff:127.0.0.1", &daemon_ip_addr6.sin6_addr);
#endif
- d = MHD_start_daemon (MHD_USE_DEBUG, 42433,
+ d = MHD_start_daemon (MHD_USE_DEBUG, 4233,
NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR,
&daemon_ip_addr, MHD_OPTION_END);
@@ -102,7 +102,7 @@ test_ip_addr_option ()
MHD_stop_daemon (d);
#if HAVE_INET6
- d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_IPv6, 42433,
+ d = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_IPv6, 4233,
NULL, NULL, &ahc_echo, NULL, MHD_OPTION_SOCK_ADDR,
&daemon_ip_addr6, MHD_OPTION_END);
diff --git a/src/testcurl/https/mhds_get_test.c b/src/testcurl/https/mhds_get_test.c
@@ -44,7 +44,7 @@ test_cipher_option (FILE * test_fd, char *cipher_suite, int proto_version)
int ret;
struct MHD_Daemon *d;
d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL |
- MHD_USE_DEBUG, 42433,
+ MHD_USE_DEBUG, 4233,
NULL, NULL, &http_ahc, NULL,
MHD_OPTION_HTTPS_MEM_KEY, srv_key_pem,
MHD_OPTION_HTTPS_MEM_CERT, srv_self_signed_cert_pem,
@@ -70,7 +70,7 @@ test_secure_get (FILE * test_fd, char *cipher_suite, int proto_version)
struct MHD_Daemon *d;
d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL |
- MHD_USE_DEBUG, 42433,
+ MHD_USE_DEBUG, 4233,
NULL, NULL, &http_ahc, NULL,
MHD_OPTION_HTTPS_MEM_KEY, srv_signed_key_pem,
MHD_OPTION_HTTPS_MEM_CERT, srv_signed_cert_pem,
diff --git a/src/testcurl/https/tls_test_common.h b/src/testcurl/https/tls_test_common.h
@@ -32,7 +32,7 @@
#define DEBUG_HTTPS_TEST 0
#define CURL_VERBOS_LEVEL 0
-#define DEAMON_TEST_PORT 42433
+#define DEAMON_TEST_PORT 4233
#define test_data "Hello World\n"
#define ca_cert_file_name "tmp_ca_cert.pem"