Skip to content

interrupts during long writes cause connection corruption with SSL module #50836

Closed

Description

@janssen
mannequin
BPO 6587
Superseder
  • bpo-8240: ssl.SSLSocket.write may fail on non-blocking sockets
  • 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 = None
    closed_at = <Date 2010-07-08.22:48:03.794>
    created_at = <Date 2009-07-28.00:32:10.018>
    labels = ['type-bug']
    title = 'interrupts during long writes cause connection corruption with SSL module'
    updated_at = <Date 2010-07-08.22:48:03.793>
    user = 'https://bugs.python.org/janssen'

    bugs.python.org fields:

    activity = <Date 2010-07-08.22:48:03.793>
    actor = 'pitrou'
    assignee = 'janssen'
    closed = True
    closed_date = <Date 2010-07-08.22:48:03.794>
    closer = 'pitrou'
    components = []
    creation = <Date 2009-07-28.00:32:10.018>
    creator = 'janssen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 6587
    keywords = []
    message_count = 2.0
    messages = ['90999', '109627']
    nosy_count = 2.0
    nosy_names = ['janssen', 'BreamoreBoy']
    pr_nums = []
    priority = 'high'
    resolution = 'duplicate'
    stage = 'needs patch'
    status = 'closed'
    superseder = '8240'
    type = 'behavior'
    url = 'https://bugs.python.org/issue6587'
    versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

    Activity

    1. janssen commented on Jul 28, 2009

      janssenmannequin
      MannequinAuthor

      The behavior when a write or send is interrupted is suboptimal. If the
      write buffer moves before a retry is attempted in response to
      SSL_ERROR_WANT_OUTPUT, OpenSSL rejects the retry attempt. See

      http://www.mail-archive.com/openssl-users@openssl.org/msg07806.html.

      Looks like a simple fix.

    2. self-assigned this
      on Jul 28, 2009
    3. added
      type-bug
      on Jul 28, 2009
    4. BreamoreBoy commented on Jul 8, 2010

      BreamoreBoymannequin
      Mannequin

      For a simple fix this has been sitting around a long time. :)

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-bug

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions