Subject: [boost] crash during bad_file_descriptor
From: VIKRAM LODHI (vikram.smvdu_at_[hidden])
Date: 2018-02-26 11:00:53
I have a scenario of single server and multiple client.
server is constantly sending update to connected client.
all the connection and transmission is async.
lets say i have 3 client connected. which they are receiving update .
if one client closed during in middle of transmitting. (killing the process
of client )
my server crashes ..
socket.async_write_some(buffer, [&](error_code& e, size_t size_)
cout << e.message() << endl;
the last error i get is bad_file_descriptor .
pfa : error thrown by gdb
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk