lp:~lifeless/squid/3.1-ext-tag
- Get this branch:
- bzr branch lp:~lifeless/squid/3.1-ext-tag
Branch merges
Branch information
Recent revisions
- 10454. By Christos Tsantilas
-
Bug 3013: segmentation fault on shutdown commSetCloseOnExec at comm.cc:1889
- 10447. By Alex Rousskov
-
Bug 3466: Adaptation stuck on last single-byte body piece
Changed StoreEntry:
:bytesWanted( range) to return range.end when the entry can
accommodate range.end bytes. This makes it possible to use that method for
single-byte ranges. Old code returned zero for such ranges, which was
difficult to distinguish from situations where no bytes were wanted at all.TODO: The StoreEntry:
:bytesWanted( range) API is left undocumented because it
seems to be slightly broken and/or inconsistent with callers and with the
DelayId::bytesWanted( min, max) API. AFAICT, we should convert
StoreEntry::bytesWanted API from range-based to min/max-based or even just
max-based.Store Entry API does not use the lower end of the range (except for the
now-removed assertion that the range is not empty). I suspect that Store API
was meant to be used with (first, last+1) "byte position" parameters (returning
the number of bytes wanted) while the DelayId API was meant to be used with
(min, max) "number of bytes" parameters. However, StoreEntry::bytesWanted
implementation does not follow this assumption so perhaps my speculation is
wrong and there are more problems, including this change.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)