{"author":"Stefan Eissing","author_email":"stefan@eissing.org","author_time":1737553530,"commit_time":1737712742,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"e83818cae1da495939aee5def1172ca1d20cc1e4","message":"lib: clarify 'conn->httpversion'\n\nThe variable `conn->httpversion` was used for several purposes and it\nwas unclear at which time the value represents what.\n\n- rename `conn->httpversion` to `conn->httpversion_seen`\n  This makes clear that the variable only records the last\n  HTTP version seen on the connection - if any. And that it\n  no longer is an indication of what version to use.\n- Change Alt-Svc handling to no longer modify `conn->httpversion`\n  but set `data->state.httpwant` for influencing the HTTP version\n  to use on a transfer.\n- Add `data->req.httpversion_sent` to have a record of what\n  HTTP version was sent in a request\n- Add connection filter type CF_TYPE_HTTP\n- Add filter query `CF_QUERY_HTTP_VERSION` to ask what HTTP\n  filter version is in place\n- Lookup filters HTTP version instead of using `conn->httpversion`\n\nTest test_12_05 now switches to HTTP/1.1 correctly and the\nexpectations have been fixed.\n\nRemoved the connection fitler \"is_httpN()\" checks and using\nthe version query instead.\n\nCloses #16073\n","parents":["7e814c8717939393d4436d75f5f0c3ffa98c8c53"],"tree_hash":"18add571eef7d40aac3dfcc7a68ea4a8c9c657ea"}