ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/connection.C
(Generate patch)

Comparing gvpe/src/connection.C (file contents):
Revision 1.86 by pcg, Thu Jan 21 04:30:32 2010 UTC vs.
Revision 1.87 by pcg, Fri Nov 12 18:39:33 2010 UTC

1014 slog (L_TRACE, "%s >> PT_PING", conf->nodename); 1014 slog (L_TRACE, "%s >> PT_PING", conf->nodename);
1015 1015
1016 // we send pings instead of auth packets after some retries, 1016 // we send pings instead of auth packets after some retries,
1017 // so reset the retry counter and establish a connection 1017 // so reset the retry counter and establish a connection
1018 // when we receive a ping. 1018 // when we receive a ping.
1019 if (!ictx) 1019 if (!(ictx && octx))
1020 { 1020 {
1021 if (auth_rate_limiter.can (rsi)) 1021 if (auth_rate_limiter.can (rsi))
1022 send_auth_request (rsi, true); 1022 send_auth_request (rsi, true);
1023 } 1023 }
1024 else 1024 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines