Use sendfile where possible in httplib

Aperta
#57,768 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
networking

Direzione di ricerca

Review httplib-sendfile.patch and the two listed dependency issues, bpo-17552 and bpo-23740, before examining the current httplib implementation. Done means using socket.sendfile() where possible in httplib while preserving the request and send behavior covered by those dependencies.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.12 performance stdlib
BPO 13559
Nosy @orsenthil, @giampaolo, @tiran, @benjaminp, @merwok, @vadmium, @moreati
Dependencies
  • bpo-17552: Add a new socket.sendfile() method
  • bpo-23740: http.client request and send method have some datatype issues
  • Files
  • httplib-sendfile.patch
  • 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 2011-12-08.20:47:25.389>
    labels = ['library', '3.10', 'performance']
    title = 'Use sendfile where possible in httplib'
    updated_at = <Date 2021-03-09.10:40:33.692>
    user = 'https://github.com/benjaminp'
    

    bugs.python.org fields:

    activity = <Date 2021-03-09.10:40:33.692>
    actor = 'christian.heimes'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-12-08.20:47:25.389>
    creator = 'benjamin.peterson'
    dependencies = ['17552', '23740']
    files = ['35569']
    hgrepos = []
    issue_num = 13559
    keywords = ['patch']
    message_count = 13.0
    messages = ['149052', '149073', '149075', '149077', '149078', '220262', '250435', '348634', '387699', '387729', '387751', '387754', '388346']
    nosy_count = 9.0
    nosy_names = ['orsenthil', 'giampaolo.rodola', 'christian.heimes', 'benjamin.peterson', 'eric.araujo', 'rosslagerwall', 'kasun', 'martin.panter', 'Alex.Willmer']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue13559'
    versions = ['Python 3.10']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.