]> git.ipfire.org Git - thirdparty/cups.git/commit
More tweakage for STR #1313, mainly to remove the IPv4-over-IPv6 address
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 12 Oct 2005 12:25:27 +0000 (12:25 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 12 Oct 2005 12:25:27 +0000 (12:25 +0000)
commit5a63a8c3d1397582d798d1548e25a850eb56b3c3
treed1330a49d7a9135c08d0ab1769e82aa6cca63a67
parent2ccffa6ac2513bec594ec445dd4933b8aa619c52
More tweakage for STR #1313, mainly to remove the IPv4-over-IPv6 address
support and to properly handle addresses that can't be bound.

cups/http-addr.c:
    - httpAddrEqual(): Drop support for IPv4-over-IPv6 addresses.
    - httpAddrLocalhost(): Drop support for IPv4-over-IPv6
      addresses.

cups/http-addrlist.c:
    - httpAddrGetList(): Support NULL hostname which maps to the
      passive listener ("any") address(es), and add different
      localhost fallback code.

scheduler/conf.c:
    - get_address(): Drop deffamily and defaddress arguments, and
      simplify to use httpAddrGetList() exclusively for all
      lookups.
    - read_configuration(): Update to use new get_address()
      parameters.

scheduler/listen.c:
    - cupsdPauseListening(), cupsdResumeListening(): Ignore
      listen sockets < 0.
    - cupsdStartListening(): Don't abort because of a
      socket/listen error, drop IPv4-over-IPv6 support, drop
      fallback to IPv4 after failed IPv6 socket on localhost/any
      addresses.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@4773 7a7537e8-13f0-0310-91df-b6672ffda945
cups/http-addr.c
cups/http-addrlist.c
scheduler/conf.c
scheduler/listen.c