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
Roman Shtylman
91b708c134
update deps
2013-11-21 21:07:53 -05:00
Roman Shtylman
91ec28a2ee
don't pass uri to engine.io for connection
...
It thinks that is for something different.
2013-11-21 21:06:47 -05:00
Roman Shtylman
9db2bc5202
don't wait for server close to clear timeout
2013-11-18 13:40:38 -05:00
Roman Shtylman
7fadd36106
don't care about node 0.8 anymore
2013-11-10 00:25:15 -05:00
Roman Shtylman
5e777a1eca
update deps to latest versions
2013-11-10 00:23:07 -05:00
Roman Shtylman
1fe63831d8
remove error log from socket errors
...
We don't care, just close the socket
2013-11-10 00:19:55 -05:00
Roman Shtylman
ac1fbc740e
continue to handle uncaught exception until exit
2013-11-10 00:19:00 -05:00
Roman Shtylman
a260585d56
remove uncaughtException from bin/server
...
this is handled in bookrc
2013-11-10 00:18:25 -05:00
Roman Shtylman
2bbf98c24c
add superstack for better stacktraces
2013-11-10 00:13:42 -05:00
Roman Shtylman
af2c727b41
fix upstream client disconnect handling
...
When upstream client disconnects, kill any waiting connections. This is
needed to inform the browser that the upstream connection is no longer
available and to close the socket so a new one will be created for new
requests.
2013-11-06 23:06:59 -05:00
Roman Shtylman
0bba03ccd2
fix processing queued requests
2013-11-04 10:30:54 -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
e7e112963c
update localtunnel dev dep
2013-10-16 10:34:48 -04:00
Roman Shtylman
9334b18117
update README for github username change
2013-10-16 10:20:08 -04:00
Roman Shtylman
b0e94c9784
explicitly set view dir
2013-06-18 23:15:48 -04: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
b153c00cb5
add node 0.10 to travis config
...
remove 0.9
2013-06-16 19:04:51 -04:00
Roman Shtylman
e6971e9afe
use bookrc for logging
2013-06-16 18:50:04 -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
0568ae0bef
close client tcp sockets after each http response
...
While a little less efficient than keeping tcp connections open, this
helps ensure that bad things don't happen on the socket connections when
http protocol issues happen.
2013-06-16 18:24:27 -04:00
Roman Shtylman
585a8afad7
fix undefined variable
...
fixes #8
2013-02-11 14:19:34 -05:00
Roman Shtylman
fbe841a1c5
add node 0.9 for travis testing
2013-01-26 13:01:16 -05:00
Roman Shtylman
929473913f
add notes about running your own server
2012-12-24 03:14:19 -05:00
Roman Shtylman
5340659954
0.0.4
2012-12-17 14:32:31 -05:00
Roman Shtylman
5c6558ed91
fix missing query parsing in server
2012-12-17 14:31:05 -05: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