[vlc-devel] [PATCH 4/4] httpd: increase chromecast timeout

Pierre Ynard linkfanel at yahoo.fr
Fri Jan 15 23:34:29 UTC 2021


> --- a/src/network/httpd.c
> +++ b/src/network/httpd.c
> @@ -935,7 +935,7 @@ httpd_host_t *vlc_rtsp_HostNew(vlc_object_t *p_this)
>  
>  httpd_host_t *vlc_chromecast_http_HostNew(vlc_object_t *p_this, unsigned port)
>  {
> -    return httpd_HostCreate(p_this, "", port, NULL, 10);
> +    return httpd_HostCreate(p_this, "", port, NULL, 60);
>  }

The fix for 3.0 disabled the timeout. I don't recall that we determined
there was any theoretical or practical guarantee that 60 seconds or any
value would be large enough.

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list