rfc:cli_server_http2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:cli_server_http2 [2016/01/08 21:25] – created davey | rfc:cli_server_http2 [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Add HTTP/2 Support to the CLI Server ====== | ====== PHP RFC: Add HTTP/2 Support to the CLI Server ====== | ||
* Version: 0.1 | * Version: 0.1 | ||
- | * Date: 2016-01-08 | + | * Date: 2016-01-08 |
* Author: Davey Shafik, davey@php.net | * Author: Davey Shafik, davey@php.net | ||
* Status: Draft | * Status: Draft | ||
Line 13: | Line 13: | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | For supporting HTTP/2, it is pretty well agreed ((see references)) that we should use a third party library to implement it, with libnghttp2 being my proposed suggestion. | + | For supporting HTTP/2, it is pretty well agreed ((see references)) that we should use a third party library to implement it, with libnghttp2 being my proposed suggestion. |
- | Given that this introduces | + | Given that this introduces |
- | - Make it optional, allowing you to build the current HTTP/1.x cli-server and requiring no additional | + | - Make it optional, allowing you to build the current HTTP/1.x cli-server and requiring no additional |
- | - Make it required | + | - Make it required, but this also effectively requires libopenssl |
- | It should be noted that libnghttp2 is also used by curl, and therefore if you're doing HTTP/2 work and have curl, you already have it. | + | It should be noted that libnghttp2 is also used by both curl and Apache |
With either implementation, | With either implementation, | ||
Line 26: | Line 26: | ||
In addition, we should consider adding the HTTP/2 '' | In addition, we should consider adding the HTTP/2 '' | ||
- | We should also support the ability to do server push using HTTP headers (current community thinking is leaning towards '' | + | We should also support the ability to do server push using HTTP headers (current community thinking is leaning towards '' |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | If we make this required for cli-server, then that could be considered a BC break | + | If we make this required for cli-server, then the new dependency requirement |
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
Line 38: | Line 38: | ||
===== RFC Impact ===== | ===== RFC Impact ===== | ||
- | Adds two newly required | + | Adds a newly required |
==== To SAPIs ==== | ==== To SAPIs ==== |
rfc/cli_server_http2.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1