Commit 6cef69ae authored by Carlos Garcia Campos's avatar Carlos Garcia Campos
Browse files

Enable HTTP/2 by default

parent 732fcd4b
Pipeline #287803 passed with stages
in 5 minutes and 4 seconds
......@@ -1812,10 +1812,10 @@ get_connection_for_host (SoupSession *session,
return conn;
}
if (g_getenv ("SOUP_ENABLE_HTTP2"))
force_http1 = soup_message_get_force_http1 (item->msg);
else
if (g_getenv ("SOUP_FORCE_HTTP1"))
force_http1 = TRUE;
else
force_http1 = soup_message_get_force_http1 (item->msg);
for (conns = host->connections; conns; conns = conns->next) {
SoupHTTPVersion http_version;
......
......@@ -944,8 +944,6 @@ main (int argc, char **argv)
return 1;
}
g_setenv ("SOUP_ENABLE_HTTP2", "1", TRUE);
g_test_add ("/http2/basic/async", Test, NULL,
setup_session,
do_basic_async_test,
......
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