Skip to content

SSLContext.wrap_socket() throws OSError with errno == 0 #75305

Description

@nikratio
mannequin
BPO 31122
Nosy @gpshead, @tiran, @jab, @bdarnell, @vadmium, @dimaqq, @Safihre, @xgid, @miss-islington, @remilapeyre, @shevisjohnson
PRs
  • bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation #18772
  • [3.9] bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation (GH-18772) #21888
  • [3.8] bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation (GH-18772) #21889
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/gpshead'
    closed_at = <Date 2020-08-15.17:06:01.924>
    created_at = <Date 2017-08-04.19:16:41.456>
    labels = ['expert-SSL', '3.8', 'type-bug', '3.7', '3.9']
    title = 'SSLContext.wrap_socket() throws OSError with errno == 0'
    updated_at = <Date 2020-08-15.17:45:01.059>
    user = 'https://bugs.python.org/nikratio'

    bugs.python.org fields:

    activity = <Date 2020-08-15.17:45:01.059>
    actor = 'miss-islington'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2020-08-15.17:06:01.924>
    closer = 'gregory.p.smith'
    components = ['SSL']
    creation = <Date 2017-08-04.19:16:41.456>
    creator = 'nikratio'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31122
    keywords = ['patch']
    message_count = 18.0
    messages = ['299759', '299766', '299793', '328093', '332779', '336732', '363318', '363322', '363329', '363333', '364067', '367335', '375471', '375478', '375479', '375481', '375482', '375484']
    nosy_count = 12.0
    nosy_names = ['gregory.p.smith', 'christian.heimes', 'jab', 'nikratio', 'Ben.Darnell', 'martin.panter', 'Dima.Tisnek', 'Safihre', 'xgdomingo', 'miss-islington', 'remi.lapeyre', 'shevis']
    pr_nums = ['18772', '21888', '21889']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31122'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions