The ConnectionExists() function will note that the new transfer wants
less then h2 and that it can't multiplex it and therefor opt to open a
new connection instead.
if(!ret) {
infof(data, "Downgrades to HTTP/1.1!\n");
- connclose(data->conn, "Disconnect HTTP/2 for HTTP/1");
+ streamclose(data->conn, "Disconnect HTTP/2 for HTTP/1");
data->state.httpwant = CURL_HTTP_VERSION_1_1;
/* clear the error message bit too as we ignore the one we got */
data->state.errorbuf = FALSE;