commit | ffe4f114173468e2eb205448820c66af0863a9db | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Sep 15 18:43:19 2011 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Sep 15 18:43:19 2011 +0000 |
tree | 4ab6c65844bd30b259d14b70931dc0b3b5f77d9b | |
parent | e19f005daf634f15540c5747dd3689a00719f0f9 [diff] |
Upstream: r->upstream->length type change to off_t. Previous use of size_t may cause wierd effects on 32bit platforms with certain big responses transferred in unbuffered mode. Nuke "if (size > u->length)" check as it's not usefull anyway (preread body data isn't subject to this check) and now requires additional check for u->length being positive.