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

[DO NOT MERGE] Some attempts at 17.5 fixes. #135

Closed
wants to merge 1 commit into from

Conversation

hawkowl
Copy link

@hawkowl hawkowl commented Jun 4, 2017

@exarkun

This contains fixes for most of the issues present in 17.1 and 17.5, although I've only tested on 17.5. This code is in no way ready for landing, but it does identify the issues so that you may tackle them in a cleaner way :)

The largest change is that connectSSL isn't used by Agent anymore, it's a regular TCP connection with a wrapped protocol. This causes the failure I haven't fixed in test_https_bearer_token_authorization, and would need a special 17.1+ codepath to verify that it's doing the right thing.

Feel free to use the code, even though it's not up to spec :)

nameResolver = _FakeResolver()

MemoryReactor = _ResolvingMemoryReactor
expectedTCPConnectResult = '1.2.3.4'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oughtn't this clearly be part of the public testing interface published by Twisted itself?

@exarkun
Copy link
Contributor

exarkun commented Dec 12, 2017

Thanks. Superseded.

@exarkun exarkun closed this Dec 12, 2017
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.

None yet

2 participants