Backed out changeset db8aa4fdcba4 (bug 1142455) for making bug 1179547 nearly permafail on OSX 10.6.

This commit is contained in:
Ryan VanderMeulen 2015-08-30 18:38:14 -04:00
Родитель cb6f9fc8c5
Коммит 593120864b
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -25,11 +25,7 @@
// For HTTP seeking, if number of bytes needing to be
// seeked forward is less than this value then a read is
// done rather than a byte range request.
//
// If we assume a 100Mbit connection, and assume reissuing an HTTP seek causes
// a delay of 200ms, then in that 200ms we could have simply read ahead 2MB. So
// setting SEEK_VS_READ_THRESHOLD to 1MB sounds reasonable.
static const int64_t SEEK_VS_READ_THRESHOLD = 1 * 1024 * 1024;
static const int64_t SEEK_VS_READ_THRESHOLD = 32*1024;
static const uint32_t HTTP_REQUESTED_RANGE_NOT_SATISFIABLE_CODE = 416;