Commit Graph

441 Commits

Author SHA1 Message Date
Maximilian Hils d1904c2f52 python3++ 2015-09-18 15:38:31 +02:00
Maximilian Hils 7b6b157547 properly handle SNI IPs
fixes mitmproxy/mitmproxy#772
We must use the ipaddress package here, because that's what cryptography
uses. If we opt for something else, we have nasty namespace conflicts.
2015-09-18 15:35:02 +02:00
Maximilian Hils 266b80238d fix tests 2015-09-17 17:29:55 +02:00
Maximilian Hils d798ed955d python3++ 2015-09-17 16:31:50 +02:00
Maximilian Hils 8d71059d77 clean up http message models 2015-09-17 15:16:12 +02:00
Maximilian Hils a07e43df8b http1: add assemble_body function 2015-09-17 02:39:42 +02:00
Maximilian Hils dad9f06cb9 organize exceptions, improve content-length handling 2015-09-17 02:14:14 +02:00
Maximilian Hils 265f31e878 adjust http1-related code 2015-09-16 18:43:24 +02:00
Maximilian Hils a077d8877d finish netlib.http.http1 refactor 2015-09-16 00:04:23 +02:00
Maximilian Hils 11e7f476bd wip 2015-09-15 19:12:15 +02:00
Maximilian Hils 997fcde8ce make clean_bin unicode-aware 2015-09-12 17:03:09 +02:00
Maximilian Hils a38142d595 don't yield empty chunks 2015-09-11 01:17:39 +02:00
Maximilian Hils 92c763f469 fix mitmproxy/mitmproxy#759 2015-09-10 12:32:38 +02:00
Maximilian Hils a5f7752cf1 add ssl_read_select 2015-09-10 11:30:41 +02:00
Maximilian Hils 32b3c32138 add tcp.Address.__hash__ 2015-09-08 21:31:27 +02:00
Maximilian Hils fc86bbd03e let Headers inherit from object
fixes mitmproxy/mitmproxy#753
2015-09-08 15:16:25 +02:00
Maximilian Hils 50bf92ccce Merge branch 'master' of https://github.com/mitmproxy/netlib 2015-09-05 18:16:41 +02:00
Maximilian Hils 66ee1f465f headers: adjust everything 2015-09-05 18:15:47 +02:00
Maximilian Hils 3718e59308 finalize Headers, add tests 2015-09-05 15:27:48 +02:00
Maximilian Hils 5f97701958 add new headers class 2015-09-05 13:26:36 +02:00
Thomas Kriechbaumer 3ebe5a5147 http2: do net let Settings frames escape 2015-09-03 21:24:07 +02:00
Thomas Kriechbaumer 53abf5f4d7 http2: handle Ping in protocol 2015-09-03 21:24:07 +02:00
Maximilian Hils 2d0d240abc Merge branch 'master' of https://github.com/mitmproxy/netlib 2015-08-29 20:56:19 +02:00
Maximilian Hils 4a8fd79e33 don't yield prefix and suffix 2015-08-29 20:54:54 +02:00
Maximilian Hils 1265945f55 move sslversion mapping to netlib 2015-08-29 12:30:35 +02:00
Maximilian Hils 982d8000c4 wip 2015-08-28 17:35:48 +02:00
Thomas Kriechbaumer 3e3b59aa71 http2: fix priority stream dependency check 2015-08-26 20:58:00 +02:00
Maximilian Hils de0ced73f8 fix error messages 2015-08-25 18:33:55 +02:00
Maximilian Hils 21858995ae request -> request_method 2015-08-24 18:16:34 +02:00
Maximilian Hils 622665952c minor stylistic fixes 2015-08-24 16:52:32 +02:00
Thomas Kriechbaumer cd9701050f read_response depends on request for stream_id 2015-08-21 10:04:57 +02:00
Thomas Kriechbaumer 53f2582313 http2: fix unhandled settings frame 2015-08-20 20:36:51 +02:00
Thomas Kriechbaumer 16f697f68a http2: disable features we do not support yet 2015-08-20 10:27:06 +02:00
Thomas Kriechbaumer 94b7beae2a http2: implement basic flow control updates 2015-08-20 10:27:06 +02:00
Thomas Kriechbaumer eb34305518 http2: fix frame length field 2015-08-20 10:27:06 +02:00
Thomas Kriechbaumer e20d4e5c02 http2: add callback to handle unexpected frames 2015-08-20 10:27:06 +02:00
Thomas Kriechbaumer 1025c15242 fix typo 2015-08-20 10:27:06 +02:00
Maximilian Hils 9920de1e15 tcp._Connection: clean up code, fix inheritance 2015-08-19 16:06:33 +02:00
Maximilian Hils 6810fba54e add ssl peek polyfill 2015-08-19 16:05:42 +02:00
Thomas Kriechbaumer 9686a77dcb http2: implement request target 2015-08-18 22:17:00 +02:00
Thomas Kriechbaumer 07a1356e2f http2: add support for too large header frames 2015-08-18 21:22:42 +02:00
Thomas Kriechbaumer 0d384ac2a9 http2: add support for too large data frames 2015-08-18 21:22:42 +02:00
Maximilian Hils 231656859f TCPClient: more sophisticated address handling 2015-08-18 21:08:42 +02:00
Maximilian Hils 62416daa4a add Reader.peek() 2015-08-18 21:08:01 +02:00
Maximilian Hils c92dc1b868 re-add form_out 2015-08-18 21:07:38 +02:00
Aldo Cortesi 3d30667125 Bump netlib version - 0.13.1 is already out 2015-08-17 10:21:30 +12:00
Thomas Kriechbaumer 85cede47aa allow direct ALPN callback method 2015-08-16 11:41:34 +02:00
Thomas Kriechbaumer b7e6e1c9b2 add HTTP/1.1 ALPN version string 2015-08-15 17:49:59 +02:00
Thomas Kriechbaumer 6a30ad2ad2 fix minor style offences 2015-08-10 20:50:05 +02:00
Thomas Kriechbaumer ff27d65f08 cleanup whitespace 2015-08-10 20:44:36 +02:00