mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-13 22:21:05 +00:00
socket: Fix a bug in TCPClientSocket
Needed by transparent proxying.
This commit is contained in:
parent
9289983b1e
commit
2305ab8ea9
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ TCPClientSocket::TCPClientSocket(std::unique_ptr<TCPSocket> socket,
|
||||||
: socket_(std::move(socket)),
|
: socket_(std::move(socket)),
|
||||||
bind_address_(std::move(bind_address)),
|
bind_address_(std::move(bind_address)),
|
||||||
addresses_(addresses),
|
addresses_(addresses),
|
||||||
current_address_index_(-1),
|
current_address_index_(current_address_index),
|
||||||
next_connect_state_(CONNECT_STATE_NONE),
|
next_connect_state_(CONNECT_STATE_NONE),
|
||||||
previously_disconnected_(false),
|
previously_disconnected_(false),
|
||||||
total_received_bytes_(0),
|
total_received_bytes_(0),
|
||||||
|
|
Loading…
Add table
Reference in a new issue