cl_downloadProtocol
JK2MV
Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.
Reports the protocol selected for the active file download. The client sets this internal cvar to HTTP when the server advertised an HTTP endpoint and otherwise sets it to UDP.
At a glance
| Field | Value |
|---|---|
| Category | Files & downloads |
| Feature family | Downloads |
| Module | engine-client |
| Also registered in | engine-client |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | medium |
| In-game xdocs | No |
| In-game menu | No |
| Default | `` |
| Value type | enum |
| Restart | No latch flag is registered. |
| Cheat protected | No |
Values
| Value | Meaning | Evidence |
|---|---|---|
HTTP |
Download from the server’s advertised HTTP endpoint. | codemp/client/cl_main.cpp:1547 |
UDP |
Use the legacy in-protocol UDP download path. | codemp/client/cl_main.cpp:1549 |
Flags
CVAR_INTERNAL— internal UI/engine state
Provenance
Origin: JK2MV
- Ultimate-origin introduction:
907e53cc40d4in JK2MV (content authored2015-03-19, integrated2015-03-19) - TaystJK integration evidence:
2a5ea5d885dc - Origin pull request: #169
- Matching squash bullet:
[HTTP-AutoDL] Libmongoose 7 port from jk2mv - Upstream registration evidence: src/client/cl_main.cpp:2960
- Attribution method:
squash-feature-group-explicit-credit - Attribution confidence:
medium - Notes: The identifier’s single-prefix squash feature group explicitly credits jk2mv.
Dated project introductions
Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.
| Project | Authored | PR opened | Integrated | Commit | Relationship |
|---|---|---|---|---|---|
| JK2MV | 2015-03-19 |
— | 2015-03-19 |
907e53cc40d4 |
Ultimate origin |
| TaystJK | 2024-03-21 |
2024-03-07 | 2024-03-21 |
2a5ea5d885dc |
Other project appearance |
| jaPRO | 2024-03-21 |
— | 2024-03-21 |
2a5ea5d885dc |
Other project appearance |
Evidence
- registration: codemp/client/cl_main.cpp:3411 (Cvar_Get)
- behavior: codemp/client/cl_main.cpp:1557
- behavior: codemp/client/cl_main.cpp:1547
- behavior: codemp/client/cl_main.cpp:1549