]> granicus.if.org Git - python/commit
#14758: Need to specify the desired socket type in the getaddrinfo call.
authorR David Murray <rdmurray@bitdance.com>
Wed, 11 Jun 2014 19:17:50 +0000 (15:17 -0400)
committerR David Murray <rdmurray@bitdance.com>
Wed, 11 Jun 2014 19:17:50 +0000 (15:17 -0400)
commit012a83ab261f7b0357e9c29c9022315ab9c7d970
treeed61a03826030a79a84a121928c7f4b751a7ff42
parent6ffface4293f20e504de6a7ca012c482a203409d
#14758: Need to specify the desired socket type in the getaddrinfo call.

This worked by accident on Linux because the SOCK_STREAM was returned
first, but on the FreeBSD the SOCK_DGRAM is first in the list.
Lib/smtpd.py