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

IReactorSSL.listenSSL has wrong return type #10274

Closed
twisted-trac opened this issue Nov 10, 2021 · 2 comments
Closed

IReactorSSL.listenSSL has wrong return type #10274

twisted-trac opened this issue Nov 10, 2021 · 2 comments

Comments

@twisted-trac
Copy link

clokep's avatar @clokep reported
Trac ID trac#10274
Type defect
Created 2021-11-10 13:34:16Z

IReactorSSL.listenSSL is defined as returning an int, this is incorrect and it should return an IListeningPort instance, similar to IReactorTCP.listenTCP.

IReactorSSL has three implementors:

This was found while adding type hints to Synapse: matrix-org/synapse#11287; I'll attempt to put up a pull request later today.

Searchable metadata
trac-id__10274 10274
type__defect defect
reporter__clokep clokep
priority__low low
milestone__None None
branch__ 
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1636551256075533 1636551256075533
changetime__1646513339913958 1646513339913958
version__None None
owner__None None

@twisted-trac
Copy link
Author

clokep's avatar @clokep commented

Fix is at #1672

@twisted-trac
Copy link
Author

twm's avatar @twm set status to closed

Approved and queued for merge. Thank you for making the review easy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant