Commit Graph
64 Commits
Author SHA1 Message Date
Linus Unnebäck 92caf2f204 lt: better error handling
Let node handle the displaying of error and setting exit code.
2014-04-14 21:15:11 +02:00
Roman Shtylman 9487797e02 1.1.0 2014-02-24 19:51:14 -05:00
Roman Shtylman a42f6a8d8d document local-host option 2014-02-24 19:49:40 -05:00
Roman Shtylman 14b4bcb96f add tests for host header transform 2014-02-24 19:43:34 -05:00
Roman Shtylman 4aa65002eb use host header transform only when local-host is specified 2014-02-24 19:43:07 -05:00
Fredi Pevcin 08676ba81d Set Host header accordingly to local-host option 2014-02-24 00:26:38 +01:00
Roman Shtylman 174e7f3982 1.0.0 2014-02-14 00:37:45 -05:00
Roman Shtylman 44be55cd7b readme: fix markdown table
[ci skip]
2014-02-14 00:36:53 -05:00
Roman Shtylman 5c6cd2359c add travis badge
- remove node 0.8
- add node 0.10
2014-02-14 00:34:40 -05:00
Roman Shtylman 2f6f9459ad change main export signature to localtunnel(port, opt, fn)
Makes for a simpler hello world app
2014-02-14 00:32:43 -05:00
Roman Shtylman 7217a08a05 add history.md to track changes 2014-02-13 23:52:12 -05:00
Roman Shtylman fbfc923a7e remove connect export in favor of single function
Since connect was the only function exported, we can just export the
function directly to make things simpler.
2014-02-13 23:51:29 -05:00
Roman Shtylman d9bc11b520 default host to localtuunel.me
If no host specified, then default to localtunnel.me

close #31
2014-02-13 23:43:54 -05:00
Roman Shtylman ad64611bd1 add tests 2014-02-13 23:41:49 -05:00
Roman Shtylman ac70515143 0.2.2 2014-01-09 11:07:18 -05:00
Roman Shtylman 8d7ccccf21 remove local.unpipe() on remote close
This will happen automatically.

close #28
2014-01-09 11:06:58 -05:00
Roman Shtylman 77091b3d93 0.2.1 2013-12-31 17:34:04 -05:00
Roman Shtylman 4f4a147b45 don't unpipe on local close
Pipe will do this for us
2013-12-31 17:33:49 -05:00
Roman Shtylman f1d809a84d 0.2.0 2013-12-31 15:39:16 -05:00
Roman Shtylman eba003bd26 add a .close method to shutdown the tunnel 2013-12-31 15:38:45 -05:00
Roman Shtylman 3354c4c6e3 rework tunnel logic
Refactoring to make things a bit saner and easier to debug.
2013-12-05 11:26:19 -05:00
Roman Shtylman 1c2757e604 Merge pull request #27 from adammck/couldnt-establish-tunnel
Add more verbose error for ECONNREFUSED
2013-11-20 09:34:48 -08:00
Adam Mckaig 790e55e881 Add more verbose error for ECONNREFUSED
If the tunnel server can be reached (at e.g. http://localtunnel.me/?new)
but the tunnel (to e.g. grpi.localtunnel.me:44827) can't actually be
established, the client currently gets stuck in a loop retrying forever
with no indication as to what's wrong. This doesn't fix the loop, since
it does seem desirable to retry forever, but logs:

    [Error: connection refused: localtunnel.me:44827]
2013-11-20 12:29:31 -05:00
Roman Shtylman a9b0274ff4 0.1.3 2013-11-14 12:10:02 -05:00
Roman Shtylman 83ecb29eff Merge pull request #26 from EverythingMe/override_localhost
Added the --localhost parameter to tunnel the traffic to other hosts
2013-11-14 09:08:47 -08:00
Omri Bahumi 21df257d16 Added the --local-host parameter to tunnel the traffic to other hosts 2013-11-14 18:06:19 +02:00
Roman Shtylman 18ada0854a 0.1.2 2013-11-06 23:25:28 -05:00
Roman Shtylman 34afd6537d more resilient to upstream server failure and restart 2013-11-06 23:25:05 -05:00
Roman Shtylman 2c38aefb9d add go client to readme 2013-10-23 11:31:28 -04:00
Roman Shtylman aa488f6e76 0.1.1 2013-10-22 15:57:36 -04:00
Roman Shtylman f6618953f9 Merge pull request #20 from eagleeye/master
Do not call success callback right after error in request_url
2013-10-16 18:49:48 -07:00
Andrii Shumada 092d050fa0 Do not call success callback right after error in request_url 2013-10-16 12:05:37 +03:00
Roman Shtylman 0334ace20b 0.1.0 2013-06-17 02:13:17 -04:00
Roman Shtylman 13afcff1ae fix README api example 2013-06-17 02:12:54 -04:00
Roman Shtylman ed5aa3f16b remove server components
moved to localtunnel-server repo
2013-06-17 02:11:41 -04:00
Roman Shtylman 2fcac1336c add debug module to deps 2013-06-16 18:35:55 -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