mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
[PR #3751] [MERGED] Optimized Favicon downloading #2938
Reference in New Issue
Block a user
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/dani-garcia/vaultwarden/pull/3751
Author: @BlackDex
Created: 8/4/2023
Status: ✅ Merged
Merged: 8/13/2023
Merged by: @BlackDex
Base:
main← Head:optimize-icon-fetching📝 Commits (1)
6cdcb3bOptimized Favicon downloading📊 Changes
2 files changed (+116 additions, -108 deletions)
View changed files
📝
Cargo.toml(+1 -1)📝
src/api/icons.rs(+115 -107)📄 Description
Some optimizations in regards to downloading Favicon's.
I also encounterd some issues with accessing some sites where the connection got dropped or closed early. This seems a reqwest/hyper thingy, https://github.com/hyperium/hyper/issues/2136. This is now also fixed.
General:
reqwest/hyper connection issue:
The following changes helped solve the connection issues to some sites. The endresult is that some icons are now able to be downloaded always instead of sometimes.
deflateandnative-tls-alpn(Which do not bring in any extra crates since other crates already enabled them, but they were not active for Vaultwarden it self)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.