Connection: fixed error [#CONV-5331].

This commit is contained in:
Alexey Milovidov 2012-07-27 11:17:34 +00:00
parent 292958fc73
commit 0e099d8207

View File

@ -20,9 +20,9 @@ namespace DB
void Connection::connect()
{
socket.connect(Poco::Net::SocketAddress(host, port), connect_timeout);
socket.setReceiveTimeout(receive_timeout);
socket.setSendTimeout(send_timeout);
socket.connect(Poco::Net::SocketAddress(host, port), connect_timeout);
connected = true;