You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@attglobal.net> on 2002/05/10 15:52:18 UTC
Re: cvs commit: httpd-2.0/server core.c protocol.c
brianp@apache.org writes:
> brianp 02/05/09 23:47:13
>
> Modified: server core.c protocol.c
> Log:
> Performance fix: replaced the strcasecmp calls in ap_make_content_type()
> with apr_strmatch()
>
> Index: core.c
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/server/core.c,v
> retrieving revision 1.173
> retrieving revision 1.174
> diff -u -r1.173 -r1.174
> --- core.c 30 Apr 2002 20:12:26 -0000 1.173
> +++ core.c 10 May 2002 06:47:13 -0000 1.174
> @@ -3851,9 +3851,12 @@
> return APR_SUCCESS;
> }
>
> +AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool);
What's up with this? This has to go in a header file included by both
core.c and protocol.c.
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...
Re: cvs commit: httpd-2.0/server core.c protocol.c
Posted by Brian Pane <br...@cnet.com>.
Jeff Trawick wrote:
>>+AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool);
>>
>
>What's up with this? This has to go in a header file included by both
>core.c and protocol.c.
>
It's fixed now (I moved the declaration to http_protocol.h and
wrapped it in #ifdef CORE_PRIVATE)
--Brian