Commit Graph

10 Commits

Author SHA1 Message Date
Roman Shtylman
317db73bdc use pump to pipe sockets
Ensures that destination socket close or destroy also does the same for
the source socket.
2018-05-16 10:21:56 -04:00
Roman Shtylman
c27100b98e refactor to use http agent interface for tunnels 2018-05-15 14:49:19 -04:00
Ajay Gandhi
b1c296a409 Generate human readable IDs for client URLs (#77)
Based on @FranzSkuffka's suggested enhancement in PR 207 on
localtunnel/localtunnel
(https://github.com/localtunnel/localtunnel/pull/207), this PR uses the
"human-readable-ids" package to generate IDs of the form
"adjective-noun-number". These IDs are easier to remember and arguably
more useful in testing since they can be retyped without copying and
pasting.

Some sample IDs generated by this package are:

* heavy-puma-90
* grump-walrus-64
* purple-starfish-58
* nasty-seahorse-9
2018-04-01 18:00:21 -07:00
Roman Shtylman
3d6798a2bf fix api status endpoint 2017-12-11 21:29:11 -08:00
Roman Shtylman
5fb9dbaaa1 extract ClientManager from server.js
Make client manager more robust when piping connections.
2017-12-11 21:16:55 -08:00
Roman Shtylman
9933611319 move proxy.js to lib/Proxy.js 2017-12-10 10:37:10 -08:00
Roman Shtylman
a2a58f4c6f refactor with async/await
Trying to be more robust about error handling and failure.
2016-07-09 17:06:13 -07:00
Roman Shtylman
f8fa049966 remove bouncy
rework request proxy to use native http request and direct socket pipe.
Cuts out bouncy which is no longer maintained and simplifies the code
path.
2015-11-04 20:01:01 -08:00
Roman Shtylman
54ba65ba1f bump length of subdomain to 10 2013-12-31 15:33:43 -05:00
Roman Shtylman
51d91ce0e8 refactor server tcp handling
- limit on number of tcp connections
- preliminary support for websockets
2012-10-17 22:50:59 -04:00