Project

General

Profile

Bug #2132 ยป mod_accesslog.patch

liming, 2009-12-30 10:18

View differences:

mod_accesslog.c.new 2009-12-30 18:06:17.000000000 +0800
867 867
	buffer_append_string_len(b, CONST_STR_LEN("\n"));
868 868

  
869 869
	if (p->conf.use_syslog ||  /* syslog doesn't cache */
870
	    (p->conf.access_logfile->used && p->conf.access_logfile->ptr[0] != '|') || /* pipes don't cache */
870
	    (p->conf.access_logfile->used && p->conf.access_logfile->ptr[0] == '|') || /* pipes don't cache */
871 871
	    newts ||
872 872
	    b->used > BUFFER_MAX_REUSE_SIZE) {
873 873
		if (p->conf.use_syslog) {
    (1-1/1)