seastar::socket: Be resilient against ENOTCONN
seastar::socket: Be resilient against ENOTCONN

If shutdown() is called before connect() is called or after connect()
but before a continuation dealing with the potentially erroneous
result of connect(), then it may trigger an ENOTCONN error. This patch
makes sestar::socket against such scenarios by ignoring ENOTCONN.

Signed-off-by: Duarte Nunes <a60e8b7496f7715d71354fe4c06dd24017025bf1@scylladb.com>
Message-Id: <1462989606-6958-1-git-send-email-a60e8b7496f7715d71354fe4c06dd24017025bf1@scylladb.com>

avikivity/seastar,dreamsxin/seastar,dreamsxin/seastar,kjniemi/seastar,avikivity/seastar,syuu1228/seastar,cloudius-systems/seastar,kjniemi/seastar,syuu1228/seastar,avikivity/seastar,scylladb/seastar,scylladb/seastar,dreamsxin/seastar,cloudius-systems/seastar,syuu1228/seastar,kjniemi/seastar,cloudius-systems/seastar,scylladb/seastar