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 |
|
HoneyryderChuck
|
6601d41d33
|
io inspect: do not go for fileno if io is closed (it raises an error)
|
2017-12-31 17:31:17 +02:00 |
|
HoneyryderChuck
|
0477f48908
|
changed the io system to rely on a known state instead of bool variables; implemented state-machine
|
2017-12-30 15:30:23 +02:00 |
|
HoneyryderChuck
|
ca96f6dfe1
|
added transcoders for content-encoding; added logic in request body to iteratively apply them; there's still a problem: how to close all buffers in the most logical way
|
2017-12-22 15:06:32 +02:00 |
|
HoneyryderChuck
|
2f67f0ad15
|
added tests for request body compression
|
2017-12-22 15:04:18 +02:00 |
|
HoneyryderChuck
|
377da998a7
|
compression: added custom transcoders for gzip and deflate; extending response to mask the buffer with an equally streamable decoder, after the response is fully buffered; request now adds accept-encoding automatically
|
2017-12-22 13:18:31 +02:00 |
|
HoneyryderChuck
|
b480249d0b
|
added more compression tests, specially one to test the accept-encoding headers
|
2017-12-22 13:16:49 +02:00 |
|
HoneyryderChuck
|
dab9965f87
|
options: dup now dups some of the values as well, particularly the ones which keep the reference (and cause class conflicts)
|
2017-12-22 13:15:37 +02:00 |
|
HoneyryderChuck
|
957fc46bcf
|
response: do not alias #write to #<<, makes it hard to extend; #each now yields predictable-size chunks, instead of deferring to buffer#each, which can do whatever
|
2017-12-22 13:14:33 +02:00 |
|
HoneyryderChuck
|
b55911277a
|
added compression plugin and tests (for now, failing)
|
2017-12-22 10:10:46 +02:00 |
|
HoneyryderChuck
|
6667055e05
|
::IO for the top class
|
2017-12-22 09:55:30 +02:00 |
|
HoneyryderChuck
|
fc57bc2837
|
registry: passing along registers to subclasses
|
2017-12-22 09:55:07 +02:00 |
|
HoneyryderChuck
|
3807688c61
|
added IO module to register IO types; now one needs to explicitly call ::IO for top-level
|
2017-12-22 09:54:35 +02:00 |
|
HoneyryderChuck
|
08f018c248
|
fixed proxy script
|
2017-12-22 09:53:11 +02:00 |
|
HoneyryderChuck
|
695ea6e8a8
|
http1: fixed bug, where callbacks were referring to the wrong request; as a mental note, outgoing requests go to the end of the line; incoming response always refers to the first request in line, because HTTP/1 is a FIFO
|
2017-12-22 09:52:52 +02:00 |
|
HoneyryderChuck
|
ef7fe6d0b2
|
registering the channel outside of build method; response callback is now a proper method, instead of a proc
|
2017-12-22 09:37:40 +02:00 |
|
HoneyryderChuck
|
f2498190a8
|
proxy test script
|
2017-12-22 09:18:32 +02:00 |
|
HoneyryderChuck
|
128b5fc97e
|
allowing to extend http2 channel for proxies; simplified proxy argument (uri instead of proxy_uri)
|
2017-12-22 09:18:12 +02:00 |
|
HoneyryderChuck
|
6f2d4c1540
|
added supported for authenticated proxy requests (didn't test it yet, though)
|
2017-12-21 17:09:28 +02:00 |
|