This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new 1ef92635127 branch-4.1: [fix](https) fix be to_load_error_http_path
return url in https mode #61785 (#61868)
1ef92635127 is described below
commit 1ef9263512758a1a86fb90bb2d5afdbd0d496d80
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Mar 31 11:27:21 2026 +0800
branch-4.1: [fix](https) fix be to_load_error_http_path return url in
https mode #61785 (#61868)
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 ee352c66b4a..ae22def3012 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -120,7 +120,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]