[mythtv] [mythtv-commits] mythtv commit: r14889 by nigel
Robert Tsai
mythtv at tsaiberspace.net
Tue Nov 27 08:49:16 UTC 2007
On Sun, Nov 18, 2007 at 09:43:27AM +0000, mythtv at cvs.mythtv.org wrote:
> Author: nigel
> Date: 2007-11-18 09:43:26 +0000 (Sun, 18 Nov 2007)
> New Revision: 14889
> Changeset: http://cvs.mythtv.org/trac/changeset/14889
>
> Modified:
>
> trunk/mythtv/programs/mythbackend/main.cpp
> trunk/mythtv/programs/mythbackend/mediaserver.cpp
>
> Log:
>
> Prevent segfault if MediaServer:: returns before creating HttpServer,
> prevent MediaServer creation if server address is not addressable externally.
This change means that 127.0.0.1 in the configuration no longer works.
Why is such an internal address not allowed?
The mythweb status no longer works for this kind of configuration.
I removed the check for localhost and made the following change in my
tree (removing the initialization of the now-unused "sIPAddrList"),
and mythweb is working again (with a BackendIPAddress of 127.0.0.1),
although I don't know about the rest of uPnP.
- if (Initialize( sIPAddrList, nPort, m_pHttpServer ))
+ if (Initialize( nPort, m_pHttpServer ))
--Rob
More information about the mythtv-dev
mailing list