aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
Commit message (Collapse)AuthorAgeFilesLines
* http2: rename module and refactor as strategyThomas Kriechbaumer2015-06-052-7/+12
|
* http2: add logging and error handlingThomas Kriechbaumer2015-06-052-14/+30
|
* http2: change header_block_fragment handlingThomas Kriechbaumer2015-06-051-45/+20
|
* http2: add basic protocol handlingThomas Kriechbaumer2015-06-053-97/+211
|
* http2: introduce state for connection objectsThomas Kriechbaumer2015-06-051-39/+63
|
* http2: fix default settingsThomas Kriechbaumer2015-06-051-2/+2
|
* simplify default ssl params for test serversThomas Kriechbaumer2015-06-051-9/+21
|
* Bump versionAldo Cortesi2015-06-041-1/+1
|
* Merge pull request #61 from Kriechi/distribute-cffiMaximilian Hils2015-05-311-2/+2
|\ | | | | distribute cffi correctly
| * distribute cffi correctlyThomas Kriechbaumer2015-05-301-2/+2
| |
* | websockets: nicer human readableAldo Cortesi2015-05-311-3/+5
| |
* | When we see an incomplete read with 0 bytes, it's a disconnectAldo Cortesi2015-05-311-3/+6
| | | | | | | | Partially fixes mitmproxy/mitmproxy:#593
* | Save first byte timestamp for writers too.Aldo Cortesi2015-05-311-0/+1
| |
* | Move version check to netlib, unit test it.Aldo Cortesi2015-05-311-0/+49
|/
* Adjust pep8 parameters, reformatAldo Cortesi2015-05-308-117/+236
|
* cleanup importsThomas Kriechbaumer2015-05-291-1/+0
|
* add HTTP/2-capable clientThomas Kriechbaumer2015-05-291-0/+65
|
* add ALPN support to TCP abstractionThomas Kriechbaumer2015-05-292-9/+29
|
* add generic frame parsing methodThomas Kriechbaumer2015-05-291-0/+17
|
* add hpack to encode and decode headersThomas Kriechbaumer2015-05-291-9/+32
|
* fix default argumentThomas Kriechbaumer2015-05-291-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 debuggingThomas Kriechbaumer2015-05-291-1/+74
|
* Satisfy autobots.Aldo Cortesi2015-05-281-1/+2
|
* Merge branch 'Kriechi-cleanup'Aldo Cortesi2015-05-2814-242/+322
|\
| * cleanup code with autoflakeThomas Kriechbaumer2015-05-275-14/+1
| | | | | | | | run the following command: $ autoflake -r -i --remove-all-unused-imports --remove-unused-variables .
| * cleanup code with autopep8Thomas Kriechbaumer2015-05-2714-229/+308
| | | | | | | | run the following command: $ autopep8 -i -r -a -a .
* | update TLS defaults: signature hash and DH paramsThomas Kriechbaumer2015-05-271-11/+21
|/ | | | | * SHA1 is deprecated (use SHA256) * increase RSA key to 2048 bits * increase DH params to 4096 bits (LogJam attack)
* remove outdated workaroundsThomas Kriechbaumer2015-05-271-8/+4
|
* Merge pull request #56 from Kriechi/http2-framesAldo Cortesi2015-05-273-0/+401
|\ | | | | implement basic HTTP/2 frame classes
| * implement basic HTTP/2 frame classesThomas Kriechbaumer2015-05-263-0/+401
| |
* | Post release version bump.Aldo Cortesi2015-05-261-1/+1
|/
* improve displaying tcp addressesMaximilian Hils2015-05-181-1/+4
|
* release prep: bump versionAldo Cortesi2015-05-181-1/+1
|
* Zap outdated commentAldo Cortesi2015-05-161-3/+1
|
* Add tcp.Reader.safe_read, use it in socks and websocketsAldo Cortesi2015-05-053-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 Cortesi2015-05-011-3/+8
|
* websockets: A progressive masker.Aldo Cortesi2015-05-011-14/+18
|
* websockets: more compact and legible human_readableAldo Cortesi2015-04-302-25/+38
|
* Add a tiny utility class for keeping bi-directional mappings.Aldo Cortesi2015-04-303-34/+77
| | | | Use it in websocket and socks.
* websockets: nicer frame constructionAldo Cortesi2015-04-241-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 roundtripAldo Cortesi2015-04-241-12/+15
|
* websockets: remove validationAldo Cortesi2015-04-241-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 refactoringAldo Cortesi2015-04-242-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 lengthsAldo Cortesi2015-04-241-37/+23
|
* websockets: extract frame header creation into a functionAldo Cortesi2015-04-241-120/+143
|
* websockets: handshake checks only take headersAldo Cortesi2015-04-232-10/+10
|
* websockets: (very) slightly nicer is_valid constraintsAldo Cortesi2015-04-211-5/+3
|
* websockets: constants, variable names, refactoringAldo Cortesi2015-04-211-35/+40
|
* Whitespace, interface simplificationAldo Cortesi2015-04-211-15/+2
| | | | | - 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-212-130/+104
|