File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -220,4 +220,4 @@ detect_memory_leak_final && MEMORY_LEAK=0 || MEMORY_LEAK=1
220
220
# This is to be consistent with other http stress tests.
221
221
# All failure will be analyzed by release-engineers.
222
222
223
- exit $(( ${GRPC_STRESS_FAILURES} + ${MEMORY_LEAK} ))
223
+ exit $(( ${GRPC_STRESS_FAILURES} + ${HTTP_STRESS_FAILURES} + ${ MEMORY_LEAK}))
Original file line number Diff line number Diff line change @@ -225,6 +225,9 @@ void NgxEspGrpcServerCall::UpdateResponseMessageStat(int64_t size) {
225
225
226
226
void NgxEspGrpcServerCall::SetGrpcUpstreamCancel (
227
227
std::function<void ()> grpc_upstream_cancel) {
228
+ if (!cln_.data ) {
229
+ return ;
230
+ }
228
231
ngx_esp_request_ctx_t *ctx = ngx_http_esp_ensure_module_ctx (r_);
229
232
ctx->grpc_upstream_cancel =
230
233
std::unique_ptr<std::function<void ()>>(new auto (grpc_upstream_cancel));
You can’t perform that action at this time.
0 commit comments