Mailing List Archive

cvs commit: apache-1.3/src/modules/proxy proxy_util.c
marc 98/03/20 21:32:20

Modified: src CHANGES
src/modules/proxy proxy_util.c
Log:
The filenames were 4 chars short because during the change from
22 --> 26 chars to accomodate the fact that the fs isn't case
sensitive, one change was missed.

PR: 1890
Submitted by: Tim Costello <tjcostel@socs.uts.edu.au>

Revision Changes Path
1.728 +5 -0 apache-1.3/src/CHANGES

Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.727
retrieving revision 1.728
diff -u -r1.727 -r1.728
--- CHANGES 1998/03/20 09:27:39 1.727
+++ CHANGES 1998/03/21 05:32:16 1.728
@@ -1,5 +1,10 @@
Changes with Apache 1.3b6

+ *) WIN32: the proxy was creating filenames missing the last four
+ characters. While this normally doesn't stop anything from
+ working, it can result in extra collisions.
+ [Tim Costello <tjcostel@socs.uts.edu.au>] PR#1890
+
*) Now mod_proxy uses the response string (in addition to the response status
code) from the already used FTP SIZE command to setup the Content-Length
header if available. [Ralf S. Engelschall, PR#1183]



1.51 +2 -2 apache-1.3/src/modules/proxy/proxy_util.c

Index: proxy_util.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/proxy_util.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- proxy_util.c 1998/03/14 00:50:40 1.50
+++ proxy_util.c 1998/03/21 05:32:19 1.51
@@ -640,8 +640,8 @@
val[i + nlength] = '/';
i += nlength + 1;
}
- memcpy(&val[i], &tmp[k], 22 - k);
- val[i + 22 - k] = '\0';
+ memcpy(&val[i], &tmp[k], 26 - k);
+ val[i + 26 - k] = '\0';
}

#else