Thomas Kriechbaumer
ff478b5290
ignore eggs directory
2015-06-08 12:41:48 +02:00
Thomas Kriechbaumer
359ef46905
fix coding style
2015-06-08 12:29:39 +02:00
Thomas Kriechbaumer
293e3c6896
http2: add request-response handling
2015-06-08 10:45:17 +02:00
Thomas Kriechbaumer
722b3ae9cd
http2: setup ALPN
2015-06-08 10:29:50 +02:00
Thomas Kriechbaumer
16361439c4
http2: add command line arguments
2015-06-08 10:10:32 +02:00
Aldo Cortesi
7b4e50bb68
Bump timeouts to appease Travis.
2015-06-08 16:34:21 +12:00
Aldo Cortesi
332832278f
100% test coverage
2015-06-08 16:25:33 +12:00
Aldo Cortesi
97fdb9ef0c
More timeout improvements
2015-06-08 15:57:29 +12:00
Aldo Cortesi
3ad73dfb5b
Debug to diagnose Travis races
2015-06-08 15:40:58 +12:00
Aldo Cortesi
317db54666
Revamp timeout handling and test logging
2015-06-08 15:23:56 +12:00
Aldo Cortesi
af22814bc3
Revamp error logging somewhat
2015-06-08 14:01:04 +12:00
David Weinstein
9b70d4bd2a
Merge pull request #613 from dweinstein/patch/docker-tweaks
...
match name of automated build base img
2015-06-07 21:43:26 -04:00
Aldo Cortesi
7dff8f0dca
Convert parse_websocket_frame to a generator
2015-06-08 10:58:12 +12:00
David Weinstein
84b4ca6a65
match name of automated build base img
2015-06-07 11:06:47 -04:00
Aldo Cortesi
df962f8e7b
Convert parse_pathod to generator
2015-06-07 16:11:32 +12:00
Aldo Cortesi
0da3e51e1c
Make parse_pathoc a generator
...
This lets us do things like this:
get:/:ir,@1:x1000000000
It will also let us expand the language to include a "repeat forever" concept.
2015-06-07 13:18:33 +12:00
Aldo Cortesi
60ee1dd3aa
Merge pull request #611 from dweinstein/feature/dockerfiles
...
initial add of docker mitmproxy
2015-06-07 10:12:49 +12:00
David Weinstein
3bd36b58e5
initial add of docker mitmproxy
2015-06-06 00:14:53 -04:00
Aldo Cortesi
9c48bfb2a5
http2: ditch the logging for now
...
The API is well designed: it looks like we can get all the information
we need to expose debugging in the caller of the API.
2015-06-06 12:30:53 +12:00
Aldo Cortesi
f2d784896d
http2: resolve module structure and circular dependencies
...
- Move implementation out of __init__.py to protocol.py (an anti-pattern
because it makes the kind of structural refactoring we need hard)
- protocol imports frame, frame does not import protocol. To do this, we
shift the default settings to frame. If this feels wrong, we can move
them to a separate module (defaults.py?.).
2015-06-06 12:26:48 +12:00
Aldo Cortesi
fcaabeb455
Merge pull request #65 from Kriechi/h2-client
...
HTTP/2 protocol definition
2015-06-06 11:54:35 +12:00
Aldo Cortesi
bf7b76a997
Merge pull request #610 from tekii/fix-607
...
Fix 607
2015-06-06 11:10:33 +12:00
Thomas Kriechbaumer
e39d8aed6d
http2: refactor hex to file adapter
2015-06-05 20:55:32 +02:00
Thomas Kriechbaumer
f2db8abbe8
use open instead of file
2015-06-05 20:52:11 +02:00
Thomas Kriechbaumer
6c1c6f5f0a
http2: fix EchoHandler test helper
2015-06-05 20:49:03 +02:00
Marcelo Glezer
1befa9477c
fix #607 fix message
2015-06-05 15:33:36 -03:00
Thomas Kriechbaumer
e7c84a1ce1
make travis run all tests
2015-06-05 20:22:21 +02:00
Thomas Kriechbaumer
49043131cc
increase test coverage
2015-06-05 20:22:20 +02:00
Marcelo Glezer
17b34de28d
fix #607 decode data before sending it to pyperclip
2015-06-05 15:19:57 -03:00
Thomas Kriechbaumer
fdc908cb98
http2: add protocol tests
2015-06-05 20:19:48 +02:00
Thomas Kriechbaumer
f003f87197
http2: rename module and refactor as strategy
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
623dd850e0
http2: add logging and error handling
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
40fa113116
http2: change header_block_fragment handling
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
5cecbdc168
http2: add basic protocol handling
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
e4c129026f
http2: introduce state for connection objects
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
b84001e8f0
http2: explicitly mention all arguments in tests
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
436291764c
http2: fix default settings
2015-06-05 13:33:37 +02:00
Thomas Kriechbaumer
9883509f89
simplify default ssl params for test servers
2015-06-05 13:33:37 +02:00
Aldo Cortesi
0269d0fb8b
repr for websocket frames
2015-06-05 17:08:22 +12:00
Aldo Cortesi
7412ec83f5
Refactor pathoc message receive to use queues and generators
...
This gives us a nicer, thread-safe interface.
2015-06-05 16:03:17 +12:00
Aldo Cortesi
d23691f98c
Improve websocket logging
2015-06-05 12:04:40 +12:00
Aldo Cortesi
2d9b9be1f4
Revert "tcp: clear_log to clear socket logs"
...
start_log also clears the log, which is good enough.
This reverts commit 4ca62e0d9b
.
2015-06-05 11:50:29 +12:00
Aldo Cortesi
4ca62e0d9b
tcp: clear_log to clear socket logs
2015-06-05 11:42:06 +12:00
Aldo Cortesi
0a7da6a9b1
Rudimentary support for reflected websocket frames.
2015-06-04 23:57:23 +12:00
Aldo Cortesi
9311d60596
Test output to try to figure out why Travis no longer loves us
2015-06-04 20:42:11 +12:00
Aldo Cortesi
07d5b90ebf
Shore up test suite.
2015-06-04 20:36:50 +12:00
Aldo Cortesi
182b79ab9e
Refactor to allow dropping to websockets on any anchor point
2015-06-04 20:23:05 +12:00
Aldo Cortesi
fb1b9113a1
Try to fix test suite race like a savage.
2015-06-04 19:55:01 +12:00
Aldo Cortesi
80d191ff7c
Try to appease Travis
2015-06-04 19:45:22 +12:00
Aldo Cortesi
ae9f470d2b
Craft anchor is now specified as a regex
...
Unifies this with anchor points.
2015-06-04 19:09:38 +12:00