Commit e84c803a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

HTTP access: fix User-Agent syntax

RFC2616 requires a space-separated list of names[/versions]
(cherry picked from commit f1dac78a4a5b3fa3f081f8ee29b1abdf27d20fca)
parent 05f92841
......@@ -123,7 +123,7 @@ vlc_module_begin ()
add_integer( "http-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true )
change_safe()
add_string( "http-user-agent", PACKAGE_NAME" "PACKAGE_VERSION, NULL,
add_string( "http-user-agent", PACKAGE_NAME"/"PACKAGE_VERSION, NULL,
AGENT_TEXT, AGENT_LONGTEXT, true )
change_safe()
add_bool( "http-reconnect", false, NULL, RECONNECT_TEXT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment