Commit Graph

13 Commits

Author SHA1 Message Date
Aldo Cortesi e6fd98bb72 Start rolling out leak detection in netlib 2016-06-14 14:32:18 +12:00
Aldo Cortesi 09edbd9492 Improve debugging of thread and other leaks
- Add basethread.BaseThread that all threads outside of test suites should use
- Add a signal handler to mitmproxy, mitmdump and mitmweb that dumps resource
information to screen when SIGUSR1 is received.
- Improve thread naming throughout to make thread dumps understandable
2016-06-11 19:52:24 +12:00
Aldo Cortesi 6943d7e397 More explicit name for the tcp.Server handler counter 2016-06-03 13:57:12 +12:00
Aldo Cortesi c5076f5e01 Implement a service connection handler counter, use it in Pathod test suite
Lots of failures, but that's a good thing.
2016-06-03 11:47:07 +12:00
Aldo Cortesi 69de78515d Make last_log actually return last log 2016-06-02 19:45:18 +12:00
Aldo Cortesi a7522d9308 pathod.test shouldn't use the API at all 2016-06-02 18:27:51 +12:00
Aldo Cortesi 254614e9f7 Since we have locks over the logs, use direct access rather than API requests to get to them 2016-06-02 18:10:36 +12:00
Aldo Cortesi 40156ce123 Bump error timeout 2016-06-02 17:55:11 +12:00
Aldo Cortesi 5e12384486 Remove debug print 2016-06-02 17:54:34 +12:00
Aldo Cortesi 92decf96dd Add expect_log to the pathod test truss, and use it for last_log 2016-06-02 17:46:37 +12:00
Maximilian Hils 2ce023a991 py3++ 2016-03-20 22:50:03 +01:00
Maximilian Hils 88d365cfe6 py3++: cStringIO 2016-03-20 19:40:03 +01:00
Maximilian Hils d33d3663ec combine projects 2016-02-18 13:03:40 +01:00