264 Commits

Author SHA1 Message Date
HoneyryderChuck
bb6bc00280 setting stream callbacks in the same method 2018-01-09 21:52:20 +00:00
HoneyryderChuck
25925f95e6 added extra space in comma headers 2018-01-09 21:41:41 +00:00
HoneyryderChuck
d7fd96763e added missing upgrade, HTTP2-Settings in connection for h2c flow 2018-01-09 21:41:26 +00:00
HoneyryderChuck
e762faedfa added h2c plugin 2018-01-08 22:30:50 +00:00
HoneyryderChuck
0dc0003333 http2: added http2_settings as configurable options; allow parser to be upgraded 2018-01-08 22:29:39 +00:00
HoneyryderChuck
30fcdfeb2c http2: added http2_settings as configurable options 2018-01-08 22:29:14 +00:00
HoneyryderChuck
491bf11e2e http1: allow for callback to be called outside of the HTTP::Parser callback-scope (as info only loads later, like #upgrade_data) 2018-01-08 22:28:41 +00:00
HoneyryderChuck
7f22b3f398 added a new socks5 proxy 2018-01-06 19:26:02 +00:00
HoneyryderChuck
c55771906d http/1: passing retries as well (not doing anything with them doh) 2018-01-06 19:25:47 +00:00
HoneyryderChuck
951504ae98 socks proxies must also implement close 2018-01-06 19:25:05 +00:00
HoneyryderChuck
85111a36a9 moved all response callbacks to the client, this will enable better plugin overwrites 2018-01-06 19:24:35 +00:00
HoneyryderChuck
284bb06663 added versioning to response (important to test h2c, but also to ensure which 1.x is responding) 2018-01-06 19:23:39 +00:00
HoneyryderChuck
518ed5280e moved deflate and gzip to separate file 2018-01-06 00:18:43 +00:00
HoneyryderChuck
61c82a0e1d reset response when resetting to idle in the request 2018-01-05 23:22:32 +00:00
HoneyryderChuck
ba4f6d9b01 fixed inspects and logger 2018-01-05 23:22:11 +00:00
HoneyryderChuck
50adc95c46 added backcompat mode to core request implementation 2018-01-05 23:21:56 +00:00
HoneyryderChuck
812cba2046 digest: guarantee that multi-requests are sent sequentially, as the auth header has to be validated each time with metadata from previous response 2018-01-05 23:20:05 +00:00
HoneyryderChuck
ad1ff620b0 finally fixed the digest auth; the real issue was lack of a cookie, which apparently httpbin needs 2018-01-05 23:04:53 +00:00
HoneyryderChuck
0821b13ba9 add log method as a mixin 2018-01-04 23:45:55 +00:00
HoneyryderChuck
7739ba81a4 Merge branch 'compression' 2018-01-04 23:17:07 +00:00
HoneyryderChuck
fbdd2391fd Merge branch 'cookies' 2018-01-04 23:14:45 +00:00
HoneyryderChuck
a033605a00 Merge branch 'follow_redirects' 2018-01-04 23:11:04 +00:00
HoneyryderChuck
c92a872257 Merge branch 'authentication' 2018-01-04 23:09:10 +00:00
HoneyryderChuck
30154b19a2 Merge branch 'proxy' 2018-01-04 22:59:13 +00:00
HoneyryderChuck
fe79e73ffd again, proxies... 2018-01-04 22:56:31 +00:00
HoneyryderChuck
4e737032b4 refactor version check into method 2018-01-04 22:55:28 +00:00
HoneyryderChuck
26dd09903c added socks 5 proxy which supports https 2018-01-04 22:46:06 +00:00
HoneyryderChuck
ba5f8d0bb2 removed unnecessary parameter 2018-01-04 22:12:57 +00:00
HoneyryderChuck
9b498e4d47 fix: return to idle state when rebuilding the socket (important for http/1 with connection: close multi-requests) 2018-01-04 22:12:40 +00:00
HoneyryderChuck
a87181dd63 no task, channel 2018-01-04 22:11:55 +00:00
HoneyryderChuck
b7421cc423 fixed the condition to check if are inflight incomplete requests for http/1 2018-01-04 22:11:38 +00:00
HoneyryderChuck
c411c9e7b4 added schemes for io, since uri is not stored anymore 2018-01-04 22:11:01 +00:00
HoneyryderChuck
04d778c1c6 again, namespace... 2018-01-03 21:57:40 +00:00
HoneyryderChuck
d586569ef6 removing unnecessary clutter in the socks proxy; add packet-builder module, added simpler parsers for socks packets 2018-01-03 21:32:01 +00:00
HoneyryderChuck
24ddda5b0a making proxy entities less dependent of the remaining infracstructure 2018-01-03 21:04:43 +00:00
HoneyryderChuck
8ff7857dbf added support for socks5 2018-01-03 20:47:37 +00:00
HoneyryderChuck
be75c2d9d0 fixed namespaces in socks 2018-01-03 20:47:04 +00:00
HoneyryderChuck
2c87393404 proxy: shared more logic through proxy implementations 2018-01-03 19:14:29 +01:00
HoneyryderChuck
a3c46525ff fixed socks4 corner cases, added support for socks4a 2018-01-03 18:41:06 +01:00
HoneyryderChuck
ded88911bf connect proxy: using hostname, make sure that there is public API for the necessary parts 2018-01-03 10:28:25 +01:00
HoneyryderChuck
9dc8c2aed3 fixed some logging 2018-01-03 10:27:56 +01:00
HoneyryderChuck
a37d932467 fixed arguments of SSL proxy 2018-01-03 09:37:42 +01:00
HoneyryderChuck
65565c20c9 made http and socks sub-plugins from proxy 2018-01-03 09:58:36 +02:00
HoneyryderChuck
c7cd490b73 passed more of the channel discovery logic to the client; this allows for more more transparent IO plugins, and removes the last monkey-patch 2018-01-03 09:51:25 +02:00
HoneyryderChuck
2d79aa3673 io: passing only host and port, nevermind the full request uri 2018-01-03 08:54:34 +02:00
HoneyryderChuck
777dcab564 socks: remove unnecessary resolv and puts call 2018-01-03 08:54:09 +02:00
HoneyryderChuck
7e7e7d2dcd added support for socks proxy version 4 (following the curl way of declaring the version through uri (socks4://, socks4a://, etc
...)
2018-01-02 13:41:44 +02:00
HoneyryderChuck
5c5cd441c0 fixed the ssl io inspect 2018-01-02 13:37:10 +02:00
HoneyryderChuck
ebb197b605 move proxyssl to the main proxy plugin 2018-01-02 13:36:58 +02:00
HoneyryderChuck
fe95d5928f moved http proxy logic to separate file, removing a few object extensions 2017-12-31 17:32:54 +02:00