Aldo Cortesi
6c970cfd4c
Fix byte/string comparison error in server playback
2016-09-07 12:11:10 +12:00
Thomas Kriechbaumer
7841d73cb2
Merge pull request #1531 from Schamper/encoding-patch
...
Fix decoding when content-encoding: none
2016-09-06 20:29:59 +02:00
Schamper
5728a1c900
Make 'none' synonymous to 'identity'
2016-09-06 17:00:08 +02:00
Aldo Cortesi
9abdd3a8d9
Move server playback in to an addon
...
- Move server playback into an addon
- Implement a better sync strategy to decide when to exit if keepserving is
off. We now wait for the final flow played back to no longer be live.
- Leave interactive server playback in mitmproxy console broken for now - there
are broader addon-related changes that need to be made for that, and this patch
is already big.
Fixes #1229
2016-09-06 23:48:02 +12:00
Schamper
85e1539d0a
Add test
2016-09-06 11:07:50 +02:00
Schamper
c16417248c
Also fix for encoding
2016-09-06 10:37:24 +02:00
Schamper
8702c9357d
Fix decoding when content-encoding: none
2016-09-06 10:24:36 +02:00
smill
fad6ee6437
Improved the documentation.
2016-09-05 14:19:08 +00:00
smill
2ecd89fc51
Made it possible to modify the server_conn.connection attribute,
...
using the serverconnect stub.
2016-09-05 10:49:39 +00:00
Aldo Cortesi
c76d83f749
Merge pull request #1515 from Kriechi/bump-brotli
...
bump brotli dependency
2016-09-05 10:15:23 +12:00
Thomas Kriechbaumer
c0b12da401
change test value
2016-09-04 09:31:45 +02:00
Thomas Kriechbaumer
4c7f99d2be
improve netlib.encoding
2016-09-04 09:31:44 +02:00
Thomas Kriechbaumer
09d60b2fa3
bump brotli dependency
2016-09-04 09:31:44 +02:00
smill
e278ce6455
Removed a mistakenly inserted newline character.
2016-09-04 01:35:03 +00:00
smill
fbfedbdc8f
Improved error-handling / supplemented documention.
2016-09-04 01:30:27 +00:00
Aldo Cortesi
0483486c62
Merge pull request #1523 from Kriechi/http2
...
improve error handling in http2
2016-09-04 11:02:48 +12:00
Thomas Kriechbaumer
3da9e37d9e
http2: improve connection lost
2016-09-03 16:56:21 +02:00
smill
377921fa99
Introduced some minor improvements to the shim loader.
2016-09-03 13:34:17 +00:00
smill
a6e0c7e8f0
Introduced the capability to spoof the source address
...
of outgoing sessions + an accompanying shim loader.
2016-09-03 12:22:09 +00:00
Thomas Kriechbaumer
d895d6caf0
improve CI
2016-09-03 13:48:28 +02:00
Thomas Kriechbaumer
e273a29a8c
http2: improve kill and cleanup threads
2016-09-03 13:46:54 +02:00
Thomas Kriechbaumer
69b770469e
http2: assemble connect-request from object
2016-09-03 12:31:35 +02:00
Thomas Kriechbaumer
ea2a51d3be
http2: fixes
2016-09-03 11:50:37 +02:00
Thomas Kriechbaumer
5dda9505b6
http2: improve framereader
2016-09-03 10:00:31 +02:00
Thomas Kriechbaumer
043180a8fa
http2: improve closed connection handling
2016-09-03 10:00:31 +02:00
Thomas Kriechbaumer
9b5acc19e2
http2: improve zombie exception handling
2016-09-03 10:00:31 +02:00
Thomas Kriechbaumer
0badb3ec91
cleanup
2016-09-03 10:00:31 +02:00
Aldo Cortesi
b476966a45
Merge pull request #1513 from Kriechi/bump-dep
...
cryptography 1.5
2016-09-03 11:08:53 +12:00
Aldo Cortesi
46143ba004
Merge pull request #1482 from Kriechi/improve-docs
...
update docs: how mitmproxy works
2016-09-03 09:59:54 +12:00
Thomas Kriechbaumer
cf53a93c4c
cleanup travis
2016-09-01 13:37:40 +02:00
Thomas Kriechbaumer
76854b7770
cryptography 1.5
2016-09-01 13:37:40 +02:00
Thomas Kriechbaumer
55d938b880
Merge pull request #1488 from mitmproxy/websockets
...
add WebSockets support
2016-09-01 10:39:57 +02:00
Thomas Kriechbaumer
0d0c2c788d
cleanup tests
2016-09-01 10:12:13 +02:00
Thomas Kriechbaumer
823d8a5da8
add docs for websocket_handshake hook
2016-09-01 09:57:36 +02:00
Thomas Kriechbaumer
cd3d30633f
websockets: update protocol detection
2016-09-01 09:57:35 +02:00
Thomas Kriechbaumer
e5b0dae7e9
add websockets support to mitmproxy
2016-09-01 09:57:18 +02:00
Thomas Kriechbaumer
d12515f84b
websockets: refactor implementation and add tests
2016-09-01 09:56:14 +02:00
Thomas Kriechbaumer
281d779fa3
Merge pull request #1517 from cortesi/httperrs
...
Improve the way we handle upstream errors
2016-09-01 09:55:51 +02:00
Aldo Cortesi
afe34e8b28
Improve the way we handle upstream errors
...
- Don't log a traceback for either HTTP or HTTPS DNS resolution or TCP
connection errors. These are "ordinary" errors, not mitmproxy issues.
- Ensure that the error handler is correctly called for SSL-related protocol
errors.
2016-09-01 12:32:09 +12:00
Aldo Cortesi
9306e80e65
Adjust flowbasic example for Options API changes
2016-09-01 12:11:00 +12:00
Thomas Kriechbaumer
b4b2e5fd34
Merge pull request #1511 from arjun23496/count_in_replace
...
Fixes #1495 - Added count argument for replacing contents in body
2016-08-31 13:49:03 +02:00
arjun23496
a8deed1f4e
Lint fix - minor
2016-08-31 16:39:04 +05:30
arjun23496
2476809ff8
Lint fix - replace tests
2016-08-31 16:27:22 +05:30
arjun23496
e5766550f1
Lint fix - netlib headers
2016-08-31 16:22:20 +05:30
arjun23496
dd2e0d1df3
minor bug fix header replace
2016-08-31 16:11:59 +05:30
arjun23496
d2cfa5ca41
Added tests for replace in request,message,header
2016-08-31 10:23:33 +05:30
arjun23496
b3f0596652
Minor bug fix - messages.py replace
2016-08-29 16:57:20 +05:30
arjun23496
99744cc780
Added replace for request and headers - Fixed missing replace option
2016-08-29 16:50:14 +05:30
arjun23496
70f94c7171
Added count argument for replace for contents in body
2016-08-26 21:26:38 +05:30
Thomas Kriechbaumer
6afbfc8526
Merge pull request #1493 from dufferzafar/long-urls
...
Truncate URLs in console
2016-08-26 16:44:44 +02:00