mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
fsp: set_nonblocking_fd
[ This is part of commit71adb0e6cc
from the witekfl branch. The SMB part is in commit36477ffa45
. The CGI part will come later. --KON ]
This commit is contained in:
parent
6cf69b2948
commit
93f3dc3bbf
@ -394,6 +394,8 @@ fsp_protocol_handler(struct connection *conn)
|
||||
|
||||
conn->data_socket->fd = fsp_pipe[0];
|
||||
conn->socket->fd = header_pipe[0];
|
||||
set_nonblocking_fd(conn->data_socket->fd);
|
||||
set_nonblocking_fd(conn->socket->fd);
|
||||
close(fsp_pipe[1]);
|
||||
close(header_pipe[1]);
|
||||
buf2 = alloc_read_buffer(conn->socket);
|
||||
|
Loading…
Reference in New Issue
Block a user