diff options
author | Sean Cribbs <[email protected]> | 2013-02-06 16:28:25 -0600 |
---|---|---|
committer | Sean Cribbs <[email protected]> | 2013-02-11 10:12:47 -0600 |
commit | 288d2431d99bc9dc30c6c6e9564546399c29db60 (patch) | |
tree | c5afabbcb891ea8c1d1bf267ed66bf3e59eeac77 /lib/megaco/test | |
parent | 2ec63b31743a177446884ed12736607d3fbea1ef (diff) | |
download | otp-288d2431d99bc9dc30c6c6e9564546399c29db60.tar.gz otp-288d2431d99bc9dc30c6c6e9564546399c29db60.tar.bz2 otp-288d2431d99bc9dc30c6c6e9564546399c29db60.zip |
Fix type of error Reason on gen_tcp:send/2
When the TCP socket is in passive mode, it is possible that a close
message has not been delivered to the controlling process before
calling send/2. This results in the returning {error, closed} to the
caller, in the same way that recv/2,3 does. This commit adjusts the
type of the error "Reason" to include the atom 'closed'.
Diffstat (limited to 'lib/megaco/test')
0 files changed, 0 insertions, 0 deletions