Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Aug 17, 2020

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