Skip to content

Improve handling of Windows proxy settings:#264

Merged
janbrummer merged 1 commit intolibproxy:mainfrom
davids-work:windows-improvements-patch
Jan 8, 2024
Merged

Improve handling of Windows proxy settings:#264
janbrummer merged 1 commit intolibproxy:mainfrom
davids-work:windows-improvements-patch

Conversation

@davids-work
Copy link
Copy Markdown
Contributor

  • Handle proxy URLs being provided with a scheme
  • Don't assume that target URL scheme == proxy scheme
  • Use proxy provided without a scheme specifier for all target URL schemes
  • Free memory allocated for hash table keys and values

From testing, this is much more in line with how Edge and the .NET System.Net.WebProxy works

- Handle proxy URLs being provided with a scheme
- Don't assume that target URL scheme == proxy scheme
- Use proxy provided without a scheme specifier for all target URL
  schemes
- Free memory allocated for hash table keys and values
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9b541a5) 73.15% compared to head (48651b5) 73.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #264   +/-   ##
=======================================
  Coverage   73.15%   73.15%           
=======================================
  Files          16       16           
  Lines         842      842           
  Branches      238      238           
=======================================
  Hits          616      616           
  Misses        131      131           
  Partials       95       95           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@janbrummer janbrummer merged commit e6dbedb into libproxy:main Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants