[mythtv-commits] mythtv branch master updated by pbennett. v29-pre-336-g82d36c7

Git Repo Owner noreply at mythtv.org
Sun Feb 26 19:31:37 UTC 2017

The branch, master has been updated on the
mythtv repository by gitolite user pbennett.
       via  82d36c72764e5a460fcc0ec391c94435a0ec2269 (commit)
      from  cdc57f4c504cba9e5063af24b3d38c311577b41f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 82d36c72764e5a460fcc0ec391c94435a0ec2269
Author:    Peter Bennett <pbennett at mythtv.org> at Sun, 26 Feb 2017 14:22:44 -0500
Committer: Peter Bennett <pbennett at mythtv.org> at Sun, 26 Feb 2017 14:22:44 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=82d36c72764e5a460fcc0ec391c94435a0ec2269

Support for IPV6 link-local addresses.
Fix support for link-local in startup window.
Create a new PortChecker class that checks if a port is open and
also resolves IPV6 link-local scope.
Change backend connection to use the PortChecker class.
Fix invalid xml in services when a link-local address with scope is sent.
No longer store the scope with the link-local ip address in config.xml or database
settings. If they are present they will be stripped and replaced with
correct value.

After all of this, IPV6 link-local addresses can be used for the database
connection in cofig.xml and for the backend ip address and master backend address.
Auto discovery of backend works for database with link-local address
but not if the backend also uses link-local listen address.

Still not working - services API with link-local address, because
http URLs with % sign in the IP address are not supported.


Summary of changes:
 mythtv/libs/libmyth/guistartup.cpp                 |   59 +++++-
 mythtv/libs/libmyth/guistartup.h                   |   34 +++-
 mythtv/libs/libmyth/mythcontext.cpp                |  112 ++++-----
 mythtv/libs/libmyth/mythcontext.h                  |   13 +-
 mythtv/libs/libmythbase/libmythbase.pro            |    4 +-
 mythtv/libs/libmythbase/mythsocket.cpp             |   61 +----
 mythtv/libs/libmythbase/portchecker.cpp            |  240 ++++++++++++++++++++
 .../libmythbase/portchecker.h}                     |   67 +++---
 mythtv/programs/mythbackend/services/myth.cpp      |   12 +-
 mythtv/programs/mythtv-setup/backendsettings.cpp   |    5 +
 10 files changed, 449 insertions(+), 158 deletions(-)
 create mode 100644 mythtv/libs/libmythbase/portchecker.cpp
 copy mythtv/{programs/mythbackend/serviceHosts/captureServiceHost.h => libs/libmythbase/portchecker.h} (50%)


More information about the mythtv-commits mailing list