* support/ab.c (test): Increment count of started requests when a
non-blocking connect completes; avoids case where more requests are
made than intended.
* modules/ssl/ssl_engine_init.c (ssl_init_CheckServers): Fix IP/port
key generation which passed a bogus pointer for a %pA conversion,
hence could give false warnings for name-based-vhost use.
PR: 36966, 37051
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@320804
13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.1.9
+ *) mod_ssl: Fix issue which could cause spurious warnings about use
+ of name-based vhosts. PR 37051. [Joe Orton]
+
+ *) ab: Fix to ensure that only the expected number of requests are run.
+ PR 36966. [Joe Orton]
+
*) mod_proxy_balancer: BalancerManager and proxies correctly handle
member workers with paths. PR36816. [Ruediger Pluem, Jim Jagielski]
table = apr_hash_make(p);
for (s = base_server; s; s = s->next) {
+ char *addr;
+
sc = mySrvConfig(s);
if (!((sc->enabled == SSL_ENABLED_TRUE) && s->addrs)) {
continue;
}
- key = apr_psprintf(p, "%pA:%u",
- &s->addrs->host_addr, s->addrs->host_port);
+ apr_sockaddr_ip_get(&addr, s->addrs->host_addr);
+ key = apr_psprintf(p, "%s:%u", addr, s->addrs->host_port);
klen = strlen(key);
if ((ps = (server_rec *)apr_hash_get(table, key, klen))) {
}
else {
c->state = STATE_CONNECTED;
+ started++;
#ifdef USE_SSL
if (c->ssl)
ssl_proceed_handshake(c);