~tangent-trunk/libmemcached/1.0

« back to all changes in this revision

Viewing changes to libmemcached/connect.cc

  • Committer: Continuous Integration
  • Date: 2012-12-31 10:53:13 UTC
  • mfrom: (1121.1.14 libmemcached-1.0)
  • Revision ID: ci@tangent.org-20121231105313-fjxoa7lih4i5h5q8
Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-181

Show diffs side-by-side

added added

removed removed

Lines of Context:
631
631
      server->fd= INVALID_SOCKET;
632
632
      continue;
633
633
 
 
634
    case ECONNREFUSED:
 
635
      // Probably not running service
 
636
 
634
637
    default:
635
638
      break;
636
639
    }
830
833
  return rc;
831
834
}
832
835
 
833
 
memcached_return_t memcached_connect_try(org::libmemcached::Instance* server)
834
 
{
835
 
  if (server and server->root and server->root->state.is_parsing)
836
 
  {
837
 
    return MEMCACHED_SUCCESS;
838
 
  }
839
 
 
840
 
  return _memcached_connect(server, false);
841
 
}
842
 
 
843
836
memcached_return_t memcached_connect(org::libmemcached::Instance* server)
844
837
{
845
838
  return _memcached_connect(server, true);