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

farhadi / node-smpp / 157 / 5
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2021 08:43AM UTC
Files 3
Run time 0s
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

14 Oct 2021 08:43AM UTC coverage: 79.948% (-0.2%) from 80.155%
157.5

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%)

618 of 773 relevant lines covered (79.95%)

123.01 hits per line

Source Files on job 157.5
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 153
  • Travis Job 157.5
  • e50f065e on github
  • Prev Job for on master (#154.1)
  • Next Job for on master (#158.1)
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

© 2026 Coveralls, Inc