git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89280
13f79535-47bb-0310-9956-
ffa450edef68
#include "apr_pools.h"
#include "apr_strings.h"
#include "apr_uri.h"
+#include "apr_date.h"
#include "httpd.h"
#include "http_config.h"
#include "http_log.h"
#include "http_connection.h"
#include "util_filter.h"
-#include "util_date.h"
#include "mod_core.h"
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)) {
* 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;
}