Commit Graph

38 Commits

Author SHA1 Message Date
Simone Bordet 05f4367790 Improved handling of BEGIN_REQUEST flags. 2014-01-17 11:39:03 +01:00
Simone Bordet 63e8a462d4 Updated to Jetty 9.1.1.v20140108. 2014-01-17 11:39:02 +01:00
Simone Bordet c7511dd2c7 Updated to Jetty 9.1.1-SNAPSHOT.
Updated Flusher to use the new IteratingCallback API,
and HttpChannelOverFCGI to use the new IdleTimeout API.
2013-12-16 12:57:19 +01:00
Simone Bordet 8dddc2a3f6 Updated version to 1.0.1-SNAPSHOT. 2013-11-19 11:35:04 +01:00
Simone Bordet 9a04f993e7 Updated version to 1.0.0, and Jetty to 9.1.0.v20131115. 2013-11-19 11:27:58 +01:00
Simone Bordet 5a38290750 Added fcgi-distribution module to simplify deployment of FastCGI
functionalities in a Jetty "base" directory.
2013-11-06 11:25:06 +01:00
Simone Bordet bba639b371 Removed unnecessary examples and improved existing ones. 2013-11-06 11:22:27 +01:00
Simone Bordet 2808f37191 Removed unnecessary parameter "root". 2013-11-06 11:21:43 +01:00
Simone Bordet 9548d0725a Cosmetics. 2013-11-06 11:17:49 +01:00
Simone Bordet f5a4810bda Fixed generation of REQUEST_URI parameter, taking into account
forwarded or included URIs and the query string.
2013-11-05 09:07:02 +01:00
Simone Bordet 2228b4e03b Improved TryFilesFilter to use built-in Servlet API methods to
retrieve the files, in order to avoid filesystem vulnerabilities.
2013-11-05 09:05:52 +01:00
Simone Bordet 226c522451 Implemented a TryFilesFilter inspired by nginx's try_files directive.
This is needed by - for example - WordPress because it allows for
different permalinks schemes.
For example, /foo could be a permalink that should be directed to
PHP, while /favicon.ico is a file that must be served statically.
URI /foo would be matched by the default servlet resulting in a 404.
Therefore we need a filter mapped to /* that checks whether the
request URI is a file that exists and likely to be served by the
default servlet, otherwise it needs to rewrite the URL to something
like /index.php?p=/foo.
The rewrite filter does not have the functionality of "try the file,
if missing then rewrite" that is now implemented by the TryFilesFilter.
2013-10-31 19:54:59 +01:00
Simone Bordet f841b42fde Moved valorization of REQUEST_URI to the FastCGIProxyServlet,
since it needs to refer to possibly forwarded URIs.
2013-10-31 19:47:57 +01:00
Simone Bordet 116062ce6e Reverted Generator.Result to be mutable, so that Resulting gathering
can be implemented efficiently.
2013-10-28 21:34:37 +01:00
Simone Bordet 98de7500f9 Made Generator.Result immutable. Now instead of holding a list and
being mutable, it is a single-linked list that is traversed
recursively.
2013-10-28 16:36:55 +01:00
Simone Bordet 4706ed5d87 Added example for running Drupal with SPDY and SPDY Push. 2013-10-25 12:54:35 +02:00
Simone Bordet 39600f4d81 Added parameter to create multiplexed and pooled destinations. 2013-10-25 12:54:25 +02:00
Simone Bordet 67d8a9a301 Add support for HTTPS FastCGI param. 2013-10-25 12:05:01 +02:00
Simone Bordet 7fe7c68e3b Fixed values for REQUEST_URI, DOCUMENT_URI and SERVER_NAME FastCGI
fields.

Added Drupal and WordPress working examples.
2013-10-25 10:53:37 +02:00
Simone Bordet 415fe749c5 Fixed idle timeout, canceling the timeout task when the exchange
completes.
2013-10-25 10:51:23 +02:00
Simone Bordet 24d4a971d2 Fixed code and tests, first clean build. 2013-10-23 16:00:43 +02:00
Simone Bordet b08e415ca0 Implemented FastCGIProxyServlet and handling of idle timeouts. 2013-10-22 19:20:40 +02:00
Simone Bordet 642f8c1ee1 Implemented response content handling.
Now the implementation can successfully make requests to PHP-FPM and
receive the responses.
2013-10-18 19:14:01 +02:00
Simone Bordet 67a287e5cf Restored flushing field, it is necessary for concurrent writes. 2013-10-18 19:14:01 +02:00
Greg Wilkins e00f5c4056 Merge branch 'master' of github.com:intalio/jetty-fcgi 2013-10-03 09:25:52 +10:00
Greg Wilkins 17497261b9 LICENSE 2013-10-03 09:25:10 +10:00
Simone Bordet 1cb3649b7e Added URI regexp functionality to be able to split the URIs into the
CGI variables.
2013-10-03 00:55:52 +02:00
Simone Bordet 0c29968ee2 Improved the Flusher. 2013-10-03 00:54:29 +02:00
Simone Bordet bfad01e0dc Handling request and response content. 2013-09-08 23:00:57 +02:00
Simone Bordet 5427a6d2da Made first simple GET request working. 2013-09-08 00:12:42 +02:00
Simone Bordet 07acb25ce0 Introduced fcgi-server and fcgi-http-client-transport modules. 2013-09-06 23:14:53 +02:00
Simone Bordet 9f3a7351fd Reorganized project structure to support multi modules. 2013-09-04 16:23:38 +02:00
Simone Bordet f546d59ea1 More work on generation/parsing. 2013-09-03 16:04:13 +02:00
Simone Bordet 54accb3699 More work on generation/parsing. 2013-09-03 11:19:13 +02:00
Simone Bordet b3eb881849 More work on generation/parsing. 2013-09-02 17:59:54 +02:00
Simone Bordet a9b25418f2 More work on generation/parsing. 2013-09-02 16:28:28 +02:00
Simone Bordet c65847c89e Started work on generation/parsing. 2013-08-31 00:40:23 +02:00
Simone Bordet a2324d5adb Initial commit 2013-08-30 07:04:21 -07:00