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);
|
||||
if (nread < 0) {
|
||||
log_message (LOG_ERR,
|
||||
"Error reading readable client_fd %d",
|
||||
connptr->client_fd);
|
||||
"Error reading readable client_fd %d (%s)",
|
||||
connptr->client_fd, strerror(errno));
|
||||
ret = -1;
|
||||
} else {
|
||||
log_message (LOG_INFO,
|
||||
|
Loading…
Reference in New Issue
Block a user