• Show log

    Commit

  • Hash : e2424229
    Author : Azat Khuzhin
    Date : 2020-01-12T15:34:51

    Merge branch 'http-connect'
    
    After this patchset http-connect works with pproxy [1]:
    
        $ pproxy -l http://:8000/ -vvv &
        $ http-connect //127.1:8000 http://kernel.org:80/
    
      [1]: https://pypi.org/project/pproxy/
    
    * http-connect:
      http-connect: do not check connection on GET cb
      http-connect: set Host header (for CONNECT and GET) (like curl)
      http-connect: cleanup and helpers
      http: do not close connection for CONNECT
      http: do not assume body for CONNECT
    
    Fixes: #946
    (cherry picked from commit 462f2e97660cc2b6af563ab631050a83c3e0935b)