httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/modules/standard mod_cgi.c
Date Sat, 18 Nov 2000 19:47:28 GMT
What are you guys talking about?

apr_time_t is 64 bits
apr_interval_time_t is (already!) 32 bits

An interval time can go for 71 minutes, if my math is right.

Cheers,
-g

On Sat, Nov 18, 2000 at 08:04:49AM -0800, rbb@covalent.net wrote:
> On Sat, 18 Nov 2000, William A. Rowe, Jr. wrote:
> 
> > > From: rbb@covalent.net [mailto:rbb@covalent.net]
> > > Sent: Saturday, November 18, 2000 9:47 AM
> > > 
> > > Would it work to just convert the timeout in the server_rec to the
> > > apr_interval_time_t?
> > 
> > We likely need the macro for conversion from apr_time_t to apr_interval_time_t,

> > as well.  My personal preference, after all was said and done, was not to use
> > interval_time or delta_time, but use short_time, since intervals and deltas
> > are often longer than 35 minutes (except for timeouts, obviously.)  But the
> > interval_time for password caching might certainly be set at an hour.
> 
> Or, and this is just an option, we could use 32-bit interval times.  The
> definition of an interval time is one that starts now and goes into the
> future as opposed to an absolute time value.  I know that as the cache
> work is completed we are going to want hours or possibly days as the
> timeout values.  Let's just simplfy things immensly and call interval
> times 32-bit.  Yes, this does waste 16-bits for timeout's, but that isn't
> the end of the world.
> 
> Ryan
> 
> _______________________________________________________________________________
> Ryan Bloom                        	rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> -------------------------------------------------------------------------------

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message