At 11:50 AM 09/06/2001, Brian Pane wrote:
>This patch eliminates some run-time conversion of method names to 
>numbers (something that I noticed while looking through function 
>call profiles).
>
>RCS file: /home/cvspublic/httpd-2.0/server/core.c,v
>-    ap_allow_methods(r, MERGE_ALLOW, "GET", "OPTIONS", "POST", NULL);
>+    ap_allow_standard_methods(r, MERGE_ALLOW, M_GET, M_OPTIONS, 
>M_POST, -1);
>
>RCS file: 
>/home/cvspublic/httpd-2.0/modules/mappers/mod_negotiation.c,v
>-    ap_allow_methods(r, REPLACE_ALLOW, "GET", "OPTIONS", "POST", 
>NULL);
>+    ap_allow_standard_methods(r, REPLACE_ALLOW, M_GET, M_OPTIONS, 
>M_POST, -1);

Weren't these "method numbers" recently removed so that there are no 
"standard" methods, and all the methods are added the same way at run 
time?

-- 
Greg Marr
[EMAIL PROTECTED]
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"

Reply via email to