From 193eb597fb6e9cd1bea0269ab04ca30750183785 Mon Sep 17 00:00:00 2001 From: Alan Frindell <afrind@fb.com> Date: Fri, 12 Jun 2015 10:21:18 -0700 Subject: [PATCH] Temporarily disable performWriteIovec Summary: As in title Reviewed By: @djwatson Differential Revision: D2151092 --- folly/io/async/AsyncSSLSocket.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/folly/io/async/AsyncSSLSocket.cpp b/folly/io/async/AsyncSSLSocket.cpp index 66b4567c..8c609020 100644 --- a/folly/io/async/AsyncSSLSocket.cpp +++ b/folly/io/async/AsyncSSLSocket.cpp @@ -1249,7 +1249,8 @@ ssize_t AsyncSSLSocket::performWrite(const iovec* vec, bool cork = isSet(flags, WriteFlags::CORK); CorkGuard guard(fd_, count > 1, cork, &corked_); -#ifdef SSL_MODE_WRITE_IOVEC +#if 0 +//#ifdef SSL_MODE_WRITE_IOVEC if (ssl_->mode & SSL_MODE_WRITE_IOVEC) { return performWriteIovec(vec, count, flags, countWritten, partialWritten); } @@ -1370,7 +1371,8 @@ ssize_t AsyncSSLSocket::performWrite(const iovec* vec, return totalWritten; } -#ifdef SSL_MODE_WRITE_IOVEC +#if 0 +//#ifdef SSL_MODE_WRITE_IOVEC ssize_t AsyncSSLSocket::performWriteIovec(const iovec* vec, uint32_t count, WriteFlags flags, -- 2.34.1