[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] mime-type detection "improvement"

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-07-10 00:41:07 CEST

On Wed, Jul 09, 2003 at 09:05:07PM +0200, SLOGEN wrote:
> - 1233 parses mime.types file for every time a type-guess is req'ed, I
> do one parse into an apr_hash_t, and use that for lookup

-1 on this approach. AFAIK, there is an engraved-in-stone policy against
non-const static data. The approach used for other configuration (load
it, associate a handle with it, and store it in the client-context)
would be an acceptable alternative.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 00:41:01 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.