]> git.mxchange.org Git - simgear.git/commit
Terrasync: implement HTTP service lookup via DNS
authorTorsten Dreyer <torsten@t3r.de>
Tue, 3 May 2016 10:11:38 +0000 (12:11 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
commitc8aa989ac776395a20229700e6b801ee510e4a7a
treee4d3d685cfe9b6f8bc8c30915c3b1881506f1250
parent930b4f0632b2bf63409cb46fc25406ada274e8ad
Terrasync: implement HTTP service lookup via DNS

Let terrasync use the http repository if
  /sim/terrasync/http-server == "automatic"
  resolve DNS NAPTR RR for terrasync.flightgear.org with service "ws20"
  and flags "U". Pick one of the returned entries with lowest order
  and preference. If more than one entry  with the same order and
  preference is returned, pick a random entry of those returned.

or if
  /sim/terrasync/http-server != "automatic"
  explicitly use the value of that property as the http server

if
  /sim/terrasync/http-server is empty, fall back to the legacy
  SVN repository
simgear/scene/tsync/terrasync.cxx