• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

farhadi / node-smpp / 157
80%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2021 08:43AM UTC
Jobs 7
Files 3
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
157

push

travis-ci-com

web-flow
New SMPP Proxy-protocol support implementation. Fixes #190 (#191)

* New SMPP Proxy-protocol support implementation. Fixes #190

Since it worked on already established sockets, only was decoding proxy-protocol headers on non-tls connections. Trying to use it on tls connections didn't work (check referenced issue)

[Proxywrap](https://www.npmjs.com/package/findhit-proxywrap) is a tls/net server interface wrapper which strips the proxy protocol header and stores the relevant information into the socket. After that, it automatically disengages and sends the control to the real tls/net server.
[No known vulnerabilities within the 5 past years](https://snyk.io/vuln/npm:findhit-proxywrap)

Since this is an experimental feature, if no `enable_proxy_protocol_detection: true` option is provided, standard servers are used and the implementation is completely ignored.

- Decode IPv4 proxy protocol header (Non-tls & tls)
- Decode IPv6 proxy protocol header (Non-tls & tls)
- Bypass proxy protocol header detection if no proxy-protocol header is provided (Non-tls & tls)
- Fail with a too long proxy header (Non-tls & tls)

- Support for Nodejs < v4 (2015) has been dropped: Changes to supported Nodejs versions due compatibility issues of findhit-proxywrap.
- On proxied, non-tls connections (with Nodejs < v8): Proxywrap shows some misbehaviour with the way this library inherits from the net server, the socket looses the ability to emit events. As a minor-fix, the socket.emit method is backed up and restored after the proxying to the net server, making everything work as expected.

* Fix merge bug

292 of 421 branches covered (69.36%)

55 of 55 new or added lines in 1 file covered. (100.0%)

618 of 773 relevant lines covered (79.95%)

860.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 157.1 14 Oct 2021 08:43AM UTC 0
79.95
Travis Job 157.1
2 157.2 14 Oct 2021 08:43AM UTC 0
79.95
Travis Job 157.2
3 157.3 14 Oct 2021 08:44AM UTC 0
79.95
Travis Job 157.3
4 157.4 14 Oct 2021 08:43AM UTC 0
79.95
Travis Job 157.4
5 157.5 14 Oct 2021 08:43AM UTC 0
79.95
Travis Job 157.5
6 157.6 14 Oct 2021 08:43AM UTC 0
79.95
Travis Job 157.6
7 157.7 14 Oct 2021 08:43AM UTC 0
79.95
Travis Job 157.7
Source Files on build 157
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #157
  • e50f065e on github
  • Prev Build on master (#154)
  • Next Build on master (#158)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc