Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | http2: rename module and refactor as strategy | Thomas Kriechbaumer | 2015-06-05 | 2 | -7/+12 |
| | |||||
* | http2: add logging and error handling | Thomas Kriechbaumer | 2015-06-05 | 2 | -14/+30 |
| | |||||
* | http2: change header_block_fragment handling | Thomas Kriechbaumer | 2015-06-05 | 1 | -45/+20 |
| | |||||
* | http2: add basic protocol handling | Thomas Kriechbaumer | 2015-06-05 | 3 | -97/+211 |
| | |||||
* | http2: introduce state for connection objects | Thomas Kriechbaumer | 2015-06-05 | 1 | -39/+63 |
| | |||||
* | http2: fix default settings | Thomas Kriechbaumer | 2015-06-05 | 1 | -2/+2 |
| | |||||
* | simplify default ssl params for test servers | Thomas Kriechbaumer | 2015-06-05 | 1 | -9/+21 |
| | |||||
* | Bump version | Aldo Cortesi | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | Merge pull request #61 from Kriechi/distribute-cffi | Maximilian Hils | 2015-05-31 | 1 | -2/+2 |
|\ | | | | | distribute cffi correctly | ||||
| * | distribute cffi correctly | Thomas Kriechbaumer | 2015-05-30 | 1 | -2/+2 |
| | | |||||
* | | websockets: nicer human readable | Aldo Cortesi | 2015-05-31 | 1 | -3/+5 |
| | | |||||
* | | When we see an incomplete read with 0 bytes, it's a disconnect | Aldo Cortesi | 2015-05-31 | 1 | -3/+6 |
| | | | | | | | | Partially fixes mitmproxy/mitmproxy:#593 | ||||
* | | Save first byte timestamp for writers too. | Aldo Cortesi | 2015-05-31 | 1 | -0/+1 |
| | | |||||
* | | Move version check to netlib, unit test it. | Aldo Cortesi | 2015-05-31 | 1 | -0/+49 |
|/ | |||||
* | Adjust pep8 parameters, reformat | Aldo Cortesi | 2015-05-30 | 8 | -117/+236 |
| | |||||
* | cleanup imports | Thomas Kriechbaumer | 2015-05-29 | 1 | -1/+0 |
| | |||||
* | add HTTP/2-capable client | Thomas Kriechbaumer | 2015-05-29 | 1 | -0/+65 |
| | |||||
* | add ALPN support to TCP abstraction | Thomas Kriechbaumer | 2015-05-29 | 2 | -9/+29 |
| | |||||
* | add generic frame parsing method | Thomas Kriechbaumer | 2015-05-29 | 1 | -0/+17 |
| | |||||
* | add hpack to encode and decode headers | Thomas Kriechbaumer | 2015-05-29 | 1 | -9/+32 |
| | |||||
* | fix default argument | Thomas Kriechbaumer | 2015-05-29 | 1 | -1/+5 |
| | | | | | Python evaluates default args during method definition. So you get the same dict each time you call this method. Therefore the dict is the SAME actual object each time. | ||||
* | add human_readable() to each frame for debugging | Thomas Kriechbaumer | 2015-05-29 | 1 | -1/+74 |
| | |||||
* | Satisfy autobots. | Aldo Cortesi | 2015-05-28 | 1 | -1/+2 |
| | |||||
* | Merge branch 'Kriechi-cleanup' | Aldo Cortesi | 2015-05-28 | 14 | -242/+322 |
|\ | |||||
| * | cleanup code with autoflake | Thomas Kriechbaumer | 2015-05-27 | 5 | -14/+1 |
| | | | | | | | | run the following command: $ autoflake -r -i --remove-all-unused-imports --remove-unused-variables . | ||||
| * | cleanup code with autopep8 | Thomas Kriechbaumer | 2015-05-27 | 14 | -229/+308 |
| | | | | | | | | run the following command: $ autopep8 -i -r -a -a . | ||||
* | | update TLS defaults: signature hash and DH params | Thomas Kriechbaumer | 2015-05-27 | 1 | -11/+21 |
|/ | | | | | * SHA1 is deprecated (use SHA256) * increase RSA key to 2048 bits * increase DH params to 4096 bits (LogJam attack) | ||||
* | remove outdated workarounds | Thomas Kriechbaumer | 2015-05-27 | 1 | -8/+4 |
| | |||||
* | Merge pull request #56 from Kriechi/http2-frames | Aldo Cortesi | 2015-05-27 | 3 | -0/+401 |
|\ | | | | | implement basic HTTP/2 frame classes | ||||
| * | implement basic HTTP/2 frame classes | Thomas Kriechbaumer | 2015-05-26 | 3 | -0/+401 |
| | | |||||
* | | Post release version bump. | Aldo Cortesi | 2015-05-26 | 1 | -1/+1 |
|/ | |||||
* | improve displaying tcp addresses | Maximilian Hils | 2015-05-18 | 1 | -1/+4 |
| | |||||
* | release prep: bump version | Aldo Cortesi | 2015-05-18 | 1 | -1/+1 |
| | |||||
* | Zap outdated comment | Aldo Cortesi | 2015-05-16 | 1 | -3/+1 |
| | |||||
* | Add tcp.Reader.safe_read, use it in socks and websockets | Aldo Cortesi | 2015-05-05 | 3 | -45/+51 |
| | | | | | | safe_read is guaranteed to raise or return a byte string of the requested length. It's particularly useful for implementing binary protocols. | ||||
* | websockets: more flexible masking interface. | Aldo Cortesi | 2015-05-01 | 1 | -3/+8 |
| | |||||
* | websockets: A progressive masker. | Aldo Cortesi | 2015-05-01 | 1 | -14/+18 |
| | |||||
* | websockets: more compact and legible human_readable | Aldo Cortesi | 2015-04-30 | 2 | -25/+38 |
| | |||||
* | Add a tiny utility class for keeping bi-directional mappings. | Aldo Cortesi | 2015-04-30 | 3 | -34/+77 |
| | | | | Use it in websocket and socks. | ||||
* | websockets: nicer frame construction | Aldo Cortesi | 2015-04-24 | 1 | -15/+23 |
| | | | | | | - Resolve unspecified values on instantiation - Add a check for masking key length - Smarter resolution for masking_key and mask values. Do the right thing unless told not to. | ||||
* | websockets: include all header values in frame roundtrip | Aldo Cortesi | 2015-04-24 | 1 | -12/+15 |
| | |||||
* | websockets: remove validation | Aldo Cortesi | 2015-04-24 | 1 | -20/+4 |
| | | | | | | | We don't really need this any more. The interface is much less error prone because bit flags are no longer integers, we have a range check on opcode on header instantiation, and we've deferred length code calculation and so forth into the byte render methods. | ||||
* | websocket: interface refactoring | Aldo Cortesi | 2015-04-24 | 2 | -160/+159 |
| | | | | | | | - Separate out FrameHeader. We need to deal with this separately in many circumstances. - Simpler equality scheme. - Bits are now specified by truthiness - we don't care about the integer value. This means lots of validation is not needed any more. | ||||
* | websockets: refactor to avoid rundantly specifying payloads and payload lengths | Aldo Cortesi | 2015-04-24 | 1 | -37/+23 |
| | |||||
* | websockets: extract frame header creation into a function | Aldo Cortesi | 2015-04-24 | 1 | -120/+143 |
| | |||||
* | websockets: handshake checks only take headers | Aldo Cortesi | 2015-04-23 | 2 | -10/+10 |
| | |||||
* | websockets: (very) slightly nicer is_valid constraints | Aldo Cortesi | 2015-04-21 | 1 | -5/+3 |
| | |||||
* | websockets: constants, variable names, refactoring | Aldo Cortesi | 2015-04-21 | 1 | -35/+40 |
| | |||||
* | Whitespace, interface simplification | Aldo Cortesi | 2015-04-21 | 1 | -15/+2 |
| | | | | | - safe_tobytes doesn't buy us much - move masking key generation inline | ||||
* | websockets: refactor to use http and header functions in http.py | Aldo Cortesi | 2015-04-21 | 2 | -130/+104 |
| |