Maximilian Hils
2b4f58eb44
split TLS parts from net.tcp into net.tls
2017-09-03 03:06:15 +02:00
Maximilian Hils
d409a6c09a
Merge pull request #2469 from Kriechi/nuke-old-openssl
...
nuke old openssl
2017-07-25 21:57:54 +02:00
Maximilian Hils
3262b6e705
Squashed commit of the following:
...
commit edfbd41200
Author: Matt Weidner <matt.weidner@gmail.com>
Date: Tue Jul 25 01:19:53 2017 -0500
Extended view.load test to check for unhandled IOError exception.
commit a523b534bc
Author: requires.io <support@requires.io>
Date: Mon Jul 24 21:25:04 2017 +0200
[requires.io] dependency update
commit c725540c6e
Author: Thomas Kriechbaumer <thomas@kriechbaumer.name>
Date: Mon Jul 24 21:01:25 2017 +0200
update travis
commit eeb6cfb4c7
Author: Thomas Kriechbaumer <Kriechi@users.noreply.github.com>
Date: Mon Jul 24 21:03:14 2017 +0200
[requires.io] dependency update on master branch (#2435 )
commit 51a2672c78
Author: Maximilian Hils <git@maximilianhils.com>
Date: Mon Jul 24 19:03:01 2017 +0200
require latest mypy version (refs #2452 )
commit 5685a4850a
Author: Maximilian Hils <git@maximilianhils.com>
Date: Fri Jul 21 11:24:42 2017 +0200
fix addon tracebacks
`.tb_next` discards the first interesting frame,
this shouldn't happen.
commit a2da9b6c02
Author: Matt Weidner <matt.weidner@gmail.com>
Date: Sat Jul 22 12:30:15 2017 -0500
Added os.path.expanduser() before open() calls with user supplied paths
commit 05db6e32c7
Author: Matt Weidner <matt.weidner@gmail.com>
Date: Fri Jul 21 16:25:16 2017 -0500
Added support for the ~ path shortcut when loading flows from disk.
for consistency. Saving flows supports using paths with the ~ shortcut.
commit b7f864b6bb
Author: Matt Weidner <matt.weidner@gmail.com>
Date: Fri Jul 21 16:06:38 2017 -0500
Fixed crash when loading flows from a file that does not exist
2017-07-25 21:55:26 +02:00
Thomas Kriechbaumer
4855659eeb
nuke old openssl
2017-07-25 10:56:24 +02:00
Maximilian Hils
e7990e0983
fix recursive import
2017-05-26 21:00:35 +02:00
Maximilian Hils
eb5f37a7d1
fix mypy annotations
2017-05-26 16:14:20 +02:00
Thomas Kriechbaumer
cfed4432a0
pathod: fix leaking fds
2017-05-24 19:32:20 +02:00
Thomas Kriechbaumer
ae7e9efb5c
fix various fd/socket leaks
2017-05-24 14:09:41 +02:00
Thomas Kriechbaumer
3fadda2bba
fix pragmas
2017-05-17 10:33:35 +08:00
harsh vijay
e24b4cc1b6
Extend Mypy checking to pathod
...
* mypy checking pathod
* initial commit , fixed errors
* tox: mypy checking to pathod
* Fixed mypy test failed
* issue was with args in custom_contentview.py
* tox: mypy checking to #2221
* follow-import=skip since we cant provide args to custom_contentview.py during mypy testing
* Lint , Typo Fixed
* code style: module import
2017-05-02 05:19:25 +05:30
Thomas Kriechbaumer
3e9125a3c1
nuke tcp.Address and add proper IPv6 support
2017-02-24 13:39:02 +01:00
Thomas Kriechbaumer
4771c9599e
remove treq from pathoc
...
Using a function intended only for tests in active live code is ugly.
However, this whole portion of pathoc could benefit from some further improvements.
2017-02-12 13:10:51 +01:00
Maximilian Hils
43867dbd98
fix flaky coverage
2017-02-10 15:28:02 +01:00
Thomas Kriechbaumer
380d8ec370
increase test coverage
2017-02-02 10:15:01 +01:00
Maximilian Hils
042261266f
minor encoding fixes
...
- native() -> always_str()
The old function name does not make sense on Python 3 only.
- Inline utility functions in message.py.
2017-01-07 23:08:50 +01:00
Maximilian Hils
f74e561524
rewrite absolute-form HTTP requests to relative form, fix #1759 ( #1765 )
2016-11-20 17:21:21 +01:00
Aldo Cortesi
067198a5dd
Remove deprecated interfaces
2016-11-04 11:47:47 +13:00
Naveen Pai
eef97555d7
Allow forever wait at end of message #1541
2016-11-04 02:12:20 +05:30
Aldo Cortesi
7e6d014f8f
tests: pathod/tutils.py -> pathod/tservers.py
...
And remove all aliases for mitmproxy.test.tutils
2016-11-02 10:06:25 +13:00
Maximilian Hils
a1a792aeac
various encoding fixes, fix #1650
2016-10-22 18:47:12 -07:00
Aldo Cortesi
8430f857b5
The final piece: netlib -> mitproxy.net
2016-10-20 11:56:38 +13:00
Aldo Cortesi
853e03a5e7
netlib.tutils -> mitmproxy.test.tutils
...
There's a LOT more to be done refactoring our different conflicting test utils.
2016-10-20 11:42:55 +13:00
Aldo Cortesi
01a449b5cb
netlib.exceptions.* -> mitmproxy.exceptions
2016-10-20 11:27:05 +13:00
Aldo Cortesi
f964d49853
netlib.certutils -> mitmproxy.certs
2016-10-20 11:02:52 +13:00
Aldo Cortesi
9555126585
netlib.utils.BiDi -> mitmproxy.types.bidi.BiDi
2016-10-20 10:32:09 +13:00
Aldo Cortesi
1ecb25cdc1
mitmproxy.types.[basethread,multidict,serializable]
2016-10-20 10:22:23 +13:00
Aldo Cortesi
f45f4e677e
netlib.strutils -> mitmproxy.utils.strutils
2016-10-20 10:11:58 +13:00
Aldo Cortesi
1407830280
netlib.human -> mitmproxy.utils.human
2016-10-20 09:45:18 +13:00
Aldo Cortesi
069119364d
Create mitmproxy.utils hierarchy
...
- Add mitproxy.utils.lrucache, mitproxy.utils.data
2016-10-20 09:35:55 +13:00
Aldo Cortesi
7440232f60
netlib.version -> mitmproxy.version
2016-10-20 09:20:44 +13:00
Aldo Cortesi
f4da81f749
pathoc: handle error when selecting on read file
2016-10-19 22:05:25 +13:00
Aldo Cortesi
85015fe561
pathoc: Guess the Host header from the path if possible
2016-10-19 11:41:42 +13:00
Thomas Kriechbaumer
94c9dd66e6
remove empty lines at beginning of file
2016-10-17 10:32:12 +02:00
Aldo Cortesi
c774a9fec9
python3: clean up super and __future__
2016-10-17 18:03:07 +13:00
Aldo Cortesi
a647b30365
python3: clean up class brackets
2016-10-17 17:37:08 +13:00
Aldo Cortesi
fb22f2ff4f
Zap object base class
2016-10-17 17:37:08 +13:00
Aldo Cortesi
d60ef617e3
pathod: remove six
2016-10-17 15:43:38 +13:00
Aldo Cortesi
8360f70024
First-order conversion to Python3-only
...
- Zap various occurrences of Python2 in docs and scripts
- Remove six from netlib, and some other places where obvious project-wide
search and replace works.
2016-10-17 15:18:47 +13:00
Aldo Cortesi
8cec187f9a
http2: frames don't have a human_readable method
2016-10-04 08:13:56 +11:00
Aldo Cortesi
b735694653
websockets_handshake -> websocket_handshake
...
The plural feels awkward.
2016-10-04 08:13:56 +11:00
Maximilian Hils
afe6bf0309
fix #1221 ( #1578 )
2016-09-24 22:12:02 -07:00
Maximilian Hils
92dd030c22
minor cleanups
2016-09-24 16:34:20 -07:00
Maximilian Hils
f1d519d7c4
fix pathod http2 response creation
2016-09-21 20:36:26 -07:00
Thomas Kriechbaumer
5dda9505b6
http2: improve framereader
2016-09-03 10:00:31 +02:00
Thomas Kriechbaumer
e5b0dae7e9
add websockets support to mitmproxy
2016-09-01 09:57:18 +02:00
Maximilian Hils
4534363671
add escape_single_quotes=False arg to bytes_to_escaped_str
2016-07-29 19:54:44 -07:00
Maximilian Hils
64a867973d
sni is now str, not bytes
2016-07-06 21:03:17 -07:00
Maximilian Hils
8b564bc934
fix pathod log encoding
2016-07-06 16:47:32 -07:00
Maximilian Hils
d51cf543bb
remove clean_bin, clarify unicode handling
2016-07-05 15:11:32 -07:00
Thomas Kriechbaumer
23e295b37e
py3: fix bytes vs. str
2016-07-03 23:22:04 +02:00