Changes between Initial Version and Version 1 of Ticket #2172


Ignore:
Timestamp:
04/27/21 12:32:48 (7 months ago)
Author:
June-Snow@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2172 – Description

    initial v1  
    1   the call chain is ngx_stream_proxy_handler -> ngx_stream_proxy_connect->
    2 ngx_event_connect_peer->ngx_log_error_core(level=3, log=0x39e7b2b0, err=99, fmt=fmt@entry=0x7b900e "connect() to %V failed") at src/core/ngx_log.c:149 -> ngx_stream_log_error -> ngx_stream_proxy_log_error -> ngx_connection_local_sockaddr -> ngx_palloc (pool=0x0, size=16) at src/core/ngx_palloc.c:126
    3 
    4 pool is null lead to coredump, the reason is the pool not inited when ngx_event_connect_peer fail with connect err 99