changeset 51703 | ca7bde5dbafb |
parent 51700 | 7f0cb9ee0534 |
child 52114 | 7332eae326de |
51702:b0a4de6c14f8 | 51703:ca7bde5dbafb |
---|---|
23 |
23 |
24 if os.environ.get('HGIPV6', '0') == '1': |
24 if os.environ.get('HGIPV6', '0') == '1': |
25 |
25 |
26 class simplehttpserver(httpserver.httpserver): |
26 class simplehttpserver(httpserver.httpserver): |
27 address_family = socket.AF_INET6 |
27 address_family = socket.AF_INET6 |
28 |
|
29 |
28 |
30 else: |
29 else: |
31 simplehttpserver = httpserver.httpserver |
30 simplehttpserver = httpserver.httpserver |
32 |
31 |
33 |
32 |