Reviewed: https://review.openstack.org/620583 Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=16297a3014266f1da2c0a87a19027c7eeec577ea Submitter: Zuul Branch: stable/pike
commit 16297a3014266f1da2c0a87a19027c7eeec577ea Author: Jens Harbott <email address hidden> Date: Thu Nov 23 16:44:02 2017 +0000
Fix servicing IPv6 based TCP connections
When a connection is received via IPv6, the address is a 4-tuple instead of a 2-tuple for IPv4, so handle this accordingly.
Also handle the end of the TCP connection gracefully instead of emitting an "Invalid packet" warning every time.
[1] https://docs.python.org/2/library/socket.html
Change-Id: I935bbea1d58af8a5b41b5d29f12de4dcb7cf6301 Closes-Bug: 1734101 (cherry picked from commit 5e45b15419e80539e35d08380351445553bf92b0)
Reviewed: https:/ /review. openstack. org/620583 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=16297a30142 66f1da2c0a87a19 027c7eeec577ea
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 16297a3014266f1 da2c0a87a19027c 7eeec577ea
Author: Jens Harbott <email address hidden>
Date: Thu Nov 23 16:44:02 2017 +0000
Fix servicing IPv6 based TCP connections
When a connection is received via IPv6, the address is a 4-tuple
instead of a 2-tuple for IPv4, so handle this accordingly.
Also handle the end of the TCP connection gracefully instead of
emitting an "Invalid packet" warning every time.
[1] https:/ /docs.python. org/2/library/ socket. html
Change-Id: I935bbea1d58af8 a5b41b5d29f12de 4dcb7cf6301 9e35d0838035144 5553bf92b0)
Closes-Bug: 1734101
(cherry picked from commit 5e45b15419e8053