Skip to content

allow Mux() flush/fill to work with python < 3.5#507

Merged
brianmay merged 1 commit intosshuttle:masterfrom
ddstreet:old_py
Aug 17, 2020
Merged

allow Mux() flush/fill to work with python < 3.5#507
brianmay merged 1 commit intosshuttle:masterfrom
ddstreet:old_py

Conversation

@ddstreet
Copy link
Contributor

Fixes: #503

@ddstreet
Copy link
Contributor Author

I'm not sure if you want to carry code to keep compatibility with (remote-side) python < 3.5, but just in case I think this is the minimum needed for that, after the patch for #381

I'm also rather concerned that MuxWrapper() simply passes the rfile/wfile up to SocketWrapper() who still thinks they are actual sockets...

@brianmay
Copy link
Member

Looks good, thanks. Note this will not fix all Python 2.7 compatibility issues. See #508. But probably was the more difficult issue to resolve.

@brianmay brianmay merged commit e7d4931 into sshuttle:master Aug 17, 2020
@ddstreet ddstreet deleted the old_py branch June 17, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR#431 breaks connecting to Python <=3.5 hosts.

2 participants