You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ch...@apache.org on 2001/06/06 23:52:00 UTC
cvs commit: httpd-proxy/module-2.0 mod_proxy.h proxy_http.c proxy_util.c
chuck 01/06/06 14:51:59
Modified: . CHANGES
module-2.0 mod_proxy.h proxy_http.c proxy_util.c
Log:
Use apr-util's date functions now
Revision Changes Path
1.34 +3 -0 httpd-proxy/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/httpd-proxy/CHANGES,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- CHANGES 2001/05/07 02:47:51 1.33
+++ CHANGES 2001/06/06 21:51:54 1.34
@@ -1,6 +1,9 @@
mod_proxy changes for httpd 2.0.18-dev
+ *) Date handling fundtion changes
+ [Chuck Murcko <ch...@topsail.org>]
+
*) Reverse previous patch since the core reverted.
[Chuck Murcko <ch...@topsail.org>]
1.53 +1 -1 httpd-proxy/module-2.0/mod_proxy.h
Index: mod_proxy.h
===================================================================
RCS file: /home/cvs/httpd-proxy/module-2.0/mod_proxy.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- mod_proxy.h 2001/05/22 19:37:04 1.52
+++ mod_proxy.h 2001/06/06 21:51:56 1.53
@@ -91,6 +91,7 @@
#include "apr_pools.h"
#include "apr_strings.h"
#include "apr_uri.h"
+#include "apr_date.h"
#include "httpd.h"
#include "http_config.h"
@@ -103,7 +104,6 @@
#include "http_log.h"
#include "http_connection.h"
#include "util_filter.h"
-#include "util_date.h"
#include "mod_core.h"
1.74 +1 -1 httpd-proxy/module-2.0/proxy_http.c
Index: proxy_http.c
===================================================================
RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_http.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- proxy_http.c 2001/05/23 06:43:46 1.73
+++ proxy_http.c 2001/06/06 21:51:57 1.74
@@ -628,7 +628,7 @@
len = strlen(buffer);
/* Is it an HTTP/1 response? This is buggy if we ever see an HTTP/1.10 */
- if (ap_checkmask(buffer, "HTTP/#.# ###*")) {
+ if (apr_date_checkmask(buffer, "HTTP/#.# ###*")) {
int major, minor;
if (2 != sscanf(buffer, "HTTP/%u.%u", &major, &minor)) {
1.61 +1 -1 httpd-proxy/module-2.0/proxy_util.c
Index: proxy_util.c
===================================================================
RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_util.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- proxy_util.c 2001/05/11 17:32:41 1.60
+++ proxy_util.c 2001/06/06 21:51:58 1.61
@@ -419,7 +419,7 @@
* way, but log the fact.
* XXX: The mask check is buggy if we ever see an HTTP/1.10 */
- if (!ap_checkmask(buffer, "HTTP/#.# ###*")) {
+ if (!apr_date_checkmask(buffer, "HTTP/#.# ###*")) {
/* Nope, it wasn't even an extra HTTP header. Give up. */
return NULL;
}