Mark Constable writes:
On Tuesday 31 January 2006 10:10, Sam Varshavchik wrote:
Would anyone happen to know of some workarounds for this problem ?
Let's increase the max. allowed.
diff -U3 -r1.19 sqwebmail.h
--- sqwebmail.h 29 Feb 2004 20:30:56 -0000 1.19
+++ sqwebmail.h 31 Jan 2006 00:09:47 -0000
@@ -34,7 +34,7 @@
/* Socket filename */
#define SOCKFILENAME SOCKDIR "/sqwebmail.sock"
-#define SOCKENVIRONLEN 4096
+#define SOCKENVIRONLEN 8192
#define VALIDCGIVAR(p) \
(strncmp((p), "DOCUMENT_", 9) == 0 || \
Thank you Sam. A simple enough solution.
Unfortunately I run too many Debian based servers to be patching
courier and maintaining that patch through upgrades. I was kind
of hoping there may have been a well known apache BrowserMatch
tweak that might force IE to behave. Anyone?
No. The browser just spews its headers, and the server has no choice but to
swallow it.
I'm ready to go run and hide under a rock but here goes anyway...
is there any chance the patch above could become an official
upstream change ?
I thought about it and decided to commit this. I am still somewhat curious
at what exactly is MSIE spewing that's so voluminous. If you can reproduce
the MSIE behavior yourself, put this in your cgi-bin directory:
#!/bin/sh
echo "Content-Type: text/plain"
echo ""
env
chmod +x it, and open it in the browser to see the CGI environment. A
better, final solution would be to figure out what extra crap MSIE is
spewing and filter it out.