|
|
@ -248,7 +248,7 @@ int read_socket_line(connsock_t *cs, int timeout) |
|
|
|
while (42) { |
|
|
|
while (42) { |
|
|
|
char readbuf[PAGESIZE] = {}; |
|
|
|
char readbuf[PAGESIZE] = {}; |
|
|
|
|
|
|
|
|
|
|
|
wait_read_select(cs->fd, eom ? 0 : timeout); |
|
|
|
ret = wait_read_select(cs->fd, eom ? 0 : timeout); |
|
|
|
if (eom && !ret) |
|
|
|
if (eom && !ret) |
|
|
|
break; |
|
|
|
break; |
|
|
|
if (ret < 1) { |
|
|
|
if (ret < 1) { |
|
|
|