Re: weird x-forward-for problem

From: Thomas Eckhardt <tafe_at_unkelhaeusser.net>
Date: Sun, 09 Dec 2007 03:20:46 +0100

Around a year ago I had the same problem and fixed it with a *ugly* but
for me working modification in pen.c

--- pen-0.17.0/pen.c 2005-12-30 11:10:04.000000000 +0100
+++ pen-0.17.0-patched/pen.c 2006-09-29 03:51:56.000000000 +0200
@@ -859,18 +803,24 @@
                 if (debuglevel) debug("Looking for LFLF");
                 q = strstr(b, "\n\n");
         }
+ if (!q) {
+ if (debuglevel) debug("Looking for ugly-terminate");
+ q = strstr(b, "\r\n");
+ }
         if (!q) return n; /* not a header */
 #if 0 /* how is that supposed to happen? */
         if (q >= b+n) return n; /* outside of buffer */

Hope it helps.

Thomas

jpd schrieb am 09.12.2007 01:49:
> using egroupware i have the problem with its sessions handling.
>
> On certain key pages the x-forward-for details are getting lost, so
> egroupware sessions stops it from happening
>
> But this only happens with some browsers
> firefox - i happens all the time
> konquerer - it happens alot
> IE 7 - it has not happened yet
> safari - it has not happened yet
>
> Any idea why some browser would run into this problem and others do not?
>
>
Received on Sun Dec 09 2007 - 03:29:24 CET

This archive was generated by hypermail 2.2.0 : Sun Dec 09 2007 - 03:29:25 CET