nginx http处理请求入口
2015-12-05 15:29
591 查看
nginx http 分phases进行处理;
其中的入口函数为 ngx_http_core_run_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
相关文章推荐
- Haproxy实现多域名证书HTTPS
- Web项目性能优化之减少HTTP请求次数优化
- iOS 网络与多线程--8.百度地图的使用(调用系统浏览器)
- android(23)(网易新闻的简单例子:包括pull解析,httpclient和ListView等知识点)
- WINDOWS API ——CREATEMUTEX——创建互斥对象 http://www.cnblogs.com/wind-net/archive/2012/08/29/2661702.html
- http协议原理基本概述
- keystone中Vertify operation出现:No handlers could be found for logger "keystoneclient.httpclient"的问题
- CRITICAL_SECTION的使用http://blog.163.com/up_downdown/blog/static/1803443272011311912324/
- Android 网络编程(一)
- VB6 http post 发送与返回内容处理
- win10解决无法连接到此网络
- 数字签名
- http和servlet输出
- PostThreadMessage http://www.cppblog.com/sandy/archive/2005/12/31/2320.html
- 使用Windows API PostThreadMessage进行线程间消息 http://www.cnblogs.com/pugang/archive/2012/08/24/2654278.html
- Linux下线程的挂起和恢复 http://blog.chinaunix.net/uid-21765995-id-1815655.html
- 浅析TCP字节流与UDP数据报的区别
- android(21)(使用HttpURLConnection,HttpClient和AsyncHttpClient分别实现post和get请求数据)
- Android中Socket通信之TCP与UDP传输原理
- adb的一些使用