Message324015
Inspired by msg211764 I made a PR - which I hope is okay to add here.
If not, a new issue and PR can be made later.
In short:
For address family of AF_UNIX or AF_UNIX_CCSID, getsockname() returns 0 if issued before a bind(). The address length is 0. This is always the case for sockets created by socketpair().
That is at least one possible explanation I found.
Have testewd on AIX 6.1 and AIX 7.1 - on AF_UNIX family getsockname() returns 'None' (i.e., transport.get_extra_info('sockname') returns None) |
|
Date |
User |
Action |
Args |
2018-08-24 20:40:22 | Michael.Felt | set | recipients:
+ Michael.Felt, ronaldoussoren, vstinner, ned.deily, python-dev, hynek, yselivanov |
2018-08-24 20:40:22 | Michael.Felt | set | messageid: <1535143222.1.0.56676864532.issue20682@psf.upfronthosting.co.za> |
2018-08-24 20:40:22 | Michael.Felt | link | issue20682 messages |
2018-08-24 20:40:21 | Michael.Felt | create | |
|