70 lines
2.7 KiB
Diff
70 lines
2.7 KiB
Diff
From: Jim Jagielski <jim@apache.org>
|
|
Date: Wed, 15 Jan 2025 11:51:28 +0000
|
|
Subject: [PATCH] svn merge -c 1910518,1910847,1912477,1918297
|
|
^/httpd/httpd/trunk . *) Easy patches: synch 2.4.x and trunk - ab:
|
|
Increase MAX_CONCURRENCY hard limit (from 20K to 200K) - ab: Fix X509
|
|
* leak - dav/fs/dbm.c: Remove error message references to "property"
|
|
databases - httpd.h: Fix comment
|
|
|
|
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1923142 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
Conflict:The pre-installation patch f38c5b8 is a reconstruction patch and is not integrated. As a result, adaptation exists.
|
|
Reference:https://github.com/apache/httpd/commit/84a9b978e7a502e3d93e2d757af67f8f303cb615
|
|
|
|
---
|
|
include/httpd.h | 2 +-
|
|
modules/dav/fs/dbm.c | 2 +-
|
|
support/ab.c | 3 ++-
|
|
3 files changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/include/httpd.h b/include/httpd.h
|
|
index 5e518d1..c836367 100644
|
|
--- a/include/httpd.h
|
|
+++ b/include/httpd.h
|
|
@@ -1113,7 +1113,7 @@ struct request_rec {
|
|
*/
|
|
int double_reverse;
|
|
/** Request flags associated with this request. Use
|
|
- * AP_REQUEST_GET_FLAGS() and AP_REQUEST_SET_FLAGS() to access
|
|
+ * AP_REQUEST_GET_BNOTE() and AP_REQUEST_SET_BNOTE() to access
|
|
* the elements of this field.
|
|
*/
|
|
ap_request_bnotes_t bnotes;
|
|
diff --git a/modules/dav/fs/dbm.c b/modules/dav/fs/dbm.c
|
|
index 0d12831..7a8893a 100644
|
|
--- a/modules/dav/fs/dbm.c
|
|
+++ b/modules/dav/fs/dbm.c
|
|
@@ -95,7 +95,7 @@ static dav_error * dav_fs_dbm_error(dav_db *db, apr_pool_t *p,
|
|
/* There might not be a <db> if we had problems creating it. */
|
|
if (db == NULL) {
|
|
errcode = 1;
|
|
- errstr = "Could not open property database.";
|
|
+ errstr = "Could not open database.";
|
|
if (APR_STATUS_IS_EDSOOPEN(status))
|
|
ap_log_error(APLOG_MARK, APLOG_CRIT, status, ap_server_conf, APLOGNO(00576)
|
|
"The DBM driver could not be loaded");
|
|
diff --git a/support/ab.c b/support/ab.c
|
|
index 71cf484..dcd0bc8 100644
|
|
--- a/support/ab.c
|
|
+++ b/support/ab.c
|
|
@@ -279,7 +279,7 @@ struct data {
|
|
#define ap_max(a,b) (((a)>(b))?(a):(b))
|
|
#define ap_round_ms(a) ((apr_time_t)((a) + 500)/1000)
|
|
#define ap_double_ms(a) ((double)(a)/1000.0)
|
|
-#define MAX_CONCURRENCY 20000
|
|
+#define MAX_CONCURRENCY 200000
|
|
|
|
/* --------------------- GLOBALS ---------------------------- */
|
|
|
|
@@ -735,6 +735,7 @@ static void ssl_proceed_handshake(struct connection *c)
|
|
SSL_get_version(c->ssl),
|
|
SSL_CIPHER_get_name(ci),
|
|
pk_bits, sk_bits);
|
|
+ if (cert) X509_free(cert);
|
|
}
|
|
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
|
if (ssl_tmp_key == NULL) {
|
|
--
|
|
2.33.0
|
|
|