URLs passed to urlIsMatched come either from an atom or an object key. In both cases, they are NUL-terminated, so there's no need to copy them.
This removes the support for opening disk cache entries O_RDONLY, which as far as I am aware nobody has ever used.
…the served chunk must now be locked by the caller. This avoids races without silly unlock/lock pairs.
Patch from Stefan Fritsch, CVE-2009-3305
Ignore-this: 60fbb7453699ecbff6961bf1622dfb3 From Alan Jenkins. darcs-hash:20091111004804-4cc09-0d24709fbdebd5a7bdc5ce01a6a76aab5bc1241c.gz
Ignore-this: 549ccba8fd6edb4d41b5929edcf2c127 darcs-hash:20090525151934-4cc09-0fe5ade7fe1d3352d4f0a64b9b1010ddc00f9aee.gz