mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 16:25:52 +03:00
[PR #191] [MERGED] Add support for HTTP proxy #831
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#831
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/191
Author: @janderholm
Created: 3/18/2018
Status: ✅ Merged
Merged: 4/6/2018
Merged by: @sashahilton00
Base:
master← Head:master📝 Commits (5)
6129789Reformat according to new rustfmt rules3bdc5e0Add support for http proxy1a04e3bResolve AP through proxy as well3a14e9aValidate proxy urls better.96a6978Update Cargo.lock📊 Changes
27 files changed (+681 additions, -329 deletions)
View changed files
📝
.travis.yml(+1 -1)📝
Cargo.lock(+415 -176)📝
Cargo.toml(+1 -1)📝
README.md(+1 -1)📝
audio/src/fetch.rs(+3 -11)📝
connect/src/discovery.rs(+2 -2)📝
connect/src/spirc.rs(+4 -7)📝
core/Cargo.toml(+5 -2)📝
core/src/apresolve.rs(+44 -9)📝
core/src/audio_key.rs(+2 -6)📝
core/src/authentication.rs(+5 -9)📝
core/src/channel.rs(+1 -1)📝
core/src/config.rs(+3 -0)📝
core/src/connection/codec.rs(+1 -2)📝
core/src/connection/handshake.rs(+2 -5)📝
core/src/connection/mod.rs(+30 -22)📝
core/src/diffie_hellman.rs(+8 -16)📝
core/src/lib.rs(+4 -0)📝
core/src/mercury/mod.rs(+1 -1)➕
core/src/proxytunnel.rs(+108 -0)...and 7 more files
📄 Description
This pull request adds support for tunneling librespot data through an HTTP proxy. It relies on the fact that most http proxies support CONNECT to hosts on port 443.
A CONNECT results in the proxy tunneling all incoming data as is and is commonly used for TLS connections.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.