| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Now that logs are async, using this call is almost always a mistake. Signal
this by making it semi-private. The method may go away entirely down the track.
|
|
|
|
|
|
| |
Logs are now asynchronous, with a log entry pushed onto the event loop for
handling. To support this, the test mechanism grows an await_log method that
waits for a log entry to appear.
|
|
|
|
| |
Instead, we just schedule coroutines directly onto the core loop.
|
| |
|
|\
| |
| | |
added option to export request as httpie command
|
| | |
|
|\ \
| | |
| | | |
A unified handler for user's scripts exception
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
fixing 2837, added test
unified-function
deleting the wrong commit
|
| | |
| | |
| | |
| | | |
this fixes #3038
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also fix a racy websocket test.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also silence asyncio logs. We sometimes end up with messages on the queue that
need to be ignored when the proxy shuts down, and asyncio complains loudly
about this.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
We now need to synthesize a tick event when changing addons in tests, because
tick is asynchronously called on the event loop.
|
| | |
| | |
| | |
| | |
| | | |
Also move signal handling out of master. These only work in the main thread,
and properly belong in main.py.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now acquire the event loop through asyncio.get_event_loop, avoiding having
to pass the loop explicity in a bunch of places. This function does not return
the currently running loop from within coroutines in versions of Python prior
to 3.6.
|
| |/
|/| |
|
| |
| |
| |
| | |
fixes #2266
|
| |
| |
| |
| | |
https://github.com/tornadoweb/tornado/issues/2183#issuecomment-371001254
|
| | |
|
| |
| |
| |
| |
| | |
This includes a profiler addon that we might consider for promotion to a
builtin down the track.
|
|\ \
| | |
| | | |
Test for #2850
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
test-for-2850
few fixes
mock testing
Typo error
|
|\ \
| | |
| | | |
Polite shortening of statusbar messages. Fix #1433
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Renaming prep_message method to shorten_message.
Docstring.
\u2026 instead of ....
max_width parameter.
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Fix crashing when editing form with random data, fix #2794
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| | |
some of these options weren't even used anymore,
others only in one place where it makes sense to use options directly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a preparatory patch that paves the way to consolidating our core
options in the core addon. It amalgamates the core_option_validation and core
addons, prepares the test suite for a world where options live in core, and
moves over two trivial options as a trial balloon.
From here, things will get harder, but at the end of the process we'll have a
core that's responsive to options.
|
| |
| |
| |
| | |
These don't even do the same thing.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Split verbosity into termlog_verbosity and console_eventlog_verbosity.
This patch also removes printing to console if there are unknown options in the
command-line. Options now live in separate addons, so having uknown options
remaining is common and expected. We definitely shoould have some other way for
users to see what was ignored so they can catch typos and the like, but that's
a different patch.
|
|\ \
| | |
| | | |
Fix test fails in test_xss_scanner when running tox without internet connection.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
connections.
- Add mock implementation for gethostbyname in test_xss_scanner.
- Fix failed tests when running tox without internet connection.
- Fixes #2867
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt`
Where whitelist contains:
```
cas
doubleclick
nd
ot
seeked
statics
te
thru
```
|
|\ \ \
| |/ /
|/| | |
Start moving more complicated options over to /addons
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Then move the new options into their respective addons. This was a shared
option, and things are much much simpler if it isn't.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As part of this, we zap an un-needed console command and use a boolean toggle
setter instead.
Also remove an ancient regression test that breaks encapsulation.
|
| | | |
|