1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

file: set_nonblocking_fd when reading from the copiousoutput's pipe.

This commit is contained in:
Witold Filipczyk 2007-05-24 12:29:29 +02:00 committed by Witold Filipczyk
parent e75522d19c
commit 1b85b63f97

View File

@ -256,6 +256,7 @@ read_special(struct connection *conn, int fd)
memcpy(rb->data, header, length); memcpy(rb->data, header, length);
rb->length = length; rb->length = length;
rb->freespace -= length; rb->freespace -= length;
set_nonblocking_fd(fd);
conn->unrestartable = 1; conn->unrestartable = 1;
conn->socket->state = SOCKET_END_ONCLOSE; conn->socket->state = SOCKET_END_ONCLOSE;