Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296021

Add the container parameter asynchronous

$
0
0

Problem/Motivation

The Swoole PHP Server runs Drupal in CLI mode, instead of the regular mode which is used by Apache or NginX. The Swoole module for Drupal needs to know when the Swoole PHP server is used. For instance session handling is different and cookies need to be set in a special way with the Swoole PHP Server.

Proposed resolution

Add a new container parameter "asynchronous", which defaults to false.

The container parameter can be set by using a new fifth parameter to the method Drupal\Core\DrupalKernel::__construct() or by a new sixth parameter to the method Drupal\Core\DrupalKernel::createFromRequest(). Both new parameters will default to false.

Remaining tasks

TBD

User interface changes

None

API changes

See proposed solution.

Data model changes

None

Release notes snippet

TBD


Viewing all articles
Browse latest Browse all 296021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>