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
Roman Shtylman
741db27084
fix domain typo in readme
...
localtunnel.me not .com
2012-12-14 23:43:06 -05:00
Roman Shtylman
b605e9b823
server: make sure client id are released when unused
...
When clients disconnect, their tcp server should be shutdown and the id
released after a grace period.
2012-11-14 13:53:33 -05:00
Roman Shtylman
b5830c3840
0.0.3
2012-11-06 10:55:24 -05:00
Roman Shtylman
06b85ad0aa
expose client and server api
2012-11-06 10:55:08 -05:00
Roman Shtylman
943a7dc35b
typo
2012-11-05 16:05:32 -05:00
Roman Shtylman
c46a94b7a0
0.0.2
2012-11-03 15:33:32 -04:00
Roman Shtylman
2f692b8e29
expose client as a library
...
- Allows for using localtunnel from code instead of manually invoking
- add tests
- add travis config
- add travis badge
2012-11-03 15:16:30 -04: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
Roman Shtylman
ab28444802
add server launcher to bin
2012-10-17 18:59:09 -04:00
Roman Shtylman
f68b1270c7
0.0.1
2012-10-16 23:24:04 -04:00
Roman Shtylman
72a3740dbd
parse query from url
2012-10-16 23:22:46 -04:00
Roman Shtylman
70a1bf9f96
redirect / to github page
2012-10-16 23:10:21 -04:00
Roman Shtylman
94df6990fd
update request module
2012-10-16 22:40:15 -04:00
Roman Shtylman
389a1f8b86
update upstream hostname to localtunnel.me
2012-10-16 18:46:11 -04:00
Roman Shtylman
9964d73644
hack to handle no hostname for now
...
If the hostname is not specified then wtf?
2012-06-24 23:05:56 -04:00
Roman Shtylman
e0d16ce8a2
add README
2012-06-18 15:48:09 -04:00
Roman Shtylman
e6c53ad590
allow client to request previous id for reuse
2012-06-18 15:40:23 -04:00
Roman Shtylman
6f92538ffa
fix client error message for failed upstream connection
2012-06-18 14:10:24 -04:00
Roman Shtylman
90cd0ed18c
skip favicon for non proxy routes
2012-06-18 13:52:00 -04:00
Roman Shtylman
682e58c68e
use random id for new clients
...
remove 'asdf' id used during testing
2012-06-18 13:40:33 -04:00
Roman Shtylman
93d62b9dbb
init
2012-06-17 22:46:05 -04:00