Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-21 18:18:24

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

r2282 - lastmod_keepalive

Updated my language files, 22 Mar 2007 19:41:20 is the last date.

On advanced preferences, I keep seeing lastmod_keepalive, wondering if it’s a duplicate of Send “Last-Modified” header?

Offline

#2 2007-04-21 21:57:12

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: r2282 - lastmod_keepalive

No, it’s separate, it is there to fix a bug. However, it is kind of complicated to explain, so I hadn’t created the lang string for it yet.

Source comment:

# some mod_deflate versions have a bug that breaks subsequent
# requests when keepalive is used.  dropping the connection
# is the only reliable way to fix this.

With this info in mind, does the following string explain it well enough:

Compensate for persistent connection mod_deflate bug?

Last edited by Mary (2007-04-21 21:57:28)

Offline

#3 2007-04-21 22:15:55

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: r2282 - lastmod_keepalive

Mary wrote:

Compensate for persistent connection mod_deflate bug?

Yeah, it looks fine to me: 21 Apr 2007 17:56:19

Offline

#4 2007-04-21 22:52:43

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: r2282 - lastmod_keepalive

Sounds interesting. Do you have an URL that has details on this bug?

Offline

#5 2007-04-22 00:27:31

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: r2282 - lastmod_keepalive

here. It’s pretty obscure, I wasn’t able to find out if it’s limited to specific versions or whether there’s a fix. Searching for combinations of “mod_deflate”, “keep-alive”, “304” will turn up a few scattered reports.

Basically what happens is, when you send a 304 response, mod_deflate botches it and includes some binary stuff in the http content (even though no content has been sent). Any subsequent responses sent in the same connection pipeline will be corrupt.

Last edited by zem (2007-04-22 01:37:14)


Alex

Offline

#6 2007-04-22 02:52:51

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: r2282 - lastmod_keepalive

Interesting, I wander if this is related to a bug I had with Apache/PHP a few weeks ago (not TXP related, I was debugging PunBB 1.3 on my hosting).

Offline

Board footer

Powered by FluxBB