| 592 | } |
| 593 | |
| 594 | static void __redisAsyncHandleConnectFailure(redisAsyncContext *ac) { |
| 595 | if (ac->onConnect) ac->onConnect(ac, REDIS_ERR); |
| 596 | __redisAsyncDisconnect(ac); |
| 597 | } |
| 598 | |
| 599 | /* Internal helper function to detect socket status the first time a read or |
| 600 | * write event fires. When connecting was not successful, the connect callback |
no test coverage detected