pysat / pysatNASA

pysat support for NASA Instruments
BSD 3-Clause "New" or "Revised" License
21 stars 6 forks source link

BUG: SSL Download Issue #69

Closed rstoneback closed 3 years ago

rstoneback commented 3 years ago

Addresses #68

Improves download robustness by ensuring that requests closes each connection. Multiple calls to download in a short timeframe can result in requests reusing a connection but then SSL gets out of sync.

jklenzing commented 3 years ago

This looks good. Is removing sys.stdout.flush() intentional?

rstoneback commented 3 years ago

This looks good. Is removing sys.stdout.flush() intentional?

Yep. I originally added that back when all feedback was via print to stdout. With logging I don't think flushing stdout has any effect.