Temporarily disable performWriteIovec
authorAlan Frindell <afrind@fb.com>
Fri, 12 Jun 2015 17:21:18 +0000 (10:21 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 12 Jun 2015 20:18:15 +0000 (13:18 -0700)
Summary: As in title

Reviewed By: @djwatson

Differential Revision: D2151092

folly/io/async/AsyncSSLSocket.cpp

index 66b4567c92ae94af459f01d66b647448541b3e8b..8c60902055be92282d2023ef024f3e79eea50054 100644 (file)
@@ -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,