Skip to content

test: preserve configured WebUI affinity routing - #20

Merged
Jmmt-mingrui merged 2 commits into
mainfrom
fix/request-derived-webui-affinity
Aug 4, 2026
Merged

Jmmt-mingrui merged 2 commits into
mainfrom
fix/request-derived-webui-affinity

Conversation

@Jmmt-mingrui

@Jmmt-mingrui Jmmt-mingrui commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • preserve the existing IP selection rule: a concrete mcp_host is written directly to the Cookie
  • when mcp_host is 0.0.0.0, use the request forwarding/local socket address without filtering loopback
  • add regression coverage for a proxy forwarding to 127.0.0.1

Tests

  • python test/test_private_ip_config.py
  • python test/test_web_session_cookie.py

@Jmmt-mingrui Jmmt-mingrui changed the title fix: ignore proxy loopback for WebUI affinity test: preserve configured WebUI affinity routing Aug 4, 2026
@Jmmt-mingrui
Jmmt-mingrui merged commit f34df2b into main Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant