]> src.bluestatic.org Git - macgdbp.git/commit
Redo how socket shutdown works:
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 30 May 2011 02:05:38 +0000 (22:05 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 30 May 2011 02:05:38 +0000 (22:05 -0400)
commit293019fcbb14efd9edaf7285223489a161105c0e
tree04f2065dd3aacb4baa3ceb67540f6702edfb6234
parentccb994c4c68cd42b1739fc0304991d2137638de4
Redo how socket shutdown works:
* Keep hold of the socketHandle_ from the accept callback
* close() this socket (creating a CFSocket breaks CFStreams)
* Implement -[NetworkConnectionDelegate connectionDidClose:] to reconnect if attached
* When kCFStreamEventEndEncountered is received, just go through CloseConnection(), same with kCFStreamEventErrorOccurred
Source/DebuggerBackEnd.m
Source/NetworkCallbackController.mm
Source/NetworkConnection.mm