rfc:cli_server_http2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
rfc:cli_server_http2 [2016/01/08 21:25] – created daveyrfc:cli_server_http2 [2016/01/09 06:15] – Remove SSL dependency wrongness davey
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 (use today's date here)+  * 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. While HTTP/can function without SSL support (TLS), no browser implementation supports this — this change therefore also requires an SSL library (probably openssl, as we already support it).+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. We should ship with some self signed certs (it's for development only, remember!) that can be used to setup SSL, as no browser supports plain text HTTP/2.
  
-Given that this introduces two new required dependencies there are two ways we can implement this functionality:+Given that this introduces new required dependency there are two ways we can implement this functionality:
  
-  - Make it optional, allowing you to build the current HTTP/1.x cli-server and requiring no additional dependencies+  - Make it optional, allowing you to build the current HTTP/1.x cli-server and requiring no additional dependency
   - Make it required   - Make it required
  
Line 30: Line 30:
 ===== 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 could be considered a BC break
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
Line 38: Line 38:
 ===== RFC Impact ===== ===== RFC Impact =====
  
-Adds two newly required dependenciesand their dependencies+Adds newly required dependencylibnghttp2
  
 ==== To SAPIs ==== ==== To SAPIs ====
rfc/cli_server_http2.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1