Commit Graph

9691 Commits

Author SHA1 Message Date
Maximilian Hils
083987c007
minor export fixups, fix #4718, fix #4714 (#4725) 2021-08-02 18:32:01 +00:00
Brad Dixon
68cc3e721f
Fix #4614 Options and Keybinding screen: home and end crash mitmproxy (#4693)
* Fix #4614 Options and Keybinding screen: home and end crash mitmproxy

* fix flake8

* Add integration test for fix to #4614

* fix the flake8, again.
2021-08-02 19:18:22 +02:00
Maximilian Hils
3b87d3f66e
[requires.io] dependency update on main branch (#4723)
* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-08-02 19:17:29 +02:00
Maximilian Hils
703fdea1a5
asgiapp: lowercase header names, refs #4717 (#4722) 2021-08-02 14:45:40 +00:00
Maximilian Hils
648a799525
don't fail on invalid certs, fix #4713 (#4721) 2021-08-02 13:15:05 +00:00
Maximilian Hils
b57bc68c51
Merge pull request #4710 from mhils/issue-4706
Improve HTTP Stream Modification
2021-08-02 14:36:44 +02:00
Maximilian Hils
51a15be50c extend test coverage for HTTP stream modification 2021-08-02 14:31:52 +02:00
Maximilian Hils
e865484c45
don't emit WS CONT. frames when the peer does not send any, fix #4701 (#4719) 2021-08-02 12:23:56 +00:00
Maximilian Hils
df797cd1b0 improve .stream docs 2021-08-02 14:02:54 +02:00
Maximilian Hils
c7e8b82420 update streaming example 2021-08-02 13:57:12 +02:00
Maximilian Hils
b64005dfea make it possible to return multiple chunks from streaming, refs #4706 2021-08-02 13:57:12 +02:00
Maximilian Hils
9d02eb91c4
[requires.io] dependency update on main branch (#4715)
* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-08-02 13:51:38 +02:00
Manjusaka
331061c6f2
add unittest for mitmproxy.io 2021-08-01 20:57:56 +08:00
Maximilian Hils
7da9e52ff3
[requires.io] dependency update on main branch (#4712)
* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-07-30 15:59:33 +02:00
Maximilian Hils
13131e273d
clarify ciphers_(client|server), refs #4703 (#4709) 2021-07-29 12:55:45 +00:00
Maximilian Hils
2d75d06eb6
[requires.io] dependency update on main branch (#4697)
* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-07-24 19:13:09 +02:00
Maximilian Hils
e270399a3e docs: be more clear on pattern separator 2021-07-21 09:58:42 +02:00
zokutyou2@gmail.com
4f5c615818 applied requested changes 2021-07-21 16:53:52 +09:00
Maximilian Hils
d8f5f0efbb
perf: reuse OpenSSL context to reduce number of TLS handshakes (#4694) 2021-07-21 09:23:27 +02:00
Maximilian Hils
a8a3af5fbd
Merge pull request #4692 from mhils/issue-4689
Fix Secure Web Proxy compatibility with some clients (#4689)
2021-07-20 17:17:06 +02:00
Maximilian Hils
7fe2c11898 tlsconfig: tests++ 2021-07-20 17:12:06 +02:00
Maximilian Hils
927f1d4ab3 update CHANGELOG 2021-07-20 15:33:05 +02:00
Maximilian Hils
ef2795673b disable HTTP/2 CONNECT for secure web proxies 2021-07-20 15:33:05 +02:00
Maximilian Hils
d4899574eb use local IP address as cert subject if no other info is available 2021-07-19 15:18:58 +02:00
Maximilian Hils
34774885e0 add Cert.__repr__ to ease debugging 2021-07-19 15:18:13 +02:00
Maximilian Hils
c718d4f7b0
Merge pull request #4690 from mhils/post-release
Post-Release Cleanups
2021-07-19 13:20:08 +02:00
Maximilian Hils
10bf38e42f strip v from tags when uploading binaries 2021-07-19 13:02:04 +02:00
Maximilian Hils
f1f86f9a74 docker: re-run buildx to push all architectures to latest tag 2021-07-19 13:02:04 +02:00
Maximilian Hils
f7a6445ea7 trigger docker deploy for tags 2021-07-19 13:02:04 +02:00
Salad Dais
2d866ce991
Allow no-op assignments to Server.address when connection open (#4687)
* Allow no-op assignments to Server.address when connection open

* add explanatory comment in source

Co-authored-by: Salad Dais <SaladDais@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-07-19 09:25:21 +00:00
zokutyou2@gmail.com
29997bca4b convert components in FlowView, Header, Modal, ValueEditor into typescript 2021-07-19 15:47:30 +09:00
zokutyou2@gmail.com
e0b8a48392 bind "this" to functions in CodeMirror 2021-07-18 16:29:16 +09:00
zokutyou2@gmail.com
5dd2ae7937 make formatTimeStamp function return UTC time when updating snapshot in jest 2021-07-17 16:23:13 +09:00
zokutyou2@gmail.com
ac66678b4d fix bug of not dispatching when type in the field in FilterInput component 2021-07-17 15:59:56 +09:00
zokutyou2@gmail.com
6def195743 convert components in common and ContentView folder into typescript, and modified test 2021-07-17 12:29:11 +09:00
Maximilian Hils
7e9c487d6b update release instructions 2021-07-16 13:32:17 +02:00
Maximilian Hils
95a9e4bdef reopen main for development 2021-07-16 10:50:01 +02:00
Maximilian Hils
4511ea7c24 mitmproxy 7.0 2021-07-16 10:24:38 +02:00
Maximilian Hils
42be58b6fc
Release Polish (#4684)
* dumper: don't print connection errors to stderr

stderr is reserved for errors in mitmproxy itself,
not for arbitrary network connection problems.

* remove hook optimization to fix #4683

* always exhaust layer commands, fix #4682
2021-07-16 10:04:53 +02:00
Maximilian Hils
cd257e040d always exhaust layer commands, fix #4682 2021-07-15 19:56:20 +02:00
Maximilian Hils
bdaa2da064 remove hook optimization to fix #4683 2021-07-15 18:15:11 +02:00
Maximilian Hils
d1d0e39f5d dumper: don't print connection errors to stderr
stderr is reserved for errors in mitmproxy itself,
not for arbitrary network connection problems.
2021-07-15 15:49:30 +02:00
zokutyou2@gmail.com
7ff97d6e08 change CommandBar component into typescript, autoscroll overflowed result to bottom 2021-07-15 22:19:46 +09:00
Maximilian Hils
552e7ca4a0
Merge pull request #4672 from Prinzhorn/endless_emptiness
fix forward empty ws messages
2021-07-15 15:03:04 +02:00
Maximilian Hils
bb40ab9044 WebSocketMessage.kill() -> .drop() 2021-07-15 14:57:43 +02:00
Maximilian Hils
ede52c38c2 add tests for empty websocket messages 2021-07-15 14:56:47 +02:00
Alexander Prinzhorn
8c9c6d965b fix forward empty ws messages 2021-07-15 14:56:47 +02:00
Maximilian Hils
d93f1b77c1 fix set command to not keep old values around 2021-07-15 14:31:52 +02:00
Maximilian Hils
5b4ac96f4c
Merge pull request #4650 from mhils/prinzhorn
[WIP] Fix WebSocket/TCP injection
2021-07-15 13:18:33 +02:00
Maximilian Hils
fbb7d3e4c1 commands: only accept escaped quotes
instead of accepting quotation marks in strings, we now just accept \x22,
which is then unescaped by the str type. This greatly simplifies
the lexing and is more consistent from a user perspective.
2021-07-15 13:12:58 +02:00