mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #435] [MERGED] Allow use of HTTP proxies listening on port 80 #923
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#923
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/435
Author: @Malvineous
Created: 2/16/2020
Status: ✅ Merged
Merged: 2/27/2020
Merged by: @sashahilton00
Base:
dev← Head:patch-1📝 Commits (1)
63cc846Allow use of HTTP proxies listening on port 80📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/main.rs(+1 -1)📄 Description
Since port 80 is the default port for the HTTP protocol,
url.port()returnsNone, causing an "invalid proxy" message. Usingport_or_known_default()will only returnNoneif the both the port has been omitted and an unknown protocol has been specified.You can verify this like so:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.