Skip to content
Permalink
Tag: 1.16.0
Commits on Dec 2, 2016
  1. 1.16.0

    jcrugzz committed Dec 2, 2016
  2. Fix newly introduced error in error handler for ECONNREFUSED in forwa…

    maartenth authored and jcrugzz committed Dec 2, 2016
    …rd proxy (#1100)
  3. Keep original letter case of response header keys (#1098)

    pachirel authored and jcrugzz committed Dec 2, 2016
    * Keep original letter case of response header keys
    
    * Support node older than v0.11.6
    
    messege.rawHeaders was added in v0.11.6
    
    * Extract duplicated logic to method
Commits on Dec 1, 2016
  1. Handle errors for forward request, add test case (#1099)

    maartenth authored and jcrugzz committed Dec 1, 2016
Commits on Nov 29, 2016
  1. add node 6 to travis

    purificant authored and jcrugzz committed Nov 27, 2016
Commits on Oct 22, 2016
  1. 1.15.2

    jcrugzz committed Oct 22, 2016
  2. [fix] style nits

    jcrugzz committed Oct 22, 2016
  3. Expose full callback names

    131 authored and jcrugzz committed Oct 22, 2016
  4. Do not rely on func.name (no scope)

    131 authored and jcrugzz committed Sep 20, 2016
  5. Do not rely on func.name (no scope)

    131 authored and jcrugzz committed Sep 20, 2016
  6. With a comment

    131 authored and jcrugzz committed Sep 17, 2016
  7. Fix browserification

    131 authored and jcrugzz committed Jul 20, 2016
    Browserify fails to resolve the "./http-proxy/" as "./http-proxy/index.js" but as "./http-proxy.js" (so nothing works)
    Beeing explicit here does not cost much for http-proxy, yet it's intrinsically complicated for browserify to fix (as trailing slash might be used as a pollyfill shim for native/non-natives addons i.e.  require('url/') vs require('url') )
Commits on Oct 6, 2016
  1. test case added

    Niranjan Ojha authored and jcrugzz committed Oct 6, 2016
  2. not setting connection header in case of http2 as it is deprecated

    Niranjan Ojha authored and jcrugzz committed Oct 5, 2016
Commits on Oct 4, 2016
  1. Add proxy-timeout option to documentation (#1075)

    ashishdahiya authored and jcrugzz committed Oct 4, 2016
    http-proxy provides a [proxyTimeout option](https://github.com/nodejitsu/node-http-proxy/blob/master/lib/http-proxy/passes/web-incoming.js#L122) that allows us to set a timeout on the outgoing socket connection to the target. This timeout is very effective when the upstream target does not respond within an expected time.
    
    I had wasted a few hours searching for this option. Documenting this option can save others a significant amount of time.
Commits on Sep 14, 2016
  1. [dist] Version bump. 1.15.1

    jcrugzz committed Sep 14, 2016
  2. Properly write response header optionally including statusMessage (#1061

    briman0094 authored and jcrugzz committed Sep 14, 2016
    )
  3. [dist] Version bump. 1.15.0

    jcrugzz committed Sep 14, 2016
  4. Made it not to crash with omited Host http header (#1050)

    alexindigo authored and jcrugzz committed Sep 14, 2016
  5. README.md: fix typo: 'ingoing' should be 'incoming' (#1060)

    mkrufky authored and jcrugzz committed Sep 14, 2016
Commits on Sep 13, 2016
  1. Fix for Reason-Phrase being overwritten on proxy response. (#1051)

    cchamberlain authored and jcrugzz committed Sep 13, 2016
    * Fix for Reason-Phrase being overwritten on proxy response.
    
    Calling res.writeHead has the side effect of defaulting the Reason-Phrase to default ones.  I'm using Reason-Phrase codes to sub-route api responses and they were all being reset.  This change only sets the statusMessage (Reason-Phrase) if it exists on the proxyRes and is successfully passing it through in my tests.
    
    * Fixed spaces and bracket formatting.
Commits on Aug 12, 2016
  1. cookieDomainRewrite option (#1009)

    Volune authored and jcrugzz committed Aug 12, 2016
Commits on Aug 11, 2016
  1. Update ntlm-authentication.js (#1025)

    wuchangming authored and jcrugzz committed Aug 11, 2016
  2. Restream body before proxying (#1027)

    matibek authored and jcrugzz committed Aug 11, 2016
    Support for bodyparser.json and bodyparser.urlencoded.
    
    Fixes #955 #843 #791
  3. Location rewriting for responses with status 201 (#1024)

    gabrielboucher authored and jcrugzz committed Aug 11, 2016
    Implement rewriting of the location header for responses with status code 201, according to RFC2616 section 10.2.2
  4. #866 Copy CA from options into outbound proxy (#1042)

    predhme authored and jcrugzz committed Aug 11, 2016
    While using secure: true for proxy connections, there is no way to pass the trusted root CA(s) or intermediate CA(s). This change allows that to be passed in the httpProxy createServer options and used for the outgoing proxy connection.
Commits on Jun 15, 2016
  1. [dist] Version bump. 1.14.0

    jcrugzz committed Jun 15, 2016
Commits on Jun 3, 2016
  1. Emit disconnected event instead of error when ECONNRESET (#966)

    Deividy authored and jcrugzz committed Jun 3, 2016
    * Emit disconnected event instead of error when ECONNRESET
    
    ECONNRESET means the other side of the TCP conversation abruptly
    closed its end of the connection.
    
    If we get an ECONNRESET error from the proxy request and the
    socket is destroyed this means that the client has closed
    his connection, and emit this as an error can lead to
    confusion and hacks to filter that kind of message.
    
    I think that the best we can do is abort and emit another event,
    so if any caller wants to handle with that kind of error, he can
    by listen the disconnected event.
    
    #813
    
    * code standards, move econnreset check, change ev name
Commits on May 25, 2016
  1. fix test for node 0.10 + socket.io-client@1.4.6 (engine.io-client@1.6…

    Volune authored and jcrugzz committed May 25, 2016
    ….9) (#1010)
Commits on May 16, 2016
  1. [dist] Version bump. 1.13.3

    jcrugzz committed May 16, 2016
Commits on May 15, 2016
  1. fix browserify compatibility (#975)

    idjem authored and jcrugzz committed May 15, 2016
Commits on Apr 28, 2016
  1. alter message error (#998)

    ukari authored and jcrugzz committed Apr 28, 2016
    message error about port 9001 -> port 9002
Commits on Apr 26, 2016
  1. Sanitize header keys before setting them (#997)

    randunel authored and jcrugzz committed Apr 26, 2016
    Fixes #996.
  2. Merge pull request #989 from aroder/patch-1

    jcrugzz committed Apr 26, 2016
    Update ntlm-authentication.js
Commits on Apr 14, 2016
  1. Update ntlm-authentication.js

    aroder committed Apr 14, 2016
    missing bracket
Older
You can’t perform that action at this time.