Decide whether tlsHandshakeTimeoutMs should cover the ClientHello peek

Đang mở
#80 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
networking

Hướng nghiên cứu

Read the timeout handling in src/sni.rs, src/proxy_conn.rs, and src/failover.rs, along with the README’s description of tlsHandshakeTimeoutMs. Decide whether the setting covers only the TLS handshake or total connection setup; then either document that meaning or carry an accept-time deadline through the three paths, accounting for the ClientHello peek. Done means the timeout behavior and its documented meaning agree.

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

Mô tả

tlsHandshakeTimeoutMs starts counting after the ClientHello peek, so a client's total wait from accept can exceed it by up to the peek's own 5 s limit.

Every user of the timeout starts from the same point, after sni::peek (REASSEMBLY_TIMEOUT in src/sni.rs):

Nothing is wrong if the setting means "time for the handshake". If an operator reads it as a cap on total connection setup, it is not one. Decide which it means. Then either state it in the README, or start one deadline at accept and deduct the peek time in all three places.

Review-Deferral: 13616fe4f6c36296 severity=nit category=reliability

🤖 Generated by Claude Opus; posted via @kriszyp.

Ngôn ngữ chính
Rust
Star
1
Fork
0
Merge trung bình
19 giờ 12 phút
Pull request đã merge (30 ngày)
13

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 HarperFast/symphony

Tất cả issue của HarperFast/symphony

Issue tương tự

Thêm issue về Rust

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.