[ic] regarding the source code of interchange

Doug Alcorn interchange-users@interchange.redhat.com
Mon Mar 18 10:34:00 2002


Steffen Dettmer <steffen@dett.de> writes:

> Well, this is called a link program and acts like a proxy or
> request forwarder AFAIK, the source is $IC/src/tlink.c. 
> 
> The logic is in the server code which is Perl (and by that also
> in sources available), check out $IC/lib and such.

Yes, just to clear things up.  IC is a client/server type
application.  There is a persistent server that runs all the time as a
daemon.  It is written in perl.  The client is a proxy that forwards
requests from apache to the server.  The server actually generates the
content of the requested page and sends it back to apache through the
proxy client.  The client is written in C so that the time to spawn
the cgi is minimized.  To further eliminate the startup time for the
proxy cgi program you can use mod_interchange.  This basically embeds
the tlink program into apache itself.  Thus apache has knowlege of how
to talk to the server daemon instead of having to spawn a cgi to do
the communications.
-- 
 (__) Doug Alcorn - Unix/Linux/Web Developing
 oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
 |_/  mailto:doug@lathi.net http://www.lathi.net