otherwise zlib returns Z_BUF_ERROR, which we consider fatal. The patch is contributed by Adam Langley of Google <agl@chromium.org>. r=wtc,nelson. git-svn-id: svn://10.0.0.236/trunk@259136 18797224-902f-48f8-a5cc-f745e15eee43