mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Fixes blocking problem with a workaround which sets a timeout of 0.1 seconds.
This commit is contained in:
parent
e2c078e9a2
commit
79d2abb23a
@ -961,6 +961,7 @@ class ConsoleMaster(controller.Master):
|
||||
size = self.drawscreen()
|
||||
self.statusbar.redraw()
|
||||
self.tick(q)
|
||||
self.ui.set_input_timeouts(max_wait=0.1)
|
||||
keys = self.ui.get_input()
|
||||
for k in keys:
|
||||
if self.prompting:
|
||||
|
2
todo
2
todo
@ -9,11 +9,11 @@ Future:
|
||||
- Saving contents to file
|
||||
- Shortcut for viewing in pager
|
||||
- Serializing and de-serializing requests and responses.
|
||||
- Use real non-blocking input handling to minimize cpu load.
|
||||
|
||||
|
||||
Bugs:
|
||||
|
||||
- get_input() is blocking the complete program.
|
||||
- Exception handling for regular expression compiler in filt.py.
|
||||
- Fix crash cause on undefined request in libmproxy/console.py:543
|
||||
- Fix crash on illegal regular expression on libmproxy/filt.py:76
|
||||
|
Loading…
Reference in New Issue
Block a user