projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ce13dc
)
do not suppurt compress and expand
author
Woo Xie
<woo@fb.com>
Sun, 14 Jun 2015 16:41:03 +0000
(09:41 -0700)
committer
Sara Golemon
<sgolemon@fb.com>
Mon, 15 Jun 2015 20:36:36 +0000
(13:36 -0700)
Summary: the openssl improvement does not support compression and decompression.
Reviewed By: @Invalid auth token., @afrind
Differential Revision:
D2151003
folly/io/async/AsyncSSLSocket.cpp
patch
|
blob
|
history
diff --git
a/folly/io/async/AsyncSSLSocket.cpp
b/folly/io/async/AsyncSSLSocket.cpp
index 8c60902055be92282d2023ef024f3e79eea50054..f4a443214cff1cc4965be1509324603aaabeda5e 100644
(file)
--- a/
folly/io/async/AsyncSSLSocket.cpp
+++ b/
folly/io/async/AsyncSSLSocket.cpp
@@
-1251,7
+1251,9
@@
ssize_t AsyncSSLSocket::performWrite(const iovec* vec,
#if 0
//#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);
}
#endif