Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If a message has been acked, all other processors are skipped | Aldo Cortesi | 2016-06-08 | 2 | -0/+10 |
| | | | | | | This applies the constraint, but does to clumsily. When we've unified modules and processors it will be much nicer. We also make some exceptions for the master processors that we may want to re-evaluate down the track. | ||||
* | Simplify script concurrency helpers | Aldo Cortesi | 2016-06-08 | 1 | -15/+11 |
| | | | | We now have take() to prevent double-replies. | ||||
* | A new interface for reply | Aldo Cortesi | 2016-06-08 | 2 | -7/+7 |
| | | | | | | | | | | | Reply is now explicit - it's no longer a callable itself. Instead, we have: reply.kill() - kill the flow reply.ack() - ack, but don't send anything reply.send(message) - send a response This is part of an incremental move to detach reply from our flow objects, and unify the script and handler interfaces. | ||||
* | Add reply.ack and reply.kill | Aldo Cortesi | 2016-06-08 | 1 | -4/+3 |
| | |||||
* | Merge branch 'master' into beautiful-json | Aldo Cortesi | 2016-06-08 | 2 | -2/+24 |
|\ | |||||
| * | tests++ | Maximilian Hils | 2016-06-07 | 1 | -1/+23 |
| | | |||||
| * | Py3: Fix a test_language_writer test by using a byte literal | Shadab Zafar | 2016-06-07 | 1 | -1/+1 |
| | | |||||
* | | simplify pretty_json, improve test coverage | Maximilian Hils | 2016-06-06 | 1 | -4/+3 |
|/ | |||||
* | Utils cleanups | Aldo Cortesi | 2016-06-07 | 5 | -20/+22 |
| | | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes. | ||||
* | fix all pathod tests on Windows :tada: | Maximilian Hils | 2016-06-06 | 1 | -14/+14 |
| | |||||
* | fix NestedMessage encoding | Maximilian Hils | 2016-06-06 | 1 | -1/+1 |
| | |||||
* | fix .freeze(), improve tests | Maximilian Hils | 2016-06-06 | 2 | -5/+10 |
| | |||||
* | Py3: Fix status_code and other tests by using byte literals | Shadab Zafar | 2016-06-06 | 1 | -7/+7 |
| | |||||
* | Py3: Fix corresponding base.Integer test in test_language_base | Shadab Zafar | 2016-06-06 | 1 | -1/+1 |
| | |||||
* | Py3: Fix useragent tests | Shadab Zafar | 2016-06-06 | 1 | -4/+4 |
| | |||||
* | Py3: Fix websocket tests | Shadab Zafar | 2016-06-06 | 1 | -10/+10 |
| | |||||
* | Py3: Use BytesIO in tutils.render | Shadab Zafar | 2016-06-06 | 1 | -1/+2 |
| | |||||
* | Py3: Use byte string literals | Shadab Zafar | 2016-06-06 | 1 | -20/+20 |
| | |||||
* | Py3: Use BytesIO instead of StringIO for tests | Shadab Zafar | 2016-06-06 | 1 | -8/+8 |
| | |||||
* | Py3: Use global next() instead of iterator method | Shadab Zafar | 2016-06-06 | 1 | -23/+23 |
| | |||||
* | Py3: Fix tests by using byte literals | Shadab Zafar | 2016-06-06 | 1 | -6/+6 |
| | |||||
* | Py3: Use global next() instead of iterator method | Shadab Zafar | 2016-06-06 | 1 | -1/+1 |
| | |||||
* | Fix sequencing in Pathoc websocket termination test | Aldo Cortesi | 2016-06-06 | 1 | -3/+4 |
| | |||||
* | Make more of the pathod test suite use synchronisation | Aldo Cortesi | 2016-06-06 | 1 | -39/+11 |
| | |||||
* | Merge pull request #1215 from redfast00/master | Aldo Cortesi | 2016-06-06 | 1 | -2/+2 |
|\ | | | | | Now keeps header capitalization | ||||
| * | fix multidict unittests | redfast00 | 2016-06-05 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #1211 from cortesi/pathod | Aldo Cortesi | 2016-06-06 | 4 | -192/+48 |
|\ \ | | | | | | | WIP: Radical webectomy of pathod | ||||
| * | | Remove last vestiges of noapi and noweb from pathod | Aldo Cortesi | 2016-06-05 | 3 | -18/+5 |
| | | | | | | | | | | | | Also hide HTTP2 freeze bug by making explain configurable in the tests | ||||
| * | | First-order removal of pathod API and app | Aldo Cortesi | 2016-06-05 | 3 | -174/+43 |
| |/ | |||||
* | | Use BytesIO instead of StringIO | Shadab Zafar | 2016-06-06 | 1 | -2/+2 |
| | | |||||
* | | Py3: Use byte literals for comparison | Shadab Zafar | 2016-06-06 | 1 | -1/+1 |
| | | |||||
* | | Py3: Use global next() function instead of iterator method | Shadab Zafar | 2016-06-06 | 1 | -7/+7 |
|/ | |||||
* | Fix test that may fail due to binary header data | Aldo Cortesi | 2016-06-05 | 3 | -5/+4 |
| | | | | | | | | This is just inherently not a determinisitc test. We don't use the log HTTP interface any more, so it can just go. A more radical "solution" is inbound shortly. Fixes #1207 | ||||
* | Py3: Write bytes to file | Shadab Zafar | 2016-06-04 | 1 | -3/+3 |
| | |||||
* | Fix function name typo | Shadab Zafar | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | Py3: Convert all data to bytes in pathod.language.writer test | Shadab Zafar | 2016-06-04 | 1 | -28/+28 |
| | |||||
* | Py3: Use global next() instead of iterator method | Shadab Zafar | 2016-06-04 | 1 | -3/+3 |
| | |||||
* | Basic ConsoleMaster tests, based on mastertester | Aldo Cortesi | 2016-06-04 | 1 | -1/+13 |
| | |||||
* | console/__init__.py -> console/master.py | Aldo Cortesi | 2016-06-04 | 1 | -6/+6 |
| | |||||
* | Very basic test truss for web.app | Aldo Cortesi | 2016-06-04 | 1 | -0/+22 |
| | |||||
* | Rebase on master | Aldo Cortesi | 2016-06-04 | 4 | -76/+119 |
| | |||||
* | Make tcp.Client.connect return a context manager that closes the connection | Aldo Cortesi | 2016-06-03 | 1 | -18/+18 |
| | |||||
* | Implement a service connection handler counter, use it in Pathod test suite | Aldo Cortesi | 2016-06-03 | 1 | -0/+1 |
| | | | | Lots of failures, but that's a good thing. | ||||
* | Merge remote-tracking branch 'upstream/master' into testsuite | Aldo Cortesi | 2016-06-03 | 1 | -5/+8 |
|\ | |||||
| * | Merge remote-tracking branch 'duffer/pathod-lang-generators' | Maximilian Hils | 2016-06-02 | 1 | -5/+8 |
| |\ | |||||
| | * | Py3: Return bytes from FileGenerator | Shadab Zafar | 2016-06-02 | 1 | -4/+6 |
| | | | | | | | | | | | | and use __getitem__ instead of __getslice__ | ||||
| | * | Py3: Return bytes from RandomGenerator | Shadab Zafar | 2016-06-02 | 1 | -1/+2 |
| | | | | | | | | | | | | and use __getitem__ rather than __getslice__ | ||||
* | | | Satisfy linting gods | Aldo Cortesi | 2016-06-02 | 1 | -1/+2 |
| | | | |||||
* | | | Silence requests warnings | Aldo Cortesi | 2016-06-02 | 1 | -0/+3 |
| | | | | | | | | | | | | Once we convert the rest of the suite to pathoc, this can go. | ||||
* | | | Reimplement test retrievals on pathoc and ditch requests | Aldo Cortesi | 2016-06-02 | 3 | -11/+27 |
| | | | | | | | | | | | | | | | Requests uses urllib3, which has a connection pool that's not easy to disable (https://github.com/shazow/urllib3/issues/383). |