Skip to content

lib/proxy.py handle_client() 108 行を parse / authorize / connect / http に分割 #39

@ikeisuke

Description

@ikeisuke

背景

Unit 006 コードベース調査レポート(サイクル v0.3.0)の調査候補 #12(観点 2.9)。Unit 008 のユーザーレビューで「起票する」として採否確定。

  • 対象ファイル/箇所: lib/proxy.py@bd55d9c:FN=handle_client (L79-L187、108 行)
  • 現状の問題: HTTP リクエストパース / ホスト許可判定 / CONNECT / GET プロキシのディスパッチが単一関数に集中
  • 推奨対応: parse_request() / authorize_host() / handle_connect() / handle_http() に分割
  • 想定影響範囲: lib/proxy.pytests/test_proxy.py で回帰検出可
  • 確度区分: confirmed

参照

  • 分析対象コミット SHA: bd55d9cb48749fb1df884880b46223a9ff7a1ea8
  • Unit 006 観点別本文: .aidlc/cycles/v0.3.0/plans/code_review_report.md の観点 2.9 セクション
  • Unit 008 採否確定: 同レポート末尾「確定済み起票候補」表 Add jailrun config management command #12

サイクル

v0.3.0 サイクルの Construction Phase(Unit 006 → Unit 008)で採否確定した起票候補。実装修正は別サイクル(次サイクル以降)で対応予定。

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogバックログアイテムpriority:medium優先度: 中status:backlogバックログにある未着手の状態type:refactorリファクタリング

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions