• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

abhinavsingh / proxy.py / 247
76%

Build:
DEFAULT BRANCH: develop
Ran 25 Sep 2019 02:04AM UTC
Jobs 3
Files 4
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
247

push

travis-ci

web-flow
Add support for TLS/SSL interception and HTTPS server (#86)

* Handle OSError thrown when curl --proxy-cacert flag is invalid

* Add server-cert

* Dockerfile dont need --ipv4 since now its auto-detected and deprecated

* Add make server-cert info

* Add support for HTTPS interception.

1) Start as

    proxy.py --ca-key-file ca-key.pem --ca-cert-file ca-cert.pem --ca-signing-key-file ca-signing-key.pem

2) Test using curl

    curl -v -L -x proxy.py:8899 --cacert ca-cert.pem https://google.com

Now proxy.py is able to decrypt HTTPS traffic between curl and
google.com.  Generated certificates are stored under ~/.proxy.py
directory.

* Add comments for why interception do not work if client is communicating with proxy.py over https

* Fix tests

* Exit with message when trying to https intercept and also serve over https

* lint

* Disable OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_TLSv1, OP_NO_TLSv1_1 when wrapping upstream server socket

* Ensure client.conn.shutdown is called if necessary.

* Add mypy check for plugin_examples.py

* Exception handling when client sends invalid requests

* Verify plugin_examples

* mypy compat

* HttpRequestRejected

2626 of 3164 relevant lines covered (83.0%)

2.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 247.1 (TESTING_ON_TRAVIS=1) 25 Sep 2019 02:04AM UTC 0
83.0
Travis Job 247.1
2 247.2 (TESTING_ON_TRAVIS=1) 25 Sep 2019 02:05AM UTC 0
83.0
Travis Job 247.2
3 247.3 (PATH=/c/Python37:/c/Python37/Scripts:$PATH TESTING_ON_TRAVIS=1) 25 Sep 2019 02:05AM UTC 0
81.98
Travis Job 247.3
Source Files on build 247
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #247
  • 92142a70 on github
  • Prev Build on develop (#235)
  • Next Build on develop (#259)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc