Depending on how desperate you are to confirm/refute a https problem.

I just checked how to enable some Perl module IO::Socket::SSL logging
when LMS accesses a https URL. It generates lots of messages to console
(i.e. LMs must be run form a commandline) - most of which are "normal".

The LMS file Slim/Networking/Asynch/Socket/HTTPS.pm

The file should be edited to add " qw(debug3)"    - it can be debug0,
debug1, debug2, debug3 and debug4 - different levels 

It is a small file - change is highlighted in red.


Code:
--------------------
    
  package Slim::Networking::Async::Socket::HTTPS;
  
  # $Id$
  
  # Logitech Media Server Copyright 2003-2011 Logitech.
  # This program is free software; you can redistribute it and/or
  # modify it under the terms of the GNU General Public License, 
  # version 2.
  
  use strict;
  
  BEGIN {
        # Force Net::HTTPS to use IO::Socket::SSL
        use IO::Socket::SSL qw(debug2);
  }
  
  use base qw(Net::HTTPS::NB Slim::Networking::Async::Socket);
  
  sub new {
        my ($class, %args) = @_;
        $args{'Blocking'} = 0;
        return $class->SUPER::new(%args);
  }
  
  sub close {
        my $self = shift;
  
        # remove self from select loop
        Slim::Networking::Select::removeError($self);
        Slim::Networking::Select::removeRead($self);
        Slim::Networking::Select::removeWrite($self);
        Slim::Networking::Select::removeWriteNoBlockQ($self);
  
        $self->SUPER::close();
  }
  
  1;
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=111191

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to