1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-16 01:08:31 -04: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);
rb->length = length;
rb->freespace -= length;
set_nonblocking_fd(fd);
conn->unrestartable = 1;
conn->socket->state = SOCKET_END_ONCLOSE;