This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 57a8acd8b54 branch-4.0: [fix](https) fix be to_load_error_http_path
return url in https mode #61785 (#61867)
57a8acd8b54 is described below
commit 57a8acd8b5443529ee442d0a9696486ea3c4e597
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 15 12:16:25 2026 +0800
branch-4.0: [fix](https) fix be to_load_error_http_path return url in
https mode #61785 (#61867)
Cherry-picked from #61785
Co-authored-by: Guangming Lu <[email protected]>
---
be/src/runtime/fragment_mgr.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/be/src/runtime/fragment_mgr.cpp b/be/src/runtime/fragment_mgr.cpp
index 614bd09c871..8ea44e66774 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -121,7 +121,8 @@ std::string to_load_error_http_path(const std::string&
file_name) {
return file_name;
}
std::stringstream url;
- url << "http://" << get_host_port(BackendOptions::get_localhost(),
config::webserver_port)
+ url << (config::enable_https ? "https" : "http") << "://"
+ << get_host_port(BackendOptions::get_localhost(),
config::webserver_port)
<< "/api/_load_error_log?"
<< "file=" << file_name;
return url.str();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]