Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libxml2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 91
    • Issues 91
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • libxml2
  • Merge requests
  • !193

Bypass proxy in nanoHTTP for hosts in "no_proxy"

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Markus Jörg requested to merge majoe/libxml2:fix/respect_no_proxy_completely into master Sep 08, 2022
  • Overview 8
  • Commits 3
  • Pipelines 9
  • Changes 1

This merge request is an adaptation of this patch from bugzilla and solves an issue, which prevents libxml2 to bypass our proxy correctly.

The environment variable "no_proxy" contains a list of hosts or domains for which a proxy server shall be bypassed. Until now, LIBXML2 only respects the "no_proxy" environment variable when its value is "*".

This merge request makes nanoHTTP compare the hostname of a HTTP request against the list of exceptions in “no_proxy”. If the hostname matches an entry in "no_proxy", then the proxy server will be bypassed for the request.

Edited Sep 09, 2022 by Markus Jörg
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/respect_no_proxy_completely