Commit fe6e73a6 authored by Woo Xie's avatar Woo Xie Committed by Sara Golemon

do not suppurt compress and expand

Summary: the openssl improvement does not support compression and decompression.

Reviewed By: @Invalid auth token., @afrind

Differential Revision: D2151003
parent 8ce13dcc
...@@ -1251,7 +1251,9 @@ ssize_t AsyncSSLSocket::performWrite(const iovec* vec, ...@@ -1251,7 +1251,9 @@ ssize_t AsyncSSLSocket::performWrite(const iovec* vec,
#if 0 #if 0
//#ifdef SSL_MODE_WRITE_IOVEC //#ifdef SSL_MODE_WRITE_IOVEC
if (ssl_->mode & SSL_MODE_WRITE_IOVEC) { if (ssl_->expand == nullptr &&
ssl_->compress == nullptr &&
(ssl_->mode & SSL_MODE_WRITE_IOVEC)) {
return performWriteIovec(vec, count, flags, countWritten, partialWritten); return performWriteIovec(vec, count, flags, countWritten, partialWritten);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment