You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@lnd.com> on 2000/05/04 21:15:42 UTC
IOL - ap_sendX ap_recvX ap_transmitfile sematics?
I've been walking in and out from http_protocol thru IOL all the way down
to apr's sendrecv.c, and I'm confused about the state of things...
It's a particular headache on win32, where I'm writing the transmitfile
support for some winsocks that don't offer transmit file. The issue
here is that support for transmitfile is a runtime dependency... so I'm
working up an ap_sendfile_emul() call for Win32.
What's the primary argument against emulating the entire IOL suite
under all platforms... i.e. everyone offers ap_transmitfile, ap_readv, etc,
but they are emulations on those platforms that don't support them?
And, I guess the big question is, what does the IOL indirection buy us over
direct calls to the apr?
Bill
Re: IOL - ap_sendX ap_recvX ap_transmitfile sematics?
Posted by Jeff Trawick <tr...@bellsouth.net>.
> And, I guess the big question is, what does the IOL indirection buy us over
> direct calls to the apr?
>
> Bill
>
I would think that SSL is one answer to that question (but I've never
seen how folks hook in SSL so this could be wrong).
--
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...
Re: IOL - ap_sendX ap_recvX ap_transmitfile sematics?
Posted by rb...@covalent.net.
> > And, I guess the big question is, what does the IOL indirection buy us
> > over direct calls to the apr?
>
> when i did the mpm/iol work i didn't use anything in APR -- because it was
> a short proof-of-concept. i wanted to be sure that we got the
> architecture right.
>
> it's been said many times that the layering could be moved to APR.
>
> regardless of where it is, the layering is needed... and APR to me is more
> about a uniform interface to various OS features which are common amongst
> many OSs.
I have been on both sides of this discussion about moving layering into
APR. I still don't know how I feel about it. Moving the IOL's into the
APR structures removes some complexity, and adds other complexity. I have
a design for doing it somewhere, but it is pretty low on my list of
priorities, because I'm just not sure it's a good idea yet.
Ryan
_______________________________________________________________________________
Ryan Bloom rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------
Re: IOL - ap_sendX ap_recvX ap_transmitfile sematics?
Posted by dean gaudet <dg...@arctic.org>.
On Thu, 4 May 2000, William A. Rowe, Jr. wrote:
> And, I guess the big question is, what does the IOL indirection buy us
> over direct calls to the apr?
when i did the mpm/iol work i didn't use anything in APR -- because it was
a short proof-of-concept. i wanted to be sure that we got the
architecture right.
it's been said many times that the layering could be moved to APR.
regardless of where it is, the layering is needed... and APR to me is more
about a uniform interface to various OS features which are common amongst
many OSs.
-dean