Project

General

Profile

mod_proxy_core.patch

Terminar, 2006-12-30 21:57

View differences:

mod_proxy_core.c_ 2006-12-30 23:47:38.000000000 +0100
646 646
			}
647 647
			/* ignore the header */
648 648
			continue;
649
                } else if (0 == buffer_caseless_compare(CONST_BUF_LEN(header->key), CONST_STR_LEN("X-LIGHTTPD-KBytes-per-second"))) {
650
                        if (header->value->ptr != NULL)
651
                        {
652
                            con->conf.kbytes_per_second = atol(header->value->ptr);
653
                        }
654
                        // ignore the header
655
                        continue;
649 656
		} else if (0 == buffer_caseless_compare(CONST_BUF_LEN(header->key), CONST_STR_LEN("Connection"))) {
650 657
			if (strstr(header->value->ptr, "close")) {
651 658
				sess->is_closing = 1;