Project

General

Profile

Bug #1919 ยป mod_expire.c.patch

Rudimentary patch to ignore responses of status codes 400-599. - codemobs, 2009-02-26 01:36

View differences:

mod_expire.c.new 2009-02-25 17:30:21.000000000 -0800
287 287
	int s_len;
288 288
	size_t k;
289 289

  
290
	if (con->http_status >= 400 && con->http_status < 600) return HANDLER_GO_ON;
290 291
	if (con->uri.path->used == 0) return HANDLER_GO_ON;
291 292

  
292 293
	mod_expire_patch_connection(srv, con, p);
    (1-1/1)