We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72ea076 + 6395754 commit e4dff6aCopy full SHA for e4dff6a
src/helper_startup.py
@@ -140,8 +140,11 @@ def loadConfig():
140
141
def isOurOperatingSystemLimitedToHavingVeryFewHalfOpenConnections():
142
try:
143
- VER_THIS=StrictVersion(platform.version())
144
if sys.platform[0:3]=="win":
+ # This check won't work on BSD platforms, replacing it with
145
+ # platform.release() still won't be portable, as e.g. FreeBSD might
146
+ # return '11.0-CURRENT'. Leave the version check for Windows only.
147
+ VER_THIS=StrictVersion(platform.version())
148
return StrictVersion("5.1.2600")<=VER_THIS and StrictVersion("6.0.6000")>=VER_THIS
149
return False
150
except Exception as err:
0 commit comments