[erlang-questions] ssh synchronous send_eof()?
Tue Aug 28 17:23:28 CEST 2012
I am trying to send a large binary (a couple MB) followed by an eof through
an ssh channel using the following:
ssh_connection:send(Conn, Chan, BigBinary),
send() returns immediately and the ssh processes will keep transmitting ssh
packets until done. Great.
send_eof() causes the eof message to be sent *asynchronously* without
waiting for the above data to finish.. only about 87kB gets through before
the remote system gets the eof and stops listening. Not great.
Is there any way to do a synchronous send_eof() or send()?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions