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

Đang mở
#124 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cloud

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
214
Fork
68
Merge trung bình
51 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Backblaze/b2-sdk-python

Tất cả issue của Backblaze/b2-sdk-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.