> I couldn't find it on Google, both sites that had it are gone.
> I moved a copy of it to
> http://zmbh.com/rlreturnz/
>
> Maybe this should get cleaned up and moved into SourceForge?
A client of mine is using rlreturnz with AOLserver 3.4.2. We picked
up the source in May of 2002 from www.theashergroup.com, and it has the
following difference from yours:
----- 8< ---------------------------------------------------------------
--- rlreturnz-alt.c Fri Jan 3 06:53:51 2003
+++ rlreturnz.c Mon Oct 8 11:02:02 2001
@@ -55,6 +55,9 @@
if (headers != NULL) {
unsigned char *accept = Ns_SetIGet(headers, "Accept-Encoding");
unsigned char *agent = Ns_SetIGet(headers, "User-Agent");
+ if (accept != NULL && strstr(accept, "gzip") != NULL) {
+ do_gzip = 1;
+ }
/* IE 5 has an inexcusably buggy implementation
on a refresh, it will (sometimes) discard about 2K of text! */
if (do_gzip && agent != NULL &&
----- 8< ---------------------------------------------------------------
Otherwise it's identical.
By the way just echoing what others have said: it works great, and it
hasn't had any apparent negative impact on the web servers. It also
compiles without a hitch (though we're still using relatively old Linux
servers and egcs 1.1.2, so there might be problems with new releases
of gcc).
- John