|
@@ -900,6 +900,7 @@ static bool should_strip_proxy_header(const std::string & header_name) {
|
|
|
// Headers that get duplicated when router forwards child responses
|
|
// Headers that get duplicated when router forwards child responses
|
|
|
if (header_name == "server" ||
|
|
if (header_name == "server" ||
|
|
|
header_name == "transfer-encoding" ||
|
|
header_name == "transfer-encoding" ||
|
|
|
|
|
+ header_name == "content-length" || // quick fix for https://github.com/ggml-org/llama.cpp/issues/17710
|
|
|
header_name == "keep-alive") {
|
|
header_name == "keep-alive") {
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|