forked from steveyen/moxi
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cproxy_on_connect_downstream_conn hooked up
Downstream connect() is now non-blocking, leveraging on zstored conn_connecting state in drive_machine(). During hookup of this code, refactored out a delink_from_downstream_conns() helper func as we want to clear out the downstream_conns[] array appropriately during an error. Change-Id: Ie3941d156ae2bc48bf376c51a09c94bbefafe8bc Reviewed-on: http://review.northscale.com/2262 Tested-by: Steve Yen <steve.yen@gmail.com> Reviewed-by: Steve Yen <steve.yen@gmail.com>
- Loading branch information
Showing
2 changed files
with
56 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters