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
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
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
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
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
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 * (
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
_
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->