mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
cgi: set_nonblocking_fd
[ This is part of commit71adb0e6cc
from the witekfl branch. The SMB part is in commit36477ffa45
, and the FSP part is in commit93f3dc3bbf
. --KON ]
This commit is contained in:
parent
d341483639
commit
2828d587b2
@ -385,6 +385,8 @@ execute_cgi(struct connection *conn)
|
||||
/* Use data socket for passing the pipe. It will be cleaned up in
|
||||
* close_pipe_and_read(). */
|
||||
conn->data_socket->fd = pipe_read[1];
|
||||
set_nonblocking_fd(conn->socket->fd);
|
||||
set_nonblocking_fd(conn->data_socket->fd);
|
||||
|
||||
send_request(conn);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user