Thriftpy / thriftpy2

Pure python approach of Apache Thrift.
MIT License
569 stars 91 forks source link

Support using ipv6 in make_client/make_server method #261

Closed cocolato closed 5 months ago

cocolato commented 5 months ago

Fix: https://github.com/Thriftpy/thriftpy2/issues/204

aisk commented 5 months ago

There are still some codes where socket_family is applied to unix domain sockets.

cocolato commented 5 months ago

There are still some codes where socket_family is applied to unix domain sockets.

Does this mean that when users pass in the unix_socket option, they will not be supported to pass in the additional socket_family option?

aisk commented 5 months ago

Yes, the unix domain socket's socket_family must be AF_UNIX. See: https://www.ibm.com/docs/en/i/7.3?topic=characteristics-socket-address-family

cocolato commented 5 months ago

Yes, the unix domain socket's socket_family must be AF_UNIX. See: https://www.ibm.com/docs/en/i/7.3?topic=characteristics-socket-address-family

Updated.