diff options
author | Ciaran McGirl <ciaranomac@gmail.com> | 2021-02-05 11:25:29 +0000 |
---|---|---|
committer | Asif Saif Uddin <auvipy@gmail.com> | 2021-02-06 11:39:36 +0600 |
commit | 3db08f6f43f0095893e0284bba96d03bed3caa33 (patch) | |
tree | 405947a2887125c562cdcf65beaf7bbe251c58fe | |
parent | 5bcae4a19636d7e43164e31ba2048c3bc6d03a1c (diff) | |
download | py-amqp-3db08f6f43f0095893e0284bba96d03bed3caa33.tar.gz |
remove TCP_USER_TIMEOUT option for Solaris
-rw-r--r-- | amqp/platform.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/amqp/platform.py b/amqp/platform.py index 69bc429..6f6c6f3 100644 --- a/amqp/platform.py +++ b/amqp/platform.py @@ -62,8 +62,10 @@ elif sys.platform.startswith('cygwin'): # illumos does not allow to set the TCP_MAXSEG socket option, # even if the Oracle documentation says otherwise. + # TCP_USER_TIMEOUT does not exist on Solaris 11.4 elif sys.platform.startswith('sunos'): KNOWN_TCP_OPTS.remove('TCP_MAXSEG') + KNOWN_TCP_OPTS.remove('TCP_USER_TIMEOUT') # aix does not allow to set the TCP_MAXSEG # or the TCP_USER_TIMEOUT socket options. |