Changes with Apache 2.0.19-dev
+ *) Solve case-insensitive platforms' confusion about negotiated
+ filenames, allowing files of differnt case to match in choosing
+ the document to serve. [William Rowe]
+
*) Fix brokenness when ThreadsPerChild is higher than the built-in
limit. We left ap_threads_per_child at the higher value which
led to segfaults when doing certain scoreboard operations.
while ((ext = ap_getword(r->pool, &fn, '.')) && *ext) {
int found = 0;
+#ifdef CASE_BLIND_FILESYSTEM
+ /* We have a basic problem that folks on case-crippled systems
+ * expect anything and everything to succeed
+ */
+ ap_str_tolower(ext);
+#endif
+
/* Check for Content-Type */
if ((type = apr_table_get(conf->forced_types, ext))
|| (type = apr_table_get(hash_buckets[hash(*ext)], ext))) {
request_rec *sub_req;
/* Do we have a match? */
+#ifdef CASE_BLIND_FILESYSTEM
+ if (strncasecmp(dirent.name, filp, prefix_len)) {
+#else
if (strncmp(dirent.name, filp, prefix_len)) {
+#endif
continue;
}
if (dirent.name[prefix_len] != '.') {