Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance #1251

Merged
merged 25 commits into from Apr 20, 2018
Merged

Maintenance #1251

merged 25 commits into from Apr 20, 2018

Commits on Apr 19, 2018

  1. Copy the full SHA
    f611880 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f6c396f View commit details
    Browse the repository at this point in the history
  3. [dist][test] codecov config

    jcrugzz committed Apr 19, 2018
    Copy the full SHA
    d2d9f2b View commit details
    Browse the repository at this point in the history
  4. [fix] move badges

    jcrugzz committed Apr 19, 2018
    Copy the full SHA
    66d1337 View commit details
    Browse the repository at this point in the history
  5. Adding ability to set cookie path

    Sean Willis authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    5be846b View commit details
    Browse the repository at this point in the history
  6. Forgot 'i' flag when changing from regex shorthand to string.

    Sean Willis authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    98b6469 View commit details
    Browse the repository at this point in the history
  7. Updating docs and adding more tests.

    Sean Willis authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    7370b06 View commit details
    Browse the repository at this point in the history
  8. Removing unnecessary check since this is a private API

    Sean Willis authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    58df2a4 View commit details
    Browse the repository at this point in the history
  9. [fix] slightly more tolerant

    jcrugzz committed Apr 19, 2018
    Copy the full SHA
    b5b7a83 View commit details
    Browse the repository at this point in the history
  10. Added timeout option to docs

    jlaamanen authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    4269f88 View commit details
    Browse the repository at this point in the history
  11. Update common.js

    Add method parameter to options for overriding the proxy-outgoing HTTP-method
    AydinChavez authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    528a688 View commit details
    Browse the repository at this point in the history
  12. feat: 添加response自处理参数

    shaohui.tsh authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    e9fff45 View commit details
    Browse the repository at this point in the history
  13. [dist] document the feature

    jcrugzz committed Apr 19, 2018
    Copy the full SHA
    2f6f2e0 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    52d8fa1 View commit details
    Browse the repository at this point in the history
  15. fix small typos in README

    carpsareokiguess authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    48f372b View commit details
    Browse the repository at this point in the history
  16. Add use case for proxy to HTTPS using a PKCS12 client certificate

    Radu Serbanescu authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    93e48b1 View commit details
    Browse the repository at this point in the history
  17. Add detail about "buffer" option

    jonhunter1977 authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    c0a5022 View commit details
    Browse the repository at this point in the history
  18. Add followRedirects option

    n30n0v authored and jcrugzz committed Apr 19, 2018
    Copy the full SHA
    2399f85 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2018

  1. Include websocket non-upgrade response

    When the server do not accept the upgrade request for websockets the
    server's response was previously not included and sent back. Now the
    proxy will include the response in these cases. Fixes #890.
    Tigge authored and jcrugzz committed Apr 20, 2018
    Copy the full SHA
    54dd4f4 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f9e99e1 View commit details
    Browse the repository at this point in the history
  3. Fix "Can't set headers after they are sent" errors

    This PR tries to fix "Can't set headers after they are sent" errors.
    That are a lot of situations where this error can occurs. In my case, it is happening because I have others middlewares (in an expressjs application that tries to proxy requests). Some of those middlewares (like [passportjs](http://passportjs.org/), or [cors](https://www.npmjs.com/package/cors)) can run ```res.end()``` and when the proxy receive a response, it is already finished.
    So, it is necessary to test if we can write on the user response when the proxy response is ready.
    I think it could also fix #930, #1168, #908
    thiagobustamante authored and jcrugzz committed Apr 20, 2018
    Copy the full SHA
    b0a4489 View commit details
    Browse the repository at this point in the history
  4. issue #953: stop using writeHead

    object.keys in web-incoming.js results in a non-deterministic ordering of keys, which means that in web-outgoing writeHead might be called before setHeader, which throws an error
    jfurler authored and jcrugzz committed Apr 20, 2018
    Copy the full SHA
    74c07c9 View commit details
    Browse the repository at this point in the history
  5. add support for modify response

    guoxiangyang authored and jcrugzz committed Apr 20, 2018
    Copy the full SHA
    ad6bbd7 View commit details
    Browse the repository at this point in the history
  6. [test] add test for selfHandleRequest and remove modifyResponse as se…

    …lfHandleRequest is the only way that functionality works
    jcrugzz committed Apr 20, 2018
    Copy the full SHA
    ebfee65 View commit details
    Browse the repository at this point in the history
  7. [dist] doc updates

    jcrugzz committed Apr 20, 2018
    Copy the full SHA
    ca9d4ce View commit details
    Browse the repository at this point in the history