Custom Query (2295 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 2295)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#475 fixed http_mp4_module seeking problem: "start time is out mp4 stts samples" Roman Arutyunyan MP4Man
Description

Sometimes I have problem with seeking MP4 files. Files were post-processed to move ATOM data to the begining of file, so most of the times seeking works fine but sometimes I get error like this: *6 start time is out mp4 stts samples in "/home/uploads/broljxe8iyse.mp4" Interesting that if we retry same exactly request 2nd time it works fine. Old 1.2.9 version looks working stable with this. Full debug log attached.

#2374 fixed HTTP3 sent too much body data to upstream when use POST request Roman Arutyunyan himac@…
Description

source code version: nginx-quic-8d0753760546

While use a client send http3 POST request to nginx proxy server, nginx would sent more body data to upstream upload server

I found in ngx_http_v3_request_body_filter function, after ngx_http_v3_parse_data parse http3 DATA frame, the cl buf maybe empty (because real data in DATA frame would not contain at this time):

(gdb) p b $11 = (ngx_buf_t *) 0x5555559f8740 (gdb) p *b $12 = {pos = 0x5555559eefd8 "", last = 0x5555559eefd8 "", file_pos = 0, file_last = 0, start = 0x5555559eefd8 "", end = 0x5555559ef3a8 "www.google.com:4443", tag = 0x5555555df5a5 <ngx_http_read_client_request_body>, file = 0x0, shadow = 0x0, temporary = 1, memory = 0, mmap = 0, recycled = 0, in_file = 0, flush = 1, sync = 0, last_buf = 0, last_in_chain = 0, last_shadow = 0, temp_file = 0, num = 0} (gdb) p tl $13 = (ngx_chain_t *) 0x5555559f7e28 (gdb) p *tl $14 = {buf = 0x5555559f8740, next = 0x0} (gdb) list 1603 b->pos = cl->buf->pos; 1604 b->last = cl->buf->last;

after ngx_http_top_request_body_filter, the empty buf chain will be linked to ngx_http_request_t->request_body->bufs:

1680 rc = ngx_http_top_request_body_filter(r, out); (gdb) 1682 ngx_chain_update_chains(r->pool, &rb->free, &rb->busy, &out, (gdb) p r->request_body->bufs $15 = (ngx_chain_t *) 0x5555559f7e38 (gdb) p *r->request_body->bufs $16 = {buf = 0x5555559f8740, next = 0x0} (gdb) p r->request_body->free $17 = (ngx_chain_t *) 0x0

then ngx_chain_update_chains will link the empty buf chain to ngx_http_request_t->request_body->free , because it is empty:

(gdb) n 1685 return rc; (gdb) p *r->request_body->bufs $18 = {buf = 0x5555559f8740, next = 0x0} (gdb) p r->request_body->free $19 = (ngx_chain_t *) 0x5555559f7e28 (gdb) p r->request_body->free->buf $20 = (ngx_buf_t *) 0x5555559f8740

when the data of this HTTP3 DATA frame comes, ngx_http_top_request_body_filter called again, and will call ngx_chain_get_free_buf to get buf from ngx_http_request_t->request_body->free

1591 tl = ngx_chain_get_free_buf(r->pool, &rb->free); (gdb) 1592 if (tl == NULL) { (gdb) p tl $21 = (ngx_chain_t *) 0x5555559f7e28 gdb) p tl->buf $22 = (ngx_buf_t *) 0x5555559f8740

thus after ngx_http_top_request_body_filter, there will be two same buf in ngx_http_request_t->request_body->bufs

1680 rc = ngx_http_top_request_body_filter(r, out); (gdb) 1682 ngx_chain_update_chains(r->pool, &rb->free, &rb->busy, &out, (gdb) p *r->request_body->bufs $1 = {buf = 0x5555559f8740, next = 0x5555559f87e0} (gdb) p *r->request_body->bufs->next $2 = {buf = 0x5555559f8740, next = 0x0} (gdb) p *r->request_body->bufs->buf $3 = {pos = 0x5555559f8e80 "", last = 0x5555559f8e8d "", file_pos = 0, file_last = 0, start = 0x5555559f8e80 "", end = 0x5555559fae80 "", tag = 0x5555555df5a5 <ngx_http_read_client_request_body>, file = 0x0, shadow = 0x0, temporary = 1, memory = 0, mmap = 0, recycled = 0, in_file = 0, flush = 0, sync = 0, last_buf = 0, last_in_chain = 0, last_shadow = 0, temp_file = 0, num = 0}

thus too much data will be sent to upstream.

#1336 fixed pkg-oss: add non-interactive mode to improve scriptability of `build_module.sh` Andrei Belov davidjb
Description

The current build_module.sh doesn't have the ability to be run without interaction from the user, making it difficult to run in an automated environment such as a build server or continuous integration environment (eg Travis CI).

There's not much that would need to change, but these are what I've identified so far:

  • The script installs build dependency packages if they are not present. Currently, it runs [yum|apt-get] install [packages...] which will interactively prompt the user for a yes/no response. Passing -y to either of these tools auto-installs packages.
  • The script in turn triggers prepare-build-env in the rpm/SOURCES/Makefile. This interactively prompts the user to confirm removal of the rpmbuild path.

There might also be other areas for DEB-packaging, but I'm only using rpm-based packaging.

It would be extremely helpful if an option like --non-interactive were added that caused -y to be passed to package installation and rm'd the build environment without prompting.

1 2 3 4 5 6 7 8 9 10 11
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.