| 263 | } |
| 264 | |
| 265 | void clientInstallAsyncWriteHandler(client *c) { |
| 266 | serverAssert(GlobalLocksAcquired()); |
| 267 | if (!(c->fPendingAsyncWrite)) { |
| 268 | c->fPendingAsyncWrite = TRUE; |
| 269 | listAddNodeHead(serverTL->clients_pending_asyncwrite,c); |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | /* This function is called every time we are going to transmit new data |
| 274 | * to the client. The behavior is the following: |
no test coverage detected