Tuesday, April 15, 2014

Lighttpd Precondition Failed

When viewed from certain corporate networks, some GIFs served by my lighttpd EC2 box frequently fail to load. The error log in the browser says "precondition failed". I believe it is caused by this issue which says the fix is in version 1.4.33. The latest version on the lighttpd website is 1.4.35. The version on amazon linux is 1.4.35, so the problem should be fixed. I don't know if anyone in that office is still having this problem, so I'll just ignore it.

yum list lighttpd

 Installed Packages
  lighttpd.x86_64
  1.4.35-1.9.amzn1
  @amzn-updates
aws
{ "loggedin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "UA-36983794-1", "description": "", "page": { "blogIds": [ 494 ] }, "domain": "holtstrom.com", "base": "\/michael", "url": "https:\/\/holtstrom.com\/michael\/", "frameworkFiles": "https:\/\/holtstrom.com\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/holtstrom.com\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/holtstrom.com\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/www.themoviedb.org\/", "tmdbPoster": "http:\/\/image.tmdb.org\/t\/p\/w342" }