Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/apache/files/
Date: Sun, 27 Mar 2022 22:08:31
Message-Id: 1648418825.49b84e124ee3e7ef349e79dd0fa233fb5f6e305e.conikost@gentoo
1 commit: 49b84e124ee3e7ef349e79dd0fa233fb5f6e305e
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Sun Mar 27 11:47:02 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 22:07:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b84e12
7
8 www-servers/apache: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/24776
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 .../apache/files/apache-2.4.51-mpm-itk.patch | 34 ----------------------
16 1 file changed, 34 deletions(-)
17
18 diff --git a/www-servers/apache/files/apache-2.4.51-mpm-itk.patch b/www-servers/apache/files/apache-2.4.51-mpm-itk.patch
19 deleted file mode 100644
20 index 4d36fe03dffb..000000000000
21 --- a/www-servers/apache/files/apache-2.4.51-mpm-itk.patch
22 +++ /dev/null
23 @@ -1,34 +0,0 @@
24 -Backport of upstream r1894171 to fix segfaults with mpm-itk.
25 -
26 -https://bugs.gentoo.org/816258
27 -https://bz.apache.org/bugzilla/show_bug.cgi?id=65627
28 -
29 ---- a/server/connection.c 2021/09/21 20:03:52 1893497
30 -+++ b/server/connection.c 2021/10/12 16:48:18 1894171
31 -@@ -145,9 +145,7 @@
32 - {
33 - apr_socket_t *csd = ap_get_conn_socket(c);
34 -
35 -- if (!csd) {
36 -- return 1;
37 -- }
38 -+ ap_assert(csd != NULL);
39 -
40 - if (ap_prep_lingering_close(c)) {
41 - return 1;
42 -@@ -178,6 +176,15 @@
43 - apr_time_t now, timeup = 0;
44 - apr_socket_t *csd = ap_get_conn_socket(c);
45 -
46 -+ if (!csd) {
47 -+ /* Be safe with third-party modules that:
48 -+ * ap_set_core_module_config(c->conn_config, NULL)
49 -+ * to no-op ap_lingering_close().
50 -+ */
51 -+ c->aborted = 1;
52 -+ return;
53 -+ }
54 -+
55 - if (ap_start_lingering_close(c)) {
56 - apr_socket_close(csd);
57 - return;