aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* http2: rename module and refactor as strategyThomas Kriechbaumer2015-06-051-1/+1
|
* http2: add logging and error handlingThomas Kriechbaumer2015-06-051-2/+12
|
* http2: change header_block_fragment handlingThomas Kriechbaumer2015-06-051-51/+60
|
* http2: add basic protocol handlingThomas Kriechbaumer2015-06-052-18/+1
|
* http2: explicitly mention all arguments in testsThomas Kriechbaumer2015-06-051-122/+203
|
* simplify default ssl params for test serversThomas Kriechbaumer2015-06-051-65/+11
|
* Move version check to netlib, unit test it.Aldo Cortesi2015-05-311-0/+22
|
* Adjust pep8 parameters, reformatAldo Cortesi2015-05-306-52/+211
|
* make tests aware of ALPN & OpenSSL 1.0.2 dependencyThomas Kriechbaumer2015-05-291-8/+13
|
* cleanup importsThomas Kriechbaumer2015-05-291-2/+0
|
* add HTTP/2-capable clientThomas Kriechbaumer2015-05-291-0/+20
|
* add ALPN support to TCP abstractionThomas Kriechbaumer2015-05-291-0/+18
|
* add hpack to encode and decode headersThomas Kriechbaumer2015-05-291-36/+133
|
* add human_readable() to each frame for debuggingThomas Kriechbaumer2015-05-291-14/+34
|
* test Address __str__Thomas Kriechbaumer2015-05-291-0/+1
|
* Merge branch 'Kriechi-cleanup'Aldo Cortesi2015-05-2813-114/+199
|\
| * cleanup code with autoflakeThomas Kriechbaumer2015-05-275-14/+7
| | | | | | | | run the following command: $ autoflake -r -i --remove-all-unused-imports --remove-unused-variables .
| * cleanup code with autopep8Thomas Kriechbaumer2015-05-2711-102/+194
| | | | | | | | run the following command: $ autopep8 -i -r -a -a .
* | update TLS defaults: signature hash and DH paramsThomas Kriechbaumer2015-05-271-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 classesThomas Kriechbaumer2015-05-262-0/+341
|
* Zap a left-over testAldo Cortesi2015-05-051-12/+0
|
* Add tcp.Reader.safe_read, use it in socks and websocketsAldo Cortesi2015-05-054-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 Cortesi2015-05-011-0/+16
|
* websockets: more compact and legible human_readableAldo Cortesi2015-04-302-3/+17
|
* Add a tiny utility class for keeping bi-directional mappings.Aldo Cortesi2015-04-302-1/+14
| | | | Use it in websocket and socks.
* testing: http read_request corner caseAldo Cortesi2015-04-301-0/+5
|
* websockets: nicer frame constructionAldo Cortesi2015-04-241-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 roundtripAldo Cortesi2015-04-241-0/+4
|
* websockets: remove validationAldo Cortesi2015-04-241-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 refactoringAldo Cortesi2015-04-241-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 lengthsAldo Cortesi2015-04-241-14/+3
|
* websockets: extract frame header creation into a functionAldo Cortesi2015-04-241-0/+4
|
* websockets: handshake checks only take headersAldo Cortesi2015-04-232-30/+14
|
* websockets: constants, variable names, refactoringAldo Cortesi2015-04-211-0/+27
|
* Whitespace, interface simplificationAldo Cortesi2015-04-211-10/+3
| | | | | - safe_tobytes doesn't buy us much - move masking key generation inline
* websockets: refactor to use http and header functions in http.pyAldo Cortesi2015-04-211-64/+48
|
* Whitespace, indentation, nounce -> nonceAldo Cortesi2015-04-211-29/+42
|
* Whitespace, pep8, mixed indentationAldo Cortesi2015-04-211-14/+56
|
* Return a named tuple from read_responseAldo Cortesi2015-04-211-3/+5
|
* Migrate requeset reading from mitmproxy to netlibAldo Cortesi2015-04-211-0/+72
|
* whitespaceChandler Abraham2015-04-191-2/+1
|
* fixing test coverage, adding to_file/from_file reader writes to match socks.pyChandler Abraham2015-04-191-17/+44
|
* Websockets: reorganiseAldo Cortesi2015-04-201-16/+89
| | | | | - websockets.py to top-level - implementations into test suite
* websockets: more whitespace, WebSocketFrame -> FrameAldo Cortesi2015-04-171-19/+26
|
* Merge pull request #54 from Chandler/websocketsAldo Cortesi2015-04-171-0/+83
|\ | | | | Netlib WebSockets take 1
| * 100% test coverage, though still need plenty moreChandler Abraham2015-04-131-2/+12
| |
| * whitespaceChandler Abraham2015-04-111-6/+1
| |
| * handshake tests, serialization testChandler Abraham2015-04-111-7/+56
| |
| * small cleanups, working on testsChandler Abraham2015-04-111-5/+19
| |
| * netlib websocketsChandler Abraham2015-04-101-0/+15
| |