dump and response population

Toby DiPasquale <[email protected]>
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Hi all,

	I have two quick questions for the community:

1) How do I activate the process_dump functionality? I tried adding this
line to the configuration file, but it didn't work:

Specials {
	Imagemap { map }
	CGI { cgi }
	Redirect { url }
	Dump { dmp }
}

I'd like to see this in action, but I get no hints as to how to activate
it from the source code.

2) I've noticed that it is the fill_connection() and write_connection()
functions that are responsible for the actual writing of the response data
back out to socket. What fields in the (struct request *) structure would
I have to populate to be able to have it pick up my output and send it
back out? I've noticed that some of the handlers use r->cn->rfd to pass a
file descriptor back to mathopd. And dump uses a temporary file to pass
back to the rfd value. But then cgi.c does not, nor does imap.c. Is there
a universal way for me to put some data in a temporary file or buffer and
have it picked up for delivery back out to the client?

Thanks in advance!!

--
<< T o b i a s   D i P a s q u a l e >>
[email protected] | [email protected] | [email protected]

"Bill Gates comes to visit SoftImage and during an employee Q/A someone asks 
'Since the Internet is all about free software, how come Microsoft is still 
charging for it?'"
 -- Adam Barr, 
    __Proudly Serving My Corporate Masters__
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.