Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
a2a58f4c6f refactor with async/await
Trying to be more robust about error handling and failure.
2016-07-09 17:06:13 -07:00
Siddhartha Sahai
7923e80b08 increased subdomain character limit to 63 2015-11-17 21:08:36 +05:30
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
Luke Horvat
eddc50920b Fix minor typos 2015-10-08 15:37:30 +11:00
Roman Shtylman
97ca914178 fix tests 2015-08-02 11:59:27 -07:00
Roman Shtylman
386910032e fix websocket support 2015-01-10 20:58:11 -08:00
Siddhartha Sahai
fa4802d488 disallow uppercase domains, with test 2015-01-03 04:39:09 +05:30
Roman Shtylman
8cc22d501c fix bad matching against subdomains
Match for valid subdomains versus anything that comes before a period.

fixes #7
2014-04-20 12:58:59 -04:00
Roman Shtylman
8abb4f395f add test for invalid subdomain requests 2014-04-20 11:05:57 -04:00
Roman Shtylman
bee0115b26 update tests to latest localtunnel client 2014-04-16 19:11:12 -04:00
Roman Shtylman
e08ee1edbb fix handling of new requests for generated client id 2013-12-21 10:45:19 -05:00
Roman Shtylman
9ce57979cf fix tests to be port agnostic 2013-11-21 21:22:49 -05:00
Roman Shtylman
6afb75704a use bouncy to proxy requests
- simplifies our codebase a lot!
- queued requests are currently broken
2013-11-03 16:56:41 -05:00
Roman Shtylman
d15e568cea refactor server
* shows some basic statistics on main page
* move tcp proxy setup into separate file
* migrate github page theme to be hosted locally
2013-06-18 23:00:45 -04:00
Roman Shtylman
a6ec239a27 remove client components
* devDep localtunnel module for client
* update readme for server info
2013-06-16 18:46:29 -04:00
Roman Shtylman
79ca069c38 refactor to use http-raw for lt server incoming
- http raw exposes a socket to the req/res pair
- cleanup client to be more resilient
- add test for queued requests
2012-12-17 14:23:12 -05:00