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

Proxy protocol v2 support, IPv6 support #33

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 0 additions & 78 deletions .eslintrc

This file was deleted.

18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
env: {
node: true,
commonjs: true,
mocha: true,
es2021: true,
},
extends: [
'eslint:recommended',
],
parserOptions: {
ecmaVersion: 12,
},
rules: {
"no-var": "error",
"prefer-const": "error",
},
};
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: node_js
node_js:
- "node"
- "4.2"
- "0.12"
- "0.11"
- "0.10"
- "10"
- "12"
- "14"
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@ CHANGELOG

# Upcoming

# 1.0.0-alpha.2
- Added http2 support


# 1.0.0-alpha.1
- Added support to proxy protocol v2
- Parsing proxy protocol via @balena/proxy-protocol-parser module instead of regex
- IPv6 support
- Updated code for latest ES features
- Fixed a bug when server.setTimeout did not trigger timeout event
- Removed dependency on object-extends and findhit-util

# 0.3.12
- Fixed HTTPS connection
- Updated spdy module version
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Proxywrap [![Build Status](https://travis-ci.org/findhit/proxywrap.svg?branch=master)](https://travis-ci.org/findhit/proxywrap)

Add PROXY v1 or v2 support to net, http, https, spdy and http2 servers. IPv4 and IPv6 protocols supported

## History

This module is a fork of original [proxywrap](https://github.com/daguej/node-proxywrap) by [Josh Dague](https://github.com/daguej). Unfortunately, the project doesn't have recent changes. As so, we decided to contribute to it by forking it and make it better.
This module is a fork of original [proxywrap](https://github.com/cusspvz/proxywrap) by [Josh Dague](https://github.com/daguej) and [José Moreira
](https://github.com/cusspvz). Unfortunately, the project doesn't have recent changes. As so, we decided to contribute to it by forking it and make it better.

## What's the purpose of this module?

Expand All @@ -21,7 +24,7 @@ This module is only compatible with **LTS** and **latest stable** versions of [n
## Installing

```bash
npm install --save findhit-proxywrap
npm install --save @short.io/proxywrap
```

## Usage
Expand Down
99 changes: 0 additions & 99 deletions lib/proxy-protocol.regexp.js

This file was deleted.

Loading