Apache 2.0 API

From: gorbunok (gorbunok_at_gmail.com)
Date: 06/30/04


Date: 30 Jun 2004 11:22:26 -0700

I am converting a custom module that is written in C for Apache 1.3.
Due to the gross lack of documentation for the Apache 2.0 API
I am forced to pull my hair out.
I came across a set of functions in the Apache 1.3 API but I can't
find them in the new 2.0 APIs :

http://www.hk8.org/old%5Fweb/linux/....htm#INDEX-1512

for example

    14.6.22. Buffering Functions
    Apache provides its own I/O buffering interface. This allows
chunked transfers to be done transparently and hides differences
between files and sockets under Win32.

    ap_bcreate create a buffered stream

    BUFF *ap_bcreate(pool *p, int flags)
    Creates a new buffered stream in p. The stream is not associated
with any file or socket at this point. flags are a combination of one
of the following:

These set of functions is completely missing from the new Apache 2.0
API. Does anybody know what they are replaced with.

Thanks in advance.



Relevant Pages

  • Re: Mod_python vs. application server like CherryPy?
    ... you their own API. ... I didn't know Apache had an API of its own, or that it was even needed ... when writing a web application in Python. ... server like CherryPy in the background? ...
    (comp.lang.python)
  • Re: Mod_python vs. application server like CherryPy?
    ... you their own API. ... I didn't know Apache had an API of its own, or that it was even needed ... when writing a web application in Python. ... Other layers involve things like cookies, ...
    (comp.lang.python)
  • Re: Mod_python vs. application server like CherryPy?
    ... you their own API. ... I didn't know Apache had an API of its own, or that it was even needed ... when writing a web application in Python. ... consider an extreme case such as WSGI. ...
    (comp.lang.python)
  • Re: how to get session id in apache moudle?
    ... > how to get session id in apache moudle, did apache provide such api? ... you can always use a session handling library. ...
    (comp.infosystems.www.servers.unix)
  • Re: Sockets: connection refused
    ... number of sockets the process was allowed to open. ... Is the the Fedora build of Apache or did you compile it yourself? ... than a CGI? ...
    (comp.unix.programmer)