http://cvs.openssl.org/chngview?cn=19053 made me wonder if bind() and
authorAndy Polyakov <appro@openssl.org>
Thu, 7 Jan 2010 13:12:30 +0000 (13:12 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 7 Jan 2010 13:12:30 +0000 (13:12 +0000)
commit25d1d62275316c9b13163bd910c831c850467f81
tree19475610d589db7f95d3c6a2143ae8c6bc87fee6
parent9b5ca556956bb67b7b24dfb84efd099c0a7eed6c
cvs.openssl.org/chngview?cn=19053 made me wonder if bind() and
connect() are as finicky as sendto() when it comes to socket address
length. As it turned out they are, therefore the fix. Note that you
can't reproduce the problem on Linux, it was failing on Solaris,
FreeBSD, most likely on more...
crypto/bio/b_sock.c