Commit Graph

150 Commits

Author SHA1 Message Date
Michael Snoyman
d09f91e071 Keter.Main cleanup 2013-07-26 11:17:05 +03:00
Michael Snoyman
4ffc9fbdc9 Plugins live in IO 2013-07-26 10:46:34 +03:00
Michael Snoyman
042f665603 Better means of having Keter wait 2013-07-26 10:27:06 +03:00
Michael Snoyman
d421ce175c Sighup support 2013-07-26 10:09:11 +03:00
Michael Snoyman
72dc776e6f Updated version number 2013-07-26 08:48:51 +03:00
Michael Snoyman
309e7c7306 ASTerminated 2013-07-26 08:40:53 +03:00
Michael Snoyman
bd01be00ea Got rid of Request 2013-07-25 19:58:54 +03:00
Michael Snoyman
2387f9bcfb ListeningPort 2013-07-25 17:55:45 +03:00
Michael Snoyman
e90d592ce5 Beginning of AppManager 2013-07-25 17:35:16 +03:00
Michael Snoyman
c2ed7d5608 Implemented Keter.Proxy 2013-07-25 16:18:23 +03:00
Michael Snoyman
d6fc43ed2d Separate PortPool, non-braindead host management (finally!) 2013-07-25 15:44:23 +03:00
Michael Snoyman
f28556e4d7 Extract reverse proxy rewrite rules 2013-07-25 14:18:32 +03:00
Michael Snoyman
6476bdc53e Beginning of stanza work 2013-07-25 14:10:09 +03:00
Michael Snoyman
3d02ddfbd0 Rename PortManager to HostManager 2013-07-25 13:07:48 +03:00
Michael Snoyman
f99f8cfe5a Removed Keter.Process 2013-07-14 16:28:43 +03:00
Michael Snoyman
f4aefc0634 Major rearrangement of types 2013-07-14 15:55:05 +03:00
Michael Snoyman
c3c8c1260b Config -> KeterConfig 2013-07-14 15:30:55 +03:00
Michael Snoyman
3fc984866a Started versioning of data types 2013-07-14 15:28:48 +03:00
Michael Snoyman
35688d2d4f Better app config loading 2013-07-14 13:02:18 +03:00
Michael Snoyman
88980e01a5 Moved TempDir to TempTarball 2013-07-10 14:15:18 +03:00
Michael Snoyman
708737019d Refactor Keter.TempFolder and Keter.App a bit 2013-07-10 14:09:14 +03:00
Michael Snoyman
0faa41cf21 More generic plugin system 2013-07-10 13:27:36 +03:00
Michael Snoyman
2baaf48a89 Sample app has environment info 2013-07-10 12:59:36 +03:00
Michael Snoyman
235ceca5bb Move log file code into unix-process-conduit 2013-07-10 12:48:46 +03:00
Michael Snoyman
fb0259d068 Add back the waitForProcess call 2013-07-10 12:48:20 +03:00
Michael Snoyman
f65d21cdb0 Removed Keter.SSL 2013-07-10 10:00:02 +03:00
Michael Snoyman
9750270cb2 Data.Yaml.FilePath 2013-07-10 09:57:38 +03:00
Michael Snoyman
946a1429fe Moved process tracker to unix-process-conduit 2013-07-10 09:03:03 +03:00
Michael Snoyman
f1c1f3255b Fix some warnings 2013-06-04 09:42:54 +03:00
Michael Snoyman
d8b33c96b6 Remove another usage of encode 2013-06-04 09:41:22 +03:00
Michael Snoyman
47cb011a52 IP address headers #8 2013-06-03 14:50:29 +03:00
Michael Snoyman
e32dca73cf Use WAI proxying 2013-06-03 14:50:29 +03:00
Michael Snoyman
7ec7275669 Avoid encode from system-filepath (is not cross-platform safe) 2013-06-03 14:49:57 +03:00
Michael Snoyman
a72eac5c15 Switch to fsnotify 2013-06-03 14:49:57 +03:00
Michael Snoyman
e59fb4ad85 Merge pull request #16 from manny-fp/master
Remove upper bound on http-reverse-proxy
2013-05-29 06:09:18 -07:00
Emanuel Borsboom
b7124b8181 Remove upper bound on http-reverse-proxy 2013-05-29 05:57:41 -07:00
Michael Snoyman
3f8cc81189 HUP signal to refresh apps #15 2013-05-29 09:46:25 +03:00
Michael Snoyman
8bafce2646 Merge pull request #14 from AaronFriel/master
Add a configurable timeout to ReverseProxy, fix optional ssl
2013-04-17 23:06:10 -07:00
Aaron Friel
9dc7ed9b56 Remove unneeded imports in ReverseProxy 2013-04-16 13:35:32 -05:00
Jenkins
0e5cf2e35a Add configurable timeout. 2013-04-16 12:57:39 -05:00
Michael Snoyman
b00f0756a1 TLS bump for #13 2013-04-02 11:30:45 +03:00
Michael Snoyman
0ffe056d01 Version bump 2013-04-02 10:00:03 +03:00
Michael Snoyman
1a6bcd3a05 wai version bump 2013-04-02 09:57:01 +03:00
Michael Snoyman
0cc062f406 Merge branch 'master' of https://github.com/AaronFriel/keter 2013-04-02 09:56:02 +03:00
Aaron Friel
c4463a03d1 Fixes for working with legacy servers that poorly handle chunked transfers.
Essentially, some servers when receiving a chunked transfer are observed to
behave poorly on the response side when receiving a chunked encoded request
body from the client.
2013-03-31 18:35:10 -05:00
Aaron Friel
e8b6c7c7f6 Debugging - print chunk sizes of HTTP bodies through proxy 2013-03-24 13:33:36 -05:00
Aaron Friel
6a8fb4db82 Demonstrate issue with consuming last "chunk" from http-conduit.
This puts the nail in the coffin, altering the integer passed to isolate will
varyingly cause the response to error out and never reach the second "print"
or cause Keter to respond with a truncated message.
2013-03-23 12:50:37 -05:00
Aaron Friel
b328081daa Demonstrates issue with consuming request from http-conduit.
This attempts to consume the request from http-conduit by using $$+- and
printing a string before and after. The "after" never happens under the
following response header conditions:

  1. HTTP/1.1
  2. Connection: Close
  3. *no* Content-Length
  4. *no* Transfer-Encoding
2013-03-23 12:39:21 -05:00
Aaron Friel
ccccd9f252 Experimental support for legacy / malformed responses from proxied server.
This is entirely to support behavior of broken web servers that might be
proxied.

The culprit, in this case, is a Jenkins server on Ubuntu 12.04 (installed using
their repositories and running in the default Servlet container). This server
for whatever reason generates responses that have this rare ill-formed set of
headers:

  HTTP/1.1 200 OK
  Connection: Close

With *no content-length* and *no transfer-encoding*.

So this is an initial attempt at working around this.
2013-03-23 03:54:57 -05:00
Michael Snoyman
8f9d6defd1 Added .travis.yml 2013-03-21 10:06:54 +02:00