aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_sftpd_file_api.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-04-01 10:01:05 +0200
committerIngela Anderton Andin <[email protected]>2015-04-07 23:00:46 +0200
commit9610d69586cbc54cc6068d2d736d5c47d9acce03 (patch)
tree7847e7c97c63bab322e4fa312a4d3397974b9bda /lib/ssh/src/ssh_sftpd_file_api.erl
parent29a483d4f1eb42e23e30372d14ad69db2e9f33b9 (diff)
downloadotp-9610d69586cbc54cc6068d2d736d5c47d9acce03.tar.gz
otp-9610d69586cbc54cc6068d2d736d5c47d9acce03.tar.bz2
otp-9610d69586cbc54cc6068d2d736d5c47d9acce03.zip
ssh: Add {active, false} to ssh listen socket
The ssh acceptor process listens for connections and spawns a process to handle each new connection that it accepts. The ownership of the accepted socket will be transfered to the new process that will handle the incomming messages. Before the ownership is transfered the socket should be in {active, false} or the acceptor process may receive data aimed for the connection. As the accept socket inherits the listen options we set {active, false} there.
Diffstat (limited to 'lib/ssh/src/ssh_sftpd_file_api.erl')
0 files changed, 0 insertions, 0 deletions