mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
smb: set_nonblocking_fd
[ This is part of commit 71adb0e6cc8edaad80bb6407d4409b6a1c00993e from the witekfl branch. The FSP and CGI parts will come later. --KON ]
This commit is contained in:
parent
c828cda079
commit
36477ffa45
@ -461,6 +461,8 @@ smb_protocol_handler(struct connection *conn)
|
||||
|
||||
conn->data_socket->fd = smb_pipe[0];
|
||||
conn->socket->fd = header_pipe[0];
|
||||
set_nonblocking_fd(conn->data_socket->fd);
|
||||
set_nonblocking_fd(conn->socket->fd);
|
||||
close(smb_pipe[1]);
|
||||
close(header_pipe[1]);
|
||||
buf2 = alloc_read_buffer(conn->socket);
|
||||
|
Loading…
x
Reference in New Issue
Block a user