Skip Menu |

This queue is for tickets about the HTTP-ClickHouse CPAN distribution.

Report information
The Basics
Id: 126992
Status: new
Priority: 0/
Queue: HTTP-ClickHouse

People
Owner: MMV [...] cpan.org
Requestors: BASHINSKY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't call method "write_request" on an undefined value
При потере сети возникает ошибка: ``` Error. Can't connect to ClickHouse host: Operation timed out at ... Can't call method "write_request" on an undefined value at /opt/local/lib/perl5/site_perl/5.24/HTTP/ClickHouse.pm line 206, <DATA> line 24812. ``` Проблема в том, что в _query перед вызовом write_request не проверяется, что соединение `$self->{socket}` было успешно создано в _connect.