We should be setting this true when calling fault() from connect().
And rename it in the header -- it does produce less output when set,
but it's actually useful because it changes the shutdown logic
slightly.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
pipe_lock.Lock();
fail_locked:
if (state == STATE_CONNECTING)
- fault();
+ fault(true);
else
ldout(msgr->cct,3) << "connect fault, but state != connecting, stopping" << dendl;
int write_ack(uint64_t s);
int write_keepalive();
- void fault(bool silent=false, bool reader=false);
+ void fault(bool onconnect=false, bool reader=false);
void fail();
void was_session_reset();