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:
parent
e75522d19c
commit
1b85b63f97
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user