mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-18 01:26:23 -04: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);
|
||||
rb->length = length;
|
||||
rb->freespace -= length;
|
||||
set_nonblocking_fd(fd);
|
||||
|
||||
conn->unrestartable = 1;
|
||||
conn->socket->state = SOCKET_END_ONCLOSE;
|
||||
|
Loading…
Reference in New Issue
Block a user