Jo Hyun Woo
78c06f8fc4
fix typo in server.js ( #109 )
...
`sock` is not defined in the scope.
2019-03-26 08:56:17 -07:00
Roman Shtylman
d9fca62c17
grace period disconnect should be per-client
2018-05-16 17:07:58 -04:00
Roman Shtylman
cf070d4ce9
add /api/tunnels/:id/status endpoint
...
Provides connected_sockets information for a tunnel.
2018-05-16 16:41:05 -04:00
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
743895720c
Dockerfile: update to node v10
2018-05-15 19:18:12 -04:00
Roman Shtylman
c27100b98e
refactor to use http agent interface for tunnels
2018-05-15 14:49:19 -04:00
Roman Shtylman
30fd566c3a
remove stale .babelrc
2018-04-05 18:06:44 -07:00
Roman Shtylman
423327d0ac
update dockerfile entrypoint to use esm
...
Does not work using #! in bin/server without this.
2018-04-01 20:24:55 -07:00
Roman Shtylman
86dce49dd1
add --domain option to enable localtunnel servers on subdomains
2018-04-01 19:57:48 -07:00
Roman Shtylman
6b07a86ec1
switch babel-register to esm
2018-04-01 18:24:49 -07:00
Roman Shtylman
37df802cc0
Allow dash characters in subdomain.
...
Thank you @zackslash via https://github.com/localtunnel/server/pull/47
Rebased to latest master.
2018-04-01 18:04:48 -07: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
Alex Huang
d7852a3dd1
Add option to set server address ( #80 )
...
Since this server may run behind a reverse proxy like Nginx, it should be able to bind to localhost only rather than listening to the whole network.
2018-04-01 17:37:45 -07:00
Roman Shtylman
2a9bc27117
do not exit on uncaught exception
2017-12-11 21:35:40 -08: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
b4a36c78b0
replace express with koa
2017-12-10 11:34:29 -08:00
Roman Shtylman
9933611319
move proxy.js to lib/Proxy.js
2017-12-10 10:37:10 -08:00
Roman Shtylman
4a4b72b492
update travis to test using node 9.2
2017-12-10 10:32:01 -08:00
Roman Shtylman
764b58f883
fix incorrect require in bin/server
2017-12-10 10:30:23 -08:00
Roman Shtylman
ab9b47d2b3
remove http-proxy dependency
2017-12-10 10:27:03 -08:00
Roman Shtylman
3e12b7ef31
upgrade debug to 3.1.0
2017-12-10 10:24:24 -08:00
Roman Shtylman
908ab316c3
update bluebird to 3.5.1
2017-12-10 10:22:05 -08:00
Roman Shtylman
61708ec698
update book to 1.3.3
2017-12-10 10:22:00 -08:00
Roman Shtylman
54f0eae039
upgrade babel register and babel plugin transform commonjs
2017-12-10 10:17:14 -08:00
Roman Shtylman
308c2d4b85
remove babel polyfill
2017-12-10 10:15:28 -08:00
Roman Shtylman
6318db6075
remove babel async to generator transform
2017-12-10 10:14:59 -08:00
Roman Shtylman
db5b632a9f
add dev script to package.json
2017-12-10 09:56:58 -08:00
Roman Shtylman
55a7f8eeb6
update Dockerfile to node 9.2.1
2017-12-10 09:36:53 -08:00
Roman Shtylman
ddad1851fc
add yarn.lock
2017-12-10 09:27:57 -08:00
Jonas Finnemann Jensen
2539755155
Use generated id in the returned url ( #59 )
2017-12-10 08:35:44 -08:00
Arron Gibson
48475a404b
readme: Fix minor typo ( #58 )
2017-02-08 20:56:19 -08:00
Roman Shtylman
30df06ff14
add memory usage to status api endpoint
2016-11-27 12:47:59 -08:00
Roman Shtylman
c67d1a4d37
bookrc: add error print to further diagnose ECONNRESETS
2016-11-27 12:37:10 -08:00
Roman Shtylman
2a6561e774
add error handlers to requests and sockets
...
Trying to flush out cause of sporadic socket failures and identify which
socket is not being handled.
2016-11-27 09:50:14 -08:00
Bryan Helmig
5ee2ded1fd
test: fix redirect ( #53 )
2016-09-03 15:00:33 -07:00
Roman Shtylman
c81ed7ff4a
travis: update to test with node 6.2
2016-07-24 21:37:18 -04:00
Roman Shtylman
eae9718ab3
redirect to github site for landing page
...
avoid proxying all the landing page requests
2016-07-24 21:34:34 -04:00
Roman Shtylman
dbf91cfa20
fix sending response when no client socket available
2016-07-10 22:24:20 -07:00
Roman Shtylman
d7fbf3c39e
fix processing waiting callbacks inside next_socket
2016-07-10 20:22:35 -07:00
Roman Shtylman
f1fa607ad9
README: add deploy instructions
2016-07-09 17:22:14 -07:00
Roman Shtylman
965be6e1ff
remove devops folder
...
moved to separate nginx repo
2016-07-09 17:07:51 -07: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
f12f1c81b3
Merge pull request #41 from scandinaro/master
...
fixed issue with response code and headers
2015-12-16 21:20:20 -08:00
Dom Scandinaro
4ee7a6738f
fixed issue with response code and headers
2015-12-16 09:42:48 -06:00
Roman Shtylman
596ead14e6
Merge pull request #37 from sidthekidder/master
...
increased subdomain character limit to 63
2015-11-17 21:07:51 -08:00
Siddhartha Sahai
7923e80b08
increased subdomain character limit to 63
2015-11-17 21:08:36 +05:30
Roman Shtylman
a38f378c3b
Merge pull request #35 from ReadmeCritic/master
...
Readme: Update redirects
2015-11-10 18:35:49 -08:00
frankenbot
1a32c88f5c
Update redirects
2015-11-08 10:31:58 -08:00
Roman Shtylman
27b3fbccf7
readme: fix travis badge
2015-11-04 20:41:03 -08:00