Fixes blocking problem with a workaround which sets a timeout of 0.1 seconds.

This commit is contained in:
Thomas Roth 2010-02-24 23:25:37 +01:00
parent e2c078e9a2
commit 79d2abb23a
2 changed files with 2 additions and 1 deletions

View File

@ -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
View File

@ -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