hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Iron out ssl_compat module.

Open Lukasa opened this issue 11 years ago • 2 comments

There are some TODOs and best-guesses in the ssl_compat module that I'd like to iron out at some stage.

No specific actions here, just a general 'stay aware' note.

Lukasa avatar Apr 05 '14 21:04 Lukasa

I'm running python 2.7.3 and got error from the following:

virtualenv/src/hyper/hyper/ssl_compat.py", line 130, in _safe_ssl_call
    raise socket.error(e.args[0])
IndexError: tuple index out of range

from

except ossl.Error as e:
                if suppress_ragged_eofs and e.args == (-1, 'Unexpected EOF'):
                    return b''
                raise socket.error(e.args[0])

I already have pyOpenSSL==16.0.0 and service-identity==16.0.0 and running with the latest master.

frostli avatar Sep 23 '16 20:09 frostli

Hrm. How familiar are you with pdb? I'd like to know what was going on there.

Lukasa avatar Sep 24 '16 17:09 Lukasa