Michael Schröpl: gzip Module unter Apache erzeugt Fehler bei großen Formularen

Beitrag lesen

Hi,

Die offizielle Beschreibung ist nicht wirklich erklärend:
Da steht nicht genau drin, was ARG2 genauer ist.

Du hast zielsicher erkannt, woran es bei mod_gzip vorrangig krankt: Dem Entwickler sind solche Sachen natürlich klar - _der_ weiß, was zu diesem Zeitpunkt in irgendwelchen internen Apache-Records zur Repräsentation eines HTTP-Requests steht ...

Viele Grüße
      Michael
(der in dieser Hinsicht bereits einen Stapel Engelszungen verbraucht hat)

P.S.: Für die ganz Hartgesottenen:
      mod_gzip.c Zeile 118ff.:

/*
 * Turn MOD_GZIP_DEBUG1 switch ON to include debug code.
 * This is normally OFF by default and should only be
 * used for diagnosing problems. The log output is
 * VERY detailed and the log files will be HUGE.
 */

/*
#define MOD_GZIP_DEBUG1
*/

/*
 * Turn MOD_GZIP_DEBUG1_VERBOSE1 switch ON to include
 * some VERY 'verbose' debug code such as request record
 * dumps during transactions and hex dumps of data.
 * This is normally OFF by default. MOD_GZIP_DEBUG1
 * switch must also be 'on' for this to have any effect.
 */

#ifdef  MOD_GZIP_DEBUG1
#define MOD_GZIP_DEBUG1_VERBOSE1
#endif

/*
 * Turn this 'define' on to send all log output to
 * Apache error_log instead of a flat file. "LogLevel debug"
 * must be set in httpd.conf for log output to appear in error_log.
 */

/*
#define MOD_GZIP_LOG_IS_APACHE_LOG
*/

Also: Scharf machen, neu übersetzen und dann in Debug-Meldungen ertrinken ... _dann_ lernt man, was wer wann wie warum tut.