24 Jul
2009
24 Jul
'09
6:52 p.m.
Is there a good way to do this? My server is a basic HTTP server, and if the client has disconnected while I'm still processing their request I'd like to abort the processing (e.g. no point doing work if the client is not there waiting for the data). I've read I can try to read from the socket, but in HTTP the client sends the request, and doesn't write any more to the socket. - Alex