Merge GitLink initial README
This submission contains two deliverables:
openharmony/commonlibrary_rust_ylong_http
The prototype focuses on the contest’s minimum reproducible loop:
CONNECT host:port HTTP/1.1
443
Proxy-Authorization: Basic ...
407
TCP -> proxy TLS -> CONNECT -> target tunnel
. |-- Cargo.toml |-- src/ | |-- lib.rs # Prototype client implementation | `-- main.rs # Loopback demo binary |-- tests/proxy_flow.rs # Integration tests with a local fake proxy |-- patches/official_https_proxy_async.patch |-- technical_solution.md |-- testing.md |-- usage.md |-- demo_script.ps1 |-- submission_checklist.md |-- final_report.md `-- vendor/research/commonlibrary_rust_ylong_http/ `-- ... # Shallow clone of official repo with patch applied
PowerShell:
Set-Location C:\CCFOpenSourcepowershell Set-Location C:\CCFOpenSource\08_ylong_http_proxy .\demo_script.ps1 8_ylong_http_proxy .\demo_script.ps1
Manual commands:
$env:RUSTUP_HOME='C:\CCFOpenSourcepowershell $env:RUSTUP_HOME='C:\CCFOpenSource\08_ylong_http_proxy\.rustup' $env:CARGO_HOME='C:\CCFOpenSource\08_ylong_http_proxy\.cargo' $env:PATH='C:\CCFOpenSource\08_ylong_http_proxy\.cargo\bin;' + $env:PATH cargo test -- --nocapture cargo run --bin proxy_demo 8_ylong_http_proxy\.rustup' $env:CARGO_HOME='C:\CCFOpenSourcepowershell $env:RUSTUP_HOME='C:\CCFOpenSource\08_ylong_http_proxy\.rustup' $env:CARGO_HOME='C:\CCFOpenSource\08_ylong_http_proxy\.cargo' $env:PATH='C:\CCFOpenSource\08_ylong_http_proxy\.cargo\bin;' + $env:PATH cargo test -- --nocapture cargo run --bin proxy_demo 8_ylong_http_proxy\.cargo' $env:PATH='C:\CCFOpenSourcepowershell $env:RUSTUP_HOME='C:\CCFOpenSource\08_ylong_http_proxy\.rustup' $env:CARGO_HOME='C:\CCFOpenSource\08_ylong_http_proxy\.cargo' $env:PATH='C:\CCFOpenSource\08_ylong_http_proxy\.cargo\bin;' + $env:PATH cargo test -- --nocapture cargo run --bin proxy_demo 8_ylong_http_proxy\.cargo\bin;' + $env:PATH cargo test -- --nocapture cargo run --bin proxy_demo
502
cargo check -p ylong_http_client --features "async,http1_1,tokio_base,tls_default"
cargo check -p ylong_http_client --features "async,http1_1,http2,tokio_base,tls_default"
See testing.md and final_report.md for details.
testing.md
final_report.md
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
CCF2026 ylong_http HTTPS Proxy Prototype
This submission contains two deliverables:
openharmony/commonlibrary_rust_ylong_httpasync connector path.The prototype focuses on the contest’s minimum reproducible loop:
CONNECT host:port HTTP/1.1request generation.443.Proxy-Authorization: Basic ....407, generic non-200 status codes, malformed responses, oversized headers, and timeout.TCP -> proxy TLS -> CONNECT -> target tunnel.Repository Layout
Quick Start
PowerShell:
Manual commands:
Verification Snapshot
407,502, timeout, simulated HTTPS proxy TLS, tunnel round trip, URL parsing, Basic Auth encoding.cargo check -p ylong_http_client --features "async,http1_1,tokio_base,tls_default"passed.cargo check -p ylong_http_client --features "async,http1_1,http2,tokio_base,tls_default"passed.See
testing.mdandfinal_report.mdfor details.Research Sources