improve error message for "Error reading readable client_fd"
maybe this helps to track down the cause of #383.
This commit is contained in:
parent
e91e48dd60
commit
39d7bf6c70
@ -1464,8 +1464,8 @@ get_request_entity(struct conn_s *connptr)
|
|||||||
nread = read_buffer (connptr->client_fd, connptr->cbuffer);
|
nread = read_buffer (connptr->client_fd, connptr->cbuffer);
|
||||||
if (nread < 0) {
|
if (nread < 0) {
|
||||||
log_message (LOG_ERR,
|
log_message (LOG_ERR,
|
||||||
"Error reading readable client_fd %d",
|
"Error reading readable client_fd %d (%s)",
|
||||||
connptr->client_fd);
|
connptr->client_fd, strerror(errno));
|
||||||
ret = -1;
|
ret = -1;
|
||||||
} else {
|
} else {
|
||||||
log_message (LOG_INFO,
|
log_message (LOG_INFO,
|
||||||
|
Loading…
Reference in New Issue
Block a user