aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make escape_control_characters handle strings on Py2Shadab Zafar2016-07-091-2/+2
| |
* | strutils.hexdump returns native_stringsShadab Zafar2016-07-091-1/+1
| |
* | fix #1314Maximilian Hils2016-07-081-20/+23
| |
* | fix testsMaximilian Hils2016-07-071-0/+1
| |
* | tests++Maximilian Hils2016-07-071-1/+1
| |
* | py3++Maximilian Hils2016-07-073-1/+23
| |
* | sni is now str, not bytesMaximilian Hils2016-07-062-5/+3
| |
* | py3++, multidict fixesMaximilian Hils2016-07-063-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | This commit improves Python 3 compatibility and fixes two multidict issues: 1. Headers.items(multi=True) now decodes fields 2. MultiDict.clear(item) has been removed, as Python's MutableMapping already defines .clear() with different semantics. This is confusing for everyone who expects a dict-like object. `.pop("attr", None)` is not fantastic, but it's the Python way to do it.
* | Merge pull request #1319 from mitmproxy/fix-py27-encoding-issuesMaximilian Hils2016-07-061-2/+2
|\ \ | | | | | | Fix pathod log encoding
| * | fix pathod log encodingMaximilian Hils2016-07-061-2/+2
| | |
* | | py3++Maximilian Hils2016-07-061-16/+9
|/ /
* | Merge pull request #1315 from mitmproxy/better-unicode-handlingMaximilian Hils2016-07-052-29/+53
|\ \ | | | | | | remove clean_bin, clarify unicode handling
| * | remove clean_bin, clarify unicode handlingMaximilian Hils2016-07-052-29/+53
| | |
* | | Merge pull request #1297 from dufferzafar/py3-flow-exportMaximilian Hils2016-07-051-4/+4
|\ \ \ | |/ / |/| | Python 3 - test_flow_export
| * | netlib: condition on PY2 rather than on PY3Shadab Zafar2016-07-021-4/+4
| |/ | | | | | | Let's just hope PY4 doesn't break this!
* | py3: fix bytes vs. strThomas Kriechbaumer2016-07-031-4/+4
| |
* | h2: move header parsing to netlibShadab Zafar2016-07-032-0/+39
|/
* minor fixesMaximilian Hils2016-07-011-1/+1
|
* fix tcp message handlingMaximilian Hils2016-07-012-4/+7
|
* py3++Maximilian Hils2016-07-014-17/+17
|
* Handle case when scheme is NoneShadab Zafar2016-07-011-1/+1
|
* http2: improve error handling in testsThomas Kriechbaumer2016-06-221-1/+2
|
* move custom HTTP/2 stack from netlib to pathodThomas Kriechbaumer2016-06-172-434/+0
|
* Py3: websocketsShadab Zafar2016-06-151-2/+2
|
* Py3: fix http2 bytes issueShadab Zafar2016-06-151-2/+2
|
* Merge pull request #1253 from mhils/fix-debugAldo Cortesi2016-06-141-3/+5
|\ | | | | Fix Debug Mode on Windows
| * fix debug mode on WindowsMaximilian Hils2016-06-131-3/+5
| |
* | Start rolling out leak detection in netlibAldo Cortesi2016-06-142-0/+15
|/
* Merge branch 'master' into appveyorAldo Cortesi2016-06-121-2/+2
|\
| * Fold mitmproxy.version and pathod.version into netlib.versionAldo Cortesi2016-06-121-2/+2
| |
* | Make the tcp connection closer cancellableAldo Cortesi2016-06-121-9/+21
|/ | | | And use this to make pathoc error handling more sophisticated
* Satisfy lintAldo Cortesi2016-06-111-1/+5
|
* debug: On SIGUSR2, we dump tracebacks for all threads to screenAldo Cortesi2016-06-111-1/+15
|
* Zap stray semicolonAldo Cortesi2016-06-111-1/+1
|
* debug: num_fds is posix-onlyAldo Cortesi2016-06-111-1/+2
|
* debug: add OpenSSLAldo Cortesi2016-06-111-0/+3
|
* debug: verison -> versionAldo Cortesi2016-06-111-1/+1
| | | | @resam blew our sponsorship - t-mobile is up next
* Improve debugging of thread and other leaksAldo Cortesi2016-06-113-17/+86
| | | | | | | - 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
* debug.sysinfo: tests and coverageAldo Cortesi2016-06-111-6/+9
|
* Add a --sysinfo flag to all daemonsAldo Cortesi2016-06-111-0/+26
| | | | | This dumps all the platform information and mitmproxy version data we'd normally need to troubleshoot an issue.
* Remove odictAldo Cortesi2016-06-093-174/+13
| | | | | | | | - Adds default implementations for _kconv and _reduce_values to MultiDict. Without these, operations fail in really, really non-obvious ways. - Replace the remaining few instances of ODict Fixes #1159
* tests++Maximilian Hils2016-06-071-7/+1
|
* Utils cleanupsAldo Cortesi2016-06-074-18/+30
| | | | | | | | - 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.
* minor fixesMaximilian Hils2016-06-062-5/+5
|
* netlib: always disconnect when using context managerMaximilian Hils2016-06-061-2/+4
|
* Now keeps header capitalizationredfast002016-06-051-1/+1
|
* Fix test that may fail due to binary header dataAldo Cortesi2016-06-051-1/+3
| | | | | | | | 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
* More explicit name for the tcp.Server handler counterAldo Cortesi2016-06-031-2/+2
|
* Make tcp.Client.connect return a context manager that closes the connectionAldo Cortesi2016-06-031-0/+8
|
* Implement a service connection handler counter, use it in Pathod test suiteAldo Cortesi2016-06-031-7/+28
| | | | Lots of failures, but that's a good thing.