Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Use the CONNECT method URI as host fallback making the proxy HTTP/1.0 compatible #371

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 27, 2021

  1. Use the CONNECT method URI as host fallback

    When a request is made for proxy interception using the `CONNECT` method but not including a `host` header, then a `NullPointerException` is thrown in `com.browserup.bup.mitm.manager.ImpersonatingMitmManager.getHostnameImpersonatingSslContext(String, SSLSession)` because the `hostnameToImpersonate` is null.
    
    As a fallback, use the CONNECT URI as a host.
    candrews committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    e3507b7 View commit details
    Browse the repository at this point in the history