mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
socket: Fix a bug in TCPClientSocket
Needed by transparent proxying.
This commit is contained in:
parent
ccc16314ac
commit
6a791df12e
@ -148,7 +148,7 @@ TCPClientSocket::TCPClientSocket(
|
||||
: socket_(std::move(socket)),
|
||||
bind_address_(std::move(bind_address)),
|
||||
addresses_(addresses),
|
||||
current_address_index_(-1),
|
||||
current_address_index_(current_address_index),
|
||||
next_connect_state_(CONNECT_STATE_NONE),
|
||||
previously_disconnected_(false),
|
||||
total_received_bytes_(0),
|
||||
|
Loading…
Reference in New Issue
Block a user