trunk patch: http://svn.apache.org/r1520368
Submitted by: trawick
Reviewed by: covener, humbedooh
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1523261 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.4.7
+ *) WinNT MPM: Don't crash during child process initialization if the
+ Listen protocol is unrecognized. [Jeff Trawick]
+
*) modules: Fix some compiler warnings. [Guenter Knauf]
* skiplist: Add skiplist capability to httpd [Jim Jagielski]
+1: covener, jim, humbedooh
- * WinNT MPM: crash-o-matic with "Listen <portnumber> <unrecognized>"
- trunk patch: http://svn.apache.org/r1520368
- 2.4.x patch: trunk patch works
- +1: trawick, covener, humbedooh
-
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
core_sconf = ap_get_core_module_config(ap_server_conf->module_config);
accf_name = apr_table_get(core_sconf->accf_map, lr->protocol);
- if (strcmp(accf_name, "data") == 0)
+ if (!accf_name) {
+ accf = 0;
+ accf_name = "none";
+ ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ap_server_conf,
+ APLOGNO(02531) "winnt_accept: Listen protocol '%s' has "
+ "no known accept filter. Using 'none' instead",
+ lr->protocol);
+ }
+ else if (strcmp(accf_name, "data") == 0)
accf = 2;
else if (strcmp(accf_name, "connect") == 0)
accf = 1;