You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ww...@apache.org on 2022/08/29 11:30:27 UTC

[incubator-brpc] branch master updated: fix coredump cause by uri like 'host:port/hotspots/growth_non_responsive?console=abc' (#1278)

This is an automated email from the ASF dual-hosted git repository.

wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new c8b2f159 fix coredump cause by uri like 'host:port/hotspots/growth_non_responsive?console=abc' (#1278)
c8b2f159 is described below

commit c8b2f1596bb9f0085ee8059e000736645d448ebf
Author: Yingchun Lai <ac...@gmail.com>
AuthorDate: Mon Aug 29 19:30:17 2022 +0800

    fix coredump cause by uri like 'host:port/hotspots/growth_non_responsive?console=abc' (#1278)
---
 src/brpc/builtin/hotspots_service.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/brpc/builtin/hotspots_service.cpp b/src/brpc/builtin/hotspots_service.cpp
index 500cb759..c7577320 100644
--- a/src/brpc/builtin/hotspots_service.cpp
+++ b/src/brpc/builtin/hotspots_service.cpp
@@ -589,7 +589,6 @@ static void DisplayResult(Controller* cntl,
         }
         break;
     }
-    CHECK(!use_html);
     // NOTE: not send prof_result to os first which does copying.
     os.move_to(resp);
     if (use_html) {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org