Fix AsyncSSLSocket handshake error reporting.
[folly.git] / folly / io / async / test / BlockingSocket.h
index 7858145ee37c043bb350359502a3d46e224522aa..7cfb870c7b19b0112833119df2a41295ccb06e34 100644 (file)
@@ -45,6 +45,7 @@ class BlockingSocket : public folly::AsyncSocket::ConnectCallback,
   void close() {
     sock_->close();
   }
+  void closeWithReset() { sock_->closeWithReset(); }
 
   int32_t write(uint8_t const* buf, size_t len) {
     sock_->write(this, buf, len);