Commit Graph

97 Commits

Author SHA1 Message Date
Roman Shtylman
8d78956355 use cluster module to handle auto restart on death
having some problems with docker auto restarts so we will do it in the
code for now
2015-01-10 21:02:45 -08:00
Roman Shtylman
7f6640a9d6 0.0.6 v0.0.6 2015-01-10 21:00:46 -08:00
Roman Shtylman
386910032e fix websocket support 2015-01-10 20:58:11 -08:00
Roman Shtylman
cfdb42ee9c rename .env.development to .env 2015-01-10 20:58:11 -08:00
Roman Shtylman
8af4fe19b8 update on-finished 2015-01-10 20:58:11 -08:00
Roman Shtylman
8d91892ace listen after connecting error handler 2015-01-10 20:58:10 -08:00
Roman Shtylman
4b485fecda Merge pull request #20 from sidthekidder/master
disallow uppercase domains, with test
2015-01-03 11:39:48 -05:00
Siddhartha Sahai
fa4802d488 disallow uppercase domains, with test 2015-01-03 04:39:09 +05:30
Roman Shtylman
5046c360ba don't log econnreset or timeout errors 2014-12-11 19:34:08 -08:00
Roman Shtylman
57ebcc90e1 add devops folder to show how to easily run on a server 2014-12-11 10:54:53 -08:00
Roman Shtylman
dd7d8d6aa6 bin: fix module require 2014-12-11 10:07:06 -08:00
Roman Shtylman
c0365c9553 0.0.5 v0.0.5 2014-12-11 09:40:46 -08:00
Roman Shtylman
fb888ecdbd Update nodejs in dockerfile 2014-12-11 09:39:22 -08:00
Roman Shtylman
4dd37bda60 update dependencies 2014-12-11 09:32:00 -08:00
Roman Shtylman
6235436a71 don't exit on uncaught exception 2014-12-05 16:22:16 -08:00
Roman Shtylman
d1496f15c6 add Coinbase Tip button ... so cool! 2014-11-18 11:48:49 -08:00
Roman Shtylman
e69dabcd57 remove flip-counter css 2014-10-25 17:14:38 -07:00
Roman Shtylman
73ec1865ab remove engine.io
No need for homepage to show this stuff for now. Just more things that
can crash the tunnel server!
2014-10-25 17:09:13 -07:00
Roman Shtylman
4a09dc114a better handling of requests that die 2014-10-25 16:59:16 -07:00
Roman Shtylman
a5edd0f8f4 add dockerfile 2014-10-11 20:43:14 -07:00
Roman Shtylman
07bad31e72 add dotenv 2014-10-11 20:13:13 -07:00
Roman Shtylman
6b6bbfba61 update bouncy to 3.2.2 2014-10-09 10:56:54 -07:00
Roman Shtylman
d2df5ec4c3 update enchilada to 0.11.0 2014-10-09 10:55:30 -07:00
Roman Shtylman
bcc40c5b5f add nginx config as example
closes #11
2014-05-20 11:59:54 -04:00
Roman Shtylman
13bf109a6e don't log client connection errors 2014-04-28 11:40:06 -04:00
Roman Shtylman
55feebdb9a don't log bounce errors, just destroy the socket 2014-04-23 12:12:12 -04:00
Roman Shtylman
7ecef6b69c make done a no-op if not provided 2014-04-23 12:10:51 -04:00
Roman Shtylman
852023bd73 destroy client sockets upon error 2014-04-23 09:43:04 -04:00
Roman Shtylman
1b1d75b750 detect when http client request is finished and close connection
If the request is finished before we need to respond, we set a flag and
close the connection.

We also close the connection when the request finishes anyway because we
really like a new connection for each request. Things play nicer with
bouncy that way.
2014-04-22 20:34:13 -04:00
Roman Shtylman
7fedb06bf9 remove old stats object properties 2014-04-22 19:48:11 -04:00
Roman Shtylman
5886cbe3d9 log another socket error 2014-04-22 19:47:41 -04:00
Roman Shtylman
9e89e863a3 remove request count on homepage 2014-04-22 19:41:10 -04:00
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
dd6d04c2cf add max-sockets CLI argument 2014-04-16 22:49:31 -04:00
Roman Shtylman
873bafc1f6 allow subdomains up to 20 characters
- error out of subdomain outside of acceptable range
- don't check ranges in client id regex capture. If there is no client,
  just give a no client message instead of redirecting to service
  landing page

fixes #40
2014-04-16 22:46:21 -04:00
Roman Shtylman
bee0115b26 update tests to latest localtunnel client 2014-04-16 19:11:12 -04:00
Roman Shtylman
3f004f9b5c add mashape sponsor 2014-04-16 12:57:15 -04:00
Roman Shtylman
bc80e37fff handle engine.io websocket errors more gracefully 2014-02-25 11:54:40 -05:00
Roman Shtylman
54ba65ba1f bump length of subdomain to 10 2013-12-31 15:33:43 -05:00
Roman Shtylman
3c863b3187 bump max tcp in proxy to 10 2013-12-31 15:31:54 -05:00
Roman Shtylman
e08ee1edbb fix handling of new requests for generated client id 2013-12-21 10:45:19 -05:00
Roman Shtylman
74ce55f5ef update deps 2013-12-21 10:39:52 -05:00
Roman Shtylman
683a15dcc9 bump max sockets to 10 2013-12-21 10:27:18 -05:00
Roman Shtylman
bb5ad1b0f4 cleanup if server close throws 2013-11-26 18:20:53 -05:00
Roman Shtylman
10e75c348c add google analytics code 2013-11-24 18:17:47 -05:00
Roman Shtylman
b6abd16383 update landing page
- restyle
- add sponsors
2013-11-22 17:57:26 -05:00
Roman Shtylman
9ce57979cf fix tests to be port agnostic 2013-11-21 21:22:49 -05:00
Roman Shtylman
ae73e16ac2 add --secure flag to indicate proxy can support https requests
When --secure is set, all urls will be sent back with https so use will
use secure proxy.
2013-11-21 21:16:59 -05:00
Roman Shtylman
a4f5ceb4bc https by default for urls 2013-11-21 21:10:33 -05:00