Branch: Tag:

2014-05-16

2014-05-16 11:22:00 by Martin Nilsson <nilsson@opera.com>

Don't assume zlib.

637:       switch(compression_algorithm) {    case COMPRESSION_deflate: + #if constant(Gz)    // FIXME: RFC 5246 6.2.2:    // If the decompression function encounters a TLSCompressed.fragment    // that would decompress to a length in excess of 2^14 bytes, it MUST
654:    return _deflate(s, Gz.SYNC_FLUSH);    }    }(Gz.deflate()->deflate)->deflate; + #endif    break;    }    return ({ read_state, write_state });