Skip to content

SSLSocket.read does a GIL round-trip for every 16KB TLS record #81536

@hashbrowncipher

Description

@hashbrowncipher
BPO 37355
Nosy @warsaw, @pfmoore, @tiran, @tjguk, @benjaminp, @bitdancer, @njsmith, @dimaqq, @zware, @1st1, @zooba, @Safihre, @pablogsal, @hashbrowncipher, @jakirkham
PRs
  • bpo-37355: For nonblocking sockets, call SSL_read in a loop #25478
  • gh-81536: For nonblocking sockets, add SSLSocket.eager_recv to call SSL_read in a loop #31492
  • 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 2019-06-20.18:42:49.267>
    labels = ['expert-SSL', '3.11', 'performance']
    title = 'SSLSocket.read does a GIL round-trip for every 16KB TLS record'
    updated_at = <Date 2022-03-14.15:49:20.009>
    user = 'https://github.com/hashbrowncipher'

    bugs.python.org fields:

    activity = <Date 2022-03-14.15:49:20.009>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['SSL']
    creation = <Date 2019-06-20.18:42:49.267>
    creator = 'josnyder'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37355
    keywords = ['patch']
    message_count = 12.0
    messages = ['346156', '379904', '391401', '392584', '392585', '392882', '392883', '396780', '413900', '415035', '415094', '415095']
    nosy_count = 16.0
    nosy_names = ['barry', 'paul.moore', 'christian.heimes', 'tim.golden', 'benjamin.peterson', 'r.david.murray', 'njs', 'Dima.Tisnek', 'zach.ware', 'yselivanov', 'steve.dower', 'Safihre', 'pablogsal', 'Matthew Rocklin', 'josnyder', 'jakirkham']
    pr_nums = ['25478', '31492']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue37355'
    versions = ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.12only security fixesperformancePerformance or resource usagetopic-SSL

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions