Custom Query (2297 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (73 - 75 of 2297)

Ticket Resolution Summary Owner Reporter
#2516 invalid Connection is not getting closed when ngtcp2 is sending multiple settings frames Karthikdasari0423@…
Description

i am trying to run ngtcp2 and nginx server.

I am anaylzing pcap and i have noticed multiple settings frames in pcap which is sent by ngtcp2 client to nginx server but nginx not closing the connection. As per RFC "SETTINGS frames always apply to an entire HTTP/3 connection, never a

single stream. A SETTINGS frame MUST be sent as the first frame of each control stream (see Section 6.2.1) by each peer, and it MUST NOT be sent subsequently. If an endpoint receives a second SETTINGS frame on the control stream, the endpoint MUST respond with a connection error of type H3_FRAME_UNEXPECTED."

RFC link https://datatracker.ietf.org/doc/rfc9114/

Attached pcaps

#2515 invalid Can't build QUIC binaries for windows sonqor@…
Description

I have tried to build Nginx from sources for Windows using either quictls (openssl-OpenSSL_1_1_1u-quic1) or openssl (openssl-OpenSSL_1_1_1u) with '--with-http_v3_module' parameter. But the following fatal error will be occurred each time:

C:\Users\moham\Downloads\nginx\src\event\quic\ngx_event_quic_connection.h(109): error C2079: 'udp' uses undefined struct 'ngx_udp_connection_s'
src/event/quic/ngx_event_quic.c(436): error C2037: left of 'buffer' specifies undefined struct/union 'ngx_udp_connection_s'
NMAKE : fatal error U1077: 'cl -c -O2  -W3 -WX -nologo -MT -Zi -Fdobjs/nginx.pdb -DFD_SETSIZE=1024 -DNO_SYS_TYPES_H -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core  -I src/event  -I src/event/modules  -I src/event/quic  -I src/os/win32  -I objs/lib/pcre  -I objs/lib/openssl/openssl/include  -I objs/lib/zlib  -I objs  -I src/http  -I src/http/modules  -I src/http/v2  -I src/http/v3  -I src/mail  -I src/stream  -Foobjs/src/event/quic/ngx_event_quic.obj  src/event/quic/ngx_event_quic.c' : return code '0x2'
Stop.

But if I want to build nginx without '--with-http_v3_module' parameter, the building process will be successful:

$> nginx -V

nginx version: nginx/1.25.1
built by cl 19.36
built with OpenSSL 1.1.1u+quic  30 May 2023
TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs --with-debug --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre --with-zlib=objs/lib/zlib --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_stub_status_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_slice_module --with-mail --with-stream --with-openssl=objs/lib/quictls --with-openssl-opt='no-asm no-tests -D_WIN32_WINNT=0x0501' --with-http_ssl_module --with-mail_ssl_module --with-stream_ssl_module

I want to know what's wrong with the HTTP/3 QUIC module in windows? Especially in below paths:

src/event/quic/ngx_event_quic_connection.h(109) src/event/quic/ngx_event_quic.c(436)

In other words, when QUIC will be supported on the Windows operating system? Because the official documentations in Nginx.org has noted that QUIC is only available in Linux builds: Support for QUIC and HTTP/3 protocols is available since 1.25.0. Also, since 1.25.0, the QUIC and HTTP/3 support is available in Linux binary packages.

#2514 invalid Is there any config where i can configure nginx to supoort file upload using http3 Karthikdasari0423@…
Description

I tried below config but still getting error with curl am i missing anything here

location / {

# required for browsers to direct them into quic port add_header Alt-Svc 'h3=":$server_port"; ma=86400'; #add_header Alt-Svc 'h3=":8443"; ma=86400';

# signal whether we are using QUIC+HTTP/3 add_header X-protocol $server_protocol always;

}

location "/root/([0-9a-zA-Z-.]*)$"{

proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-NginX-Proxy true; proxy_set_header Host $host; dav_methods PUT DELETE MKCOL COPY MOVE; client_body_temp_path /tmp; alias /root/$1; create_full_put_path on; dav_access group:rw all:r; client_body_in_file_only on; client_body_buffer_size 100M; client_max_body_size 100M; proxy_pass_request_headers on; proxy_set_body $request_body_file; proxy_pass http://127.0.0.1/root/; proxy_redirect off;

}

error_page 405 =200 $uri;

}

}

Curl output

  • We are completely uploaded and fine

< HTTP/3 404 < server: nginx/1.23.4 < date: Tue, 20 Jun 2023 19:28:53 GMT < content-type: text/html < content-length: 153 < x-protocol: HTTP/3.0 < <html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.23.4</center> </body> </html>

  • Connection #0 to host 172.16.3.1 left intact

root@ubuntu:/var/www/html#

Could someone please help me with the nginx config to upload a file using curl.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.