[P2][refactor] manual HTTP server를 Hyper/Tower 기반으로 전환 검토 #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
문제
현재 request parsing/response handling을 수작업 HTTP parser 중심으로 처리합니다. 이로 인해 body limit, timeout, CORS, auth, tracing, error mapping 같은 횡단 관심사를 endpoint마다 누락 없이 적용하기 어렵습니다.
관련 후보:
crates/portal-relay/src/relay/server.rscrates/portal-relay/src/api/*제안
완료 기준
검토 기준: 업로드된 Rust
portal-relay코드 정적 리뷰. 리뷰 환경에서는cargo check/test/clippy를 실행하지 못했습니다.검토했지만 이번 범위에서는 수용하지 않습니다. Hyper/Tower 전환은 장기적으로 가능하지만 서버 parsing 전체 교체는 회귀 위험이 큽니다. 이번에는 manual parser에 body cap/read timeout/error mapping을 PR #62로 보강했으므로 전환 검토 이슈는 닫습니다.