当前位置:   article > 正文

nginx http处理请求入口_http入口

http入口

nginx http 分phases进行处理;
其中的入口函数为 ngx_http_core_run_phases()

#0  ngx_http_core_run_phases (r=0x770670) at src/http/ngx_http_core_module.c:834
#1  0x000000000044eaec in ngx_http_handler (r=0x770670) at src/http/ngx_http_core_module.c:823
#2  0x000000000045e193 in ngx_http_process_request (r=0x770670) at src/http/ngx_http_request.c:1901
#3  0x000000000045cad2 in ngx_http_process_request_headers (rev=0x7867d0) at src/http/ngx_http_request.c:1332
#4  0x000000000045be75 in ngx_http_process_request_line (rev=0x7867d0) at src/http/ngx_http_request.c:1012
#5  0x000000000045aada in ngx_http_wait_request_handler (rev=0x7867d0) at src/http/ngx_http_request.c:499
#6  0x000000000043f2f9 in ngx_epoll_process_events (cycle=0x7615d0, timer=60000, flags=1) at src/event/modules/ngx_epoll_module.c:822
#7  0x000000000042ff64 in ngx_process_events_and_timers (cycle=0x7615d0) at src/event/ngx_event.c:242
#8  0x000000000043cea1 in ngx_worker_process_cycle (cycle=0x7615d0, data=0x0) at src/os/unix/ngx_process_cycle.c:753
#9  0x00000000004397c2 in ngx_spawn_process (cycle=0x7615d0, proc=0x43cda9 <ngx_worker_process_cycle>, data=0x0,
    name=0x4f5c6b "worker process", respawn=-3) at src/os/unix/ngx_process.c:198
#10 0x000000000043bd31 in ngx_start_worker_processes (cycle=0x7615d0, n=1, type=-3) at src/os/unix/ngx_process_cycle.c:358
#11 0x000000000043b371 in ngx_master_process_cycle (cycle=0x7615d0) at src/os/unix/ngx_process_cycle.c:130
#12 0x0000000000407662 in main (argc=1, argv=0x7fffffffe5f8) at src/core/nginx.c:415
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/207325
推荐阅读
相关标签
  

闽ICP备14008679号