Commit Graph

70 Commits

Author SHA1 Message Date
Barna Csorogi e4a31b89ed Merge pull request #6 from andrewgaul/accept-encoding
Honor Accept-Encoding header in gzip transcoder
2017-01-16 06:58:00 +01:00
Andrew Gaul 569bb06e52 Simplify for loop 2017-01-14 15:46:38 -08:00
Andrew Gaul 11a40b5051 Honor Accept-Encoding header in gzip transcoder
This avoids sending compressed data to clients which do not support
it.
2017-01-14 15:33:35 -08:00
Barna Csorogi cac3b84a5d Merge pull request #5 from andrewgaul/missing-cert-key-error
Add friendly error for missing cert or key
2017-01-14 04:02:23 +01:00
Barna Csorogi 4a5d1a7e8c Merge pull request #4 from andrewgaul/gitignore
Add .gitignore
2017-01-14 04:01:37 +01:00
Barna Csorogi 92f55287f4 Merge branch 'feat/logging' (pull/3)
* feat/logging:
  fix: allow ResponseReader.Reader to be wrapped by transcoders
  Add logging for startup and transcoded bytes
2017-01-14 03:48:36 +01:00
Barna Csorogi 480053a71a fix: allow ResponseReader.Reader to be wrapped by transcoders
fixes -minify errors
2017-01-14 03:44:07 +01:00
Andrew Gaul a7569356c1 Add friendly error for missing cert or key
Previously compy failed with the confusing:

2017/01/13 15:34:38 open : no such file or directory
2017-01-13 15:43:41 -08:00
Andrew Gaul 49d6ecbc34 Add .gitignore 2017-01-13 14:14:30 -08:00
Andrew Gaul 1d5b6eff72 Add logging for startup and transcoded bytes 2017-01-13 14:09:56 -08:00
Barna Csorogi 635da9b1a6 update readme
add description about pac files
2016-03-29 13:25:41 +02:00
Barna Csorogi 9a7aaedc56 update readme 2016-03-29 05:41:47 +02:00
Barna Csorogi f9a6377450 fix mitm for http1 proxy connections
Add back Hijacking support for http1.1 CONNECT requests.
2016-03-28 18:28:51 +02:00
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