python / python/cpython

race condition between send and recv in _ssl with non-zero timeout

Open
#77,271 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.8 (EOL) 3.9 (EOL) docs topic-SSL type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 33090
Nosy @ronaldoussoren, @tiran, @ned-deily, @GLolol
Files
  • test_ssl.py: Python script to demonstrate the issue
  • 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 = None
    created_at = <Date 2018-03-16.19:43:10.283>
    labels = ['expert-SSL', '3.8', '3.9', '3.10', 'type-feature', 'docs']
    title = 'race condition between send and recv in _ssl with non-zero timeout'
    updated_at = <Date 2020-10-23.09:37:06.447>
    user = 'https://bugs.python.org/nneonneo'
    

    bugs.python.org fields:

    activity = <Date 2020-10-23.09:37:06.447>
    actor = 'christian.heimes'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'SSL']
    creation = <Date 2018-03-16.19:43:10.283>
    creator = 'nneonneo'
    dependencies = []
    files = ['47489']
    hgrepos = []
    issue_num = 33090
    keywords = []
    message_count = 4.0
    messages = ['313970', '379420', '379423', '379424']
    nosy_count = 6.0
    nosy_names = ['ronaldoussoren', 'nneonneo', 'christian.heimes', 'ned.deily', 'docs@python', 'tacocat']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33090'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start with the linked test_ssl.py reproducer and inspect the _ssl send/recv behavior under a non-zero timeout. Review the issue discussion to determine the expected behavior and whether the intended outcome is a code fix or documentation change. Done is not defined in the migrated issue, so the scope needs confirmation before implementation.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    documentation, security
    Issue type
    Bug
    Difficulty
    5/5
    Estimated time
    Over a week
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    20/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.