session-replay-tools / nginx-hmux-module Goto Github PK
View Code? Open in Web Editor NEWThe module implements resin's hmux protocol in nginx
License: Other
The module implements resin's hmux protocol in nginx
License: Other
斌哥,nginx-hmux-module啥时候能支持Nginx的--add-dynamic-module功能,使nginx-hmux-module能动态加载
用户反映:
hmux_next_upstream对non_idempotent的请求处理,以及类似proxy_next_upstream_timeout 和proxy_next_upstream_tries 指令的支持
Program terminated with signal 6, Aborted.
#0 0x000000356a4328a5 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6.x86_64 nss-softokn-freebl-3.12.9-11.el6.x86_64 openssl-1.0.0-27.el6_4.2.x86_64 pcre-7.8-6.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0 0x000000356a4328a5 in raise () from /lib64/libc.so.6
#1 0x000000356a434085 in abort () from /lib64/libc.so.6
#2 0x000000000042eeab in ngx_debug_point () at src/os/unix/ngx_process.c:603
#3 0x0000000000409922 in ngx_output_chain (ctx=0xfe8978, in=0xfe8718)
at src/core/ngx_output_chain.c:114
#4 0x000000000045c918 in ngx_http_upstream_send_request (r=0x1027880, u=0xfe88f8)
at src/http/ngx_http_upstream.c:1433
#5 0x000000000045cb94 in ngx_http_upstream_send_request_handler (r=0x1027880, u=0xfe88f8)
at src/http/ngx_http_upstream.c:1534
#6 0x000000000045bcc9 in ngx_http_upstream_handler (ev=0x7f2ffa5220a8)
at src/http/ngx_http_upstream.c:966
#7 0x0000000000432f17 in ngx_epoll_process_events (cycle=0xf8cf00, timer=38028, flags=1)
at src/event/modules/ngx_epoll_module.c:714
#8 0x000000000042606e in ngx_process_events_and_timers (cycle=0xf8cf00) at src/event/ngx_event.c:249
#9 0x000000000043125d in ngx_worker_process_cycle (cycle=0xf8cf00, data=0x1)
at src/os/unix/ngx_process_cycle.c:807
#10 0x000000000042e1f2 in ngx_spawn_process (cycle=0xf8cf00, proc=0x4310f2 <ngx_worker_process_cycle>,
data=0x1, name=0x4a9c68 "worker process", respawn=-3) at src/os/unix/ngx_process.c:198
#11 0x000000000043048e in ngx_start_worker_processes (cycle=0xf8cf00, n=2, type=-3)
at src/os/unix/ngx_process_cycle.c:362
#12 0x000000000042fc26 in ngx_master_process_cycle (cycle=0xf8cf00)
at src/os/unix/ngx_process_cycle.c:136
#13 0x000000000040364a in main (argc=1, argv=0x7fff991e4168) at src/core/nginx.c:41
-rw------- 1 wangbin wangbin 5259264 Jul 1 12:22 core.18294
2013/07/01 12:22:59 [alert] 18294#0: *17417 zero size buf in output t:1 r:0 f:0 0000000001050941 0000000001050948-0000000001050948 0000000000000000 0-0 while sending request to upstream, client: 123.120.8.27, server: test.163.com,
request: "POST /jetspeed/portal/media-type/html/user/admin/page/default.psml HTTP/1.1",
upstream: "hmux://xxx.xxx.xxx.217:7802", host: "test.163.com:18081",
referrer: "http://test.163.com:18081/jetspeed/portal/media-type/html/user/admin/page/default.psml/js_pane/338"
2013/07/01 12:22:59 [notice] 18292#0: signal 17 (SIGCHLD) received
2013/07/01 12:22:59 [alert] 18292#0: worker process 18294 exited on signal 6 (core dumped)
2013/07/01 12:22:59 [notice] 18292#0: start worker process 19526
2013/07/01 12:22:59 [notice] 18292#0: signal 29 (SIGIO) received
等需求多的时候,就实现
OS: Debian 6 x64
Nginx: 1.1.14
Resin: 3.1.12
Added to nginx.conf configuration similar to the one you proposed in readme file
Resin works fine and hmux listen on 6800 but Nginx reports connection timeout to upstream when i use hmux_pass
Could you please check the module with the latest Nginx/Resin?
I can provide resin.conf and nginx.conf but actually they are typical, nothing special
有几个问题想请教一下
1.ngx_hmux_input_filter
数据处理完以后,以什么方式传递给下游
2. keepalive的维持
3.ngx_hmux_process_header 内部具体含义
Visit http://wiki.nginx.org/HttpHeadersMoreModule for more details
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.