the uploader does not check for maximum number of custom header fields

Aperta
#124 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cloud

Direzione di ricerca

The issue concerns the uploader's handling of the file_info dict, which is where custom header entries are passed; the payload names no files or tests, so locate that code by searching for file_info in the upload path. Start by checking how many entries are accepted and what the request does with them. Done would mean an oversized file_info fails with a clear error instead of the cryptic broken-pipe message. The issue has been open about six years with no answer, so confirm the maintainers still want this before starting.

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

Descrizione

when one passes a dict to file_info it is not checked whether too many entries fields are present.

Cryptic error is thrown, ie:

FAILED to upload after 5 tries. Encountered exceptions: Broken pipe: unable to send entire request
Lingua principale
Python
Stelle
214
Fork
68
Merge medio
51m
PR unite (30g)
6

Preparare l'ambiente

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 Backblaze/b2-sdk-python

Tutte le issue di Backblaze/b2-sdk-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.