commit | 0f543eda81bf1e938365f008fda88eb695ab56ce | [log] [tgz] |
---|---|---|
author | Jesse Gumm <gumm@sigma-star.com> | Wed Sep 26 15:19:33 2018 -0500 |
committer | Jesse Gumm <gumm@sigma-star.com> | Wed Sep 26 15:20:39 2018 -0500 |
tree | 62c8f8453e1af956f691bcfe99575e9fbd92683a | |
parent | c06e08ee29e215cc7f3e5f940fabf5f5834a7096 [diff] |
Don't crash of a socket is closed server side If for some reason, the programmer decides to close the socket server side, the return value for setopts on the socket is {error, einval} rather than {error, closed}. This change accepts that and suppresses the error message generated.