Skip to content

Add function 'settimeout' to class SSLSocket #18531

Description

@magnus-0

Description

After wrapping a micropython socket to get a SSLSocket, the function 'settimeout()' fails, reporting that feature doesn't exist (same with 'gettimeout()'). Interestingly though, the 'setblocking()' function does exist and seemingly work.

AttributeError: 'SSLSocket' object has no attribute 'settimeout'

Code Size

Irrelevant (the feature was most likely already supposed to be there but overlooked?)

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

[MODERATOR: This topic may have been better posted under 'micropython-lib' instead of plain micropython...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementationsextmodRelates to extmod/ directory in source

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions