I'm writing a function to handle certain requests. I've
registered this function with Ns_RegisterRequest(). My module
loads and my function is called to process requests. So I'm doing
good so far.
But there is some information I can't get my hands on. I've
looked lots of the AOLserver C API
On 2004.05.11, Dave Kuhlman [EMAIL PROTECTED] wrote:
It'd be great if there were a document on how to convert a CGI
application written in C into an AOLserver loadable module with a
registered function.
Write some thin wrapper functions that your C program currently calls to
get the values
Well, these CGI variables are only set when you execute a CGI. Perhaps
the easiest thing to do is look at the nscgi code and of these values
that are set, mirror the way that they are set in nscgi.
There are some better/worse ways to get them, such as using
Ns_ConnGetQuery() instead of
Very good, so then you folk are definitely the people to talk to.
Here's the problem that I'm going to run into (in fact, I already have).
I have some code that acts as a DAV server. It listens to PUT requests, etc,
but it actually _forwards_ the PUT request to another server, depending on
I understand that, in the normal processing of ADP pages, that the
request contents have to be complete before the ADP starts processing.
Is that right?
So, if we POST a large file to /example.adp, example.adp does _not_ run
until the last byte of the file is POST'ed...right?
And again, as far