[njs] Would njs js_content support dynamic script?

2019-10-17 Thread gaoyan09
Njs js_content can only call js function for now. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285909,285909#msg-285909 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Will nginx support http3

2019-03-29 Thread gaoyan09
Hello, Nginx 1.15 brought udp stream session, it seems that nginx has been ready for http3. Do nginx have any plan to support http3? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283571,283571#msg-283571 ___ nginx mailing list ngi

Would nginx support tcp splicing???

2016-07-26 Thread gaoyan09
Do they have a develop plan? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268534,268534#msg-268534 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: ngx_http_upstream_status_variable question

2016-07-20 Thread gaoyan09
figure it out, would jump one position for 3 bytes separator Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268369,268379#msg-268379 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: ngx_http_upstream_status_variable question

2016-07-20 Thread gaoyan09
also ngx_http_upstream_response_time_variable and ngx_http_upstream_response_length_variable, + 2 for separator if (state[i].peer) { *p++ = ','; *p++ = ' '; } else { *p++ = ' '; *p++ = ':'; *p++ = ' '; if (++i == r->

ngx_http_upstream_status_variable question

2016-07-20 Thread gaoyan09
ngx_http_upstream_status_variable len = r->upstream_states->nelts * (3 + 2); write status to string, one status str len would be 3 in most case, like 200, 302, 404 but if upstream multi times, may be add ' : ' as separator so, string len may be nelts*3 + (nelts-1)*3 = 6nelts - 3 != nelts * (

Re: ngx_http_upstream_process_non_buffered_request recv question

2016-07-14 Thread gaoyan09
thx I see it. This do keep sending to client if upstream connection eof or error, only finalize request when u->busy_bufs == NULL, as all recv buffers had send to client Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268278,268288#msg-268288 _

ngx_http_upstream_process_non_buffered_request recv question

2016-07-13 Thread gaoyan09
size = b->end - b->last; if (size && upstream->read->ready) { n = upstream->recv(upstream, b->last, size); if (n == NGX_AGAIN) { break; } if (n > 0) { u->state->response_length += n; if (u->