httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: APR_MMAP
Date Thu, 28 Oct 1999 18:13:32 GMT
hrm, i haven't had a chance to look at what david did... but all i was
really expecting was a mmap interface in APR which mapped stuff into
memory, and http_core would continue to have some variant of send_mmap().  
it just needs a portable way to get bits of the file mapped into memory...

i see david is putting some of the send stuff into APR... that feels
wrong.  for the reason greg is bringing up, and other similar ones.  
(consider an IMAP server which wants to MMAP a file, but it needs to do
CRLF conversion before sending... or something sending EBCDIC...)


On Thu, 21 Oct 1999, Greg Stein wrote:

> Doesn't it have to be able to send sub-ranges, in case the client asked
> for ranges?
> -g
> On Thu, 21 Oct 1999, David Reid wrote:
> > I'll commit the apr_mmap.h file that I forgot last night (would have done it
> > earlier but was grabbed for a Marseille).  A couple of questions that I have
> > no real preference over...
> > 
> > In apr_send_mmap do we want to
> > 1) simply have it send the entire file every time it's called
> > 2) be able to specify how much of a file should be sent
> > 
> > I guess it boils down to how we're goign to be using the call in the apache
> > code.  The same question applies to the apr_read_mmap.
> > 
> > I'm asking before I code so as to avoid changing everything later (just call
> > me lazy :-))
> > 
> > david
> > 
> --
> Greg Stein,

View raw message