Skip to content

server: wrap headers for mcp proxy#21072

Merged
allozaur merged 6 commits intoggml-org:masterfrom
ngxson:xsn/server_mcp_proxy_dup_headers
Mar 30, 2026
Merged

server: wrap headers for mcp proxy#21072
allozaur merged 6 commits intoggml-org:masterfrom
ngxson:xsn/server_mcp_proxy_dup_headers

Conversation

@ngxson
Copy link
Copy Markdown
Contributor

@ngxson ngxson commented Mar 27, 2026

Overview

Fix #21012

Wrap the target header with X-Proxy-Header- prefix to avoid conflict with llama.cpp-specific headers

Requirements

Comment thread tools/server/server-cors-proxy.h
@allozaur allozaur force-pushed the xsn/server_mcp_proxy_dup_headers branch from 8cf57ff to 4134cd8 Compare March 28, 2026 13:16
Comment thread tools/server/server-cors-proxy.h
@allozaur allozaur merged commit abf9a62 into ggml-org:master Mar 30, 2026
80 of 81 checks passed
slartibardfast pushed a commit to slartibardfast/llama.cpp that referenced this pull request Apr 12, 2026
* server: wrap headers for mcp proxy

* Update tools/server/server-cors-proxy.h

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

* fix build

* chore: update webui build output

* chore: update webui build output

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* server: wrap headers for mcp proxy

* Update tools/server/server-cors-proxy.h

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

* fix build

* chore: update webui build output

* chore: update webui build output

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
rsenthilkumar6 pushed a commit to rsenthilkumar6/llama.cpp that referenced this pull request May 1, 2026
* server: wrap headers for mcp proxy

* Update tools/server/server-cors-proxy.h

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

* fix build

* chore: update webui build output

* chore: update webui build output

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misc. bug: webui-mcp-proxy http header Authorization conflict

4 participants