Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | http2: rename module and refactor as strategy | Thomas Kriechbaumer | 2015-06-05 | 1 | -1/+1 |
| | |||||
* | http2: add logging and error handling | Thomas Kriechbaumer | 2015-06-05 | 1 | -2/+12 |
| | |||||
* | http2: change header_block_fragment handling | Thomas Kriechbaumer | 2015-06-05 | 1 | -51/+60 |
| | |||||
* | http2: add basic protocol handling | Thomas Kriechbaumer | 2015-06-05 | 2 | -18/+1 |
| | |||||
* | http2: explicitly mention all arguments in tests | Thomas Kriechbaumer | 2015-06-05 | 1 | -122/+203 |
| | |||||
* | simplify default ssl params for test servers | Thomas Kriechbaumer | 2015-06-05 | 1 | -65/+11 |
| | |||||
* | Move version check to netlib, unit test it. | Aldo Cortesi | 2015-05-31 | 1 | -0/+22 |
| | |||||
* | Adjust pep8 parameters, reformat | Aldo Cortesi | 2015-05-30 | 6 | -52/+211 |
| | |||||
* | make tests aware of ALPN & OpenSSL 1.0.2 dependency | Thomas Kriechbaumer | 2015-05-29 | 1 | -8/+13 |
| | |||||
* | cleanup imports | Thomas Kriechbaumer | 2015-05-29 | 1 | -2/+0 |
| | |||||
* | add HTTP/2-capable client | Thomas Kriechbaumer | 2015-05-29 | 1 | -0/+20 |
| | |||||
* | add ALPN support to TCP abstraction | Thomas Kriechbaumer | 2015-05-29 | 1 | -0/+18 |
| | |||||
* | add hpack to encode and decode headers | Thomas Kriechbaumer | 2015-05-29 | 1 | -36/+133 |
| | |||||
* | add human_readable() to each frame for debugging | Thomas Kriechbaumer | 2015-05-29 | 1 | -14/+34 |
| | |||||
* | test Address __str__ | Thomas Kriechbaumer | 2015-05-29 | 1 | -0/+1 |
| | |||||
* | Merge branch 'Kriechi-cleanup' | Aldo Cortesi | 2015-05-28 | 13 | -114/+199 |
|\ | |||||
| * | cleanup code with autoflake | Thomas Kriechbaumer | 2015-05-27 | 5 | -14/+7 |
| | | | | | | | | run the following command: $ autoflake -r -i --remove-all-unused-imports --remove-unused-variables . | ||||
| * | cleanup code with autopep8 | Thomas Kriechbaumer | 2015-05-27 | 11 | -102/+194 |
| | | | | | | | | run the following command: $ autopep8 -i -r -a -a . | ||||
* | | update TLS defaults: signature hash and DH params | Thomas Kriechbaumer | 2015-05-27 | 1 | -3/+11 |
|/ | | | | | * SHA1 is deprecated (use SHA256) * increase RSA key to 2048 bits * increase DH params to 4096 bits (LogJam attack) | ||||
* | implement basic HTTP/2 frame classes | Thomas Kriechbaumer | 2015-05-26 | 2 | -0/+341 |
| | |||||
* | Zap a left-over test | Aldo Cortesi | 2015-05-05 | 1 | -12/+0 |
| | |||||
* | Add tcp.Reader.safe_read, use it in socks and websockets | Aldo Cortesi | 2015-05-05 | 4 | -17/+29 |
| | | | | | | safe_read is guaranteed to raise or return a byte string of the requested length. It's particularly useful for implementing binary protocols. | ||||
* | websockets: A progressive masker. | Aldo Cortesi | 2015-05-01 | 1 | -0/+16 |
| | |||||
* | websockets: more compact and legible human_readable | Aldo Cortesi | 2015-04-30 | 2 | -3/+17 |
| | |||||
* | Add a tiny utility class for keeping bi-directional mappings. | Aldo Cortesi | 2015-04-30 | 2 | -1/+14 |
| | | | | Use it in websocket and socks. | ||||
* | testing: http read_request corner case | Aldo Cortesi | 2015-04-30 | 1 | -0/+5 |
| | |||||
* | websockets: nicer frame construction | Aldo Cortesi | 2015-04-24 | 1 | -0/+12 |
| | | | | | | - 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 | -0/+4 |
| | |||||
* | websockets: remove validation | Aldo Cortesi | 2015-04-24 | 1 | -18/+8 |
| | | | | | | | 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 | 1 | -7/+42 |
| | | | | | | | - 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 | -14/+3 |
| | |||||
* | websockets: extract frame header creation into a function | Aldo Cortesi | 2015-04-24 | 1 | -0/+4 |
| | |||||
* | websockets: handshake checks only take headers | Aldo Cortesi | 2015-04-23 | 2 | -30/+14 |
| | |||||
* | websockets: constants, variable names, refactoring | Aldo Cortesi | 2015-04-21 | 1 | -0/+27 |
| | |||||
* | Whitespace, interface simplification | Aldo Cortesi | 2015-04-21 | 1 | -10/+3 |
| | | | | | - 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 | 1 | -64/+48 |
| | |||||
* | Whitespace, indentation, nounce -> nonce | Aldo Cortesi | 2015-04-21 | 1 | -29/+42 |
| | |||||
* | Whitespace, pep8, mixed indentation | Aldo Cortesi | 2015-04-21 | 1 | -14/+56 |
| | |||||
* | Return a named tuple from read_response | Aldo Cortesi | 2015-04-21 | 1 | -3/+5 |
| | |||||
* | Migrate requeset reading from mitmproxy to netlib | Aldo Cortesi | 2015-04-21 | 1 | -0/+72 |
| | |||||
* | whitespace | Chandler Abraham | 2015-04-19 | 1 | -2/+1 |
| | |||||
* | fixing test coverage, adding to_file/from_file reader writes to match socks.py | Chandler Abraham | 2015-04-19 | 1 | -17/+44 |
| | |||||
* | Websockets: reorganise | Aldo Cortesi | 2015-04-20 | 1 | -16/+89 |
| | | | | | - websockets.py to top-level - implementations into test suite | ||||
* | websockets: more whitespace, WebSocketFrame -> Frame | Aldo Cortesi | 2015-04-17 | 1 | -19/+26 |
| | |||||
* | Merge pull request #54 from Chandler/websockets | Aldo Cortesi | 2015-04-17 | 1 | -0/+83 |
|\ | | | | | Netlib WebSockets take 1 | ||||
| * | 100% test coverage, though still need plenty more | Chandler Abraham | 2015-04-13 | 1 | -2/+12 |
| | | |||||
| * | whitespace | Chandler Abraham | 2015-04-11 | 1 | -6/+1 |
| | | |||||
| * | handshake tests, serialization test | Chandler Abraham | 2015-04-11 | 1 | -7/+56 |
| | | |||||
| * | small cleanups, working on tests | Chandler Abraham | 2015-04-11 | 1 | -5/+19 |
| | | |||||
| * | netlib websockets | Chandler Abraham | 2015-04-10 | 1 | -0/+15 |
| | |