fix(server): drop Option<ConnectInfo> for axum 0.8 compat #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik_axum08_handler"
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?
axum 0.8 dropped the blanket Option: FromRequestParts impl. ConnectInfo does not implement OptionalFromRequestParts in 0.8, so rpc_handler no longer satisfied Handler<_, _>. The server is Unix-socket-only (uses hyper::serve_connection, not serve_with_connect_info), so connect_info was always None at runtime — dead weight. Headers (x-caller-ip, x-forwarded-for) cover the TCP fallback via extract_caller_ip. Verified: hero_builder --release --install: 3/3 binaries built. Resolves s81 carry-over: lhumina_code/home#230 (comment) (Class E).