Chromium Code Reviews| Index: net/spdy/spdy_framer.cc |
| =================================================================== |
| --- net/spdy/spdy_framer.cc (revision 117344) |
| +++ net/spdy/spdy_framer.cc (working copy) |
| @@ -1526,7 +1526,7 @@ |
| decomp->next_out = reinterpret_cast<Bytef*>(buffer); |
| decomp->avail_out = arraysize(buffer); |
| int rv = DecompressHeaderBlockInZStream(decomp); |
| - if (rv != Z_OK) { |
| + if (rv != Z_OK && rv != Z_BUF_ERROR) { |
|
wtc
2012/01/12 23:49:38
Z_BUF_ERROR means "no progress is possible". With
ramant (doing other things)
2012/01/13 00:14:58
Wan-Teh and I had stepped through the code and we
|
| set_error(SPDY_DECOMPRESS_FAILURE); |
| DLOG(WARNING) << "inflate failure: " << rv; |
| processed_successfully = false; |