Thanks a lot! I think that trace lead me right up to a bug I introduced
in my attempt to limit the hammering of mysb.com due to rogue LMS
instances. Could you please try the following change?


Code:
--------------------
    diff --git a/Slim/Networking/SqueezeNetwork.pm 
b/Slim/Networking/SqueezeNetwork.pm
  index cf92d30..4897946 100644
  --- a/Slim/Networking/SqueezeNetwork.pm
  +++ b/Slim/Networking/SqueezeNetwork.pm
  @@ -285,7 +285,7 @@ sub login {
  my $login_params;
  
  # don't run the query if we've failed recently
  -       if ( $time < $nextLoginAttempt && !$params{interactive} ) {
  +       if ( $time < $nextLoginAttempt && !$params{interactive} && 
!$params{SSLfailed} ) {
  $log->warn("We've failed to log in a few moments ago, or are still waiting 
for a response. Let's not try again just yet, we don't want to hammer it.");
  return $params{ecb}->(undef, cstring($client, 'SETUP_SN_VALIDATION_FAILED'));
  }
  
--------------------


Thanks for a great finding!



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107153

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to