Commit graph

57 commits

Author SHA1 Message Date
Barna Csorogi fd53c9cb8c fix http requests over https proxy connection
Reconstruct the schema of the proxied request if it's not filled out.
2016-03-26 19:02:40 +01:00
Barna Csorogi a4a691b7b8 add http2 support
Add http2 using the go-1.6 net/http built-in support.

net/http's http2 doesn't support hijacking, so instead of hijacking the
inital CONNECT tcp connection, tunnel proxied requests/responses over
the reader and writer streams of the CONNECT request.
2016-03-26 18:56:50 +01:00
Barna Csorogi 6dae9bda0c update for github.com/tdewolff/minify api changes 2015-11-25 14:43:45 +01:00
Barna Csorogi 848c2f2028 Update for changes of tdewolff/minify dependency 2015-05-14 22:00:53 +02:00
Barna Csorogi 6202c0a479 Remove accidental duplicate file 2015-05-14 21:40:42 +02:00
Barna Csorogi 9bf55d29a9 proxy header-only responses properly
fixes redirects
2015-03-29 16:12:15 +02:00
Barna Csorogi 343bdd5266 initial commit 2015-03-28 23:07:40 +01:00