Skip to content

Commit e48fe5c

Browse files
authored
Correct reset (#29)
Accidentally reset the m_write rather than m_read when needing to write.
1 parent 0490b4a commit e48fe5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/forwarder_connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void ForwarderConnection::connect(int handle)
110110
m_timeout
111111
);
112112
}
113-
m_write.reset();
113+
m_read.reset();
114114
break;
115115
case openssl::SslConnection::Result::SUCCESS:
116116
// Remove the handlers to add the running ones.

0 commit comments

Comments
 (0)