[Freeipa-devel] [freeipa PR#624][comment] Use connection keep-alive

tomaskrizek freeipa-github-notification at redhat.com
Mon Mar 20 15:37:24 UTC 2017


  URL: https://github.com/freeipa/freeipa/pull/624
Title: #624: Use connection keep-alive

tomaskrizek commented:
"""
The extra connections seem to come from the internals of `httplib` library. If the hostname resolves to both IPv4 and IPv6 address, one connection is established to IPv4 and two to IPv6. I wasn't able to find the reason for this, but it doesn't seem to be related to our code.

```
connect(4, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("10.0.0.1")}, 16) = 0
connect(4, {sa_family=AF_INET6, sin6_port=htons(443), inet_pton(AF_INET6, "dead:beef::cafe", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0
connect(4, {sa_family=AF_INET6, sin6_port=htons(443), inet_pton(AF_INET6, "dead:beef::cafe", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0
```
"""

See the full comment at https://github.com/freeipa/freeipa/pull/624#issuecomment-287798248


More information about the Freeipa-devel mailing list