X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http.c;h=b26751a557a5fcac53ec4f05b884adfa465b92d8;hb=157bfa0c31f7c1c441c08f31ef3d8c90da1fb3ef;hp=f5740452c8102e0a2dd27551faed475310152028;hpb=e434da0fad7db62d86c236c68b22150165f2647a;p=m6w6%2Fext-http diff --git a/http.c b/http.c index f574045..b26751a 100644 --- a/http.c +++ b/http.c @@ -194,7 +194,7 @@ static inline void _http_globals_dtor(TSRMLS_D) static inline void _http_check_allowed_methods(char *methods, int length TSRMLS_DC) { if (length && SG(request_info).request_method) { - if (SUCCESS != http_check_method(SG(request_info).request_method, methods)) { + if (SUCCESS != http_check_method_ex(SG(request_info).request_method, methods)) { char *header = emalloc(length + sizeof("Allow: ")); sprintf(header, "Allow: %s", methods); http_exit(405, header);