You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Farag, Hany M (Hany)" <hf...@lucent.com> on 2001/09/07 19:55:16 UTC

ap_bread() ap_bwrite()

Hi, 
What's the replacement functions for ap_bread() and ap_bwrite in apache 2.0
?


Thanks
Hany

Re: ap_bread() ap_bwrite()

Posted by Ryan Bloom <rb...@covalent.net>.
On Friday 07 September 2001 10:55, Farag, Hany M (Hany) wrote:

There are none.  You shouldn't be coding to that level in 2.0.  What are you
trying to do?

Ryan

> Hi,
> What's the replacement functions for ap_bread() and ap_bwrite in apache 2.0
> ?
>
>
> Thanks
> Hany

-- 

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: ap_bread() ap_bwrite()

Posted by Jeff Trawick <tr...@attglobal.net>.
"Farag, Hany M (Hany)" <hf...@lucent.com> writes:

> Hi, 
> What's the replacement functions for ap_bread() and ap_bwrite in apache 2.0
> ?

Well, it isn't exactly the same because of filtering but...

where network is involved (e.g., core code, mod_proxy):

  core input and output filters play with the apr_socket directly
  (i.e., apr_sendfile, apr_send, apr_recv, etc.)

reading from a subprocess pipe (e.g., mod_cgi, mod_mime_magic):

  have APR create pipes to a child process, then use APR file
  operations on those pipes

what other uses are there?
-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...