Welcome! Log In Create A New Profile

Advanced

Re: HEAD with mp4 runs in timeout

Roman Arutyunyan
July 21, 2014 05:54AM
On 21 Jul 2014, at 13:20, Aleksandar Lazic <al-nginx@none.at> wrote:

> Hallo.
>
> When I make a GET request I get the file as expected, but the HEAD Request runs in a time out.
>
> curl -v 'http://vhost/cams/44/zoom.mp4?_=1405930346082' -X HEAD
>
> I use the following version.
>
> /home/nginx/server/sbin/nginx -V
> nginx version: nginx/1.7.3
> built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
> TLS SNI support enabled
> configure arguments: --prefix=/home/nginx/server --with-debug --without-http_uwsgi_module --without-http_scgi_module --without-http_empty_gif_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_ssl_module --user=nginx --group=www-data --with-file-aio --without-http_ssi_module --with-http_secure_link_module --with-http_sub_module --with-http_spdy_module --with-http_mp4_module
>
> on
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 10.04.4 LTS
> Release: 10.04
> Codename: lucid
>
> Error log
> https://gist.github.com/anonymous/5c855e52877afacc515d
>
> The config part.
>
> location ~ \.mp4$ {
> mp4;
> }
>
> Could it be that the file is not 'HEAD' conform?
>
> Thanks for help.

man curl:

-X
..
This option only changes the actual word used in the HTTP request,
it does not alter the way curl behaves. So for example if you
want to make a proper HEAD request, using -X HEAD will not suffice.
You need to use the -I, --head option.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HEAD with mp4 runs in timeout

Aleksandar Lazic July 21, 2014 05:22AM

Re: HEAD with mp4 runs in timeout

Roman Arutyunyan July 21, 2014 05:54AM

Re: HEAD with mp4 runs in timeout

Aleksandar Lazic July 21, 2014 08:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready