[php-src] Issue #9400: PHP_CLI_SERVER_WORKERS with chrome 104
| From: | erjotek | Date: | Mon, 22 Aug 2022 13:07:29 +0000 |
| Subject: | [php-src] Issue #9400: PHP_CLI_SERVER_WORKERS with chrome 104 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242282@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9400
Author: erjotek
### Description
I don't known if it's problem with chrome 104 (because firefox/vivaldi works) or with php,
but is impossible to serve index.html with php 8.0.22 or php 8.1.9 and PHP_CLI_SERVER_WORKERS >2
everything works with php7.4.30
The following code:
index.html:
```html
<html>
<script src='test.js?1'></script>
<script src='test.js?2'></script>
<script src='test.js?3'></script>
<script src='test.js?4'></script>
<script src='test.js?5'></script>
<script src='test.js?6'></script>
<script src='test.js?7'></script>
<script src='test.js?8'></script>
<script src='test.js?9'></script>
<script src='test.js?10'></script>
<script src='test.js?11'></script>
<script src='test.js?12'></script>
<script src='test.js?13'></script>
<script src='test.js?14'></script>
<script src='test.js?15'></script>
<script src='test.js?16'></script>
</html>
Finish...
```
1. create file index.html
2. start php 8.1.9
PHP_CLI_SERVER_WORKERS=2 php8.1 -S localhost:8081
3. open http://localhost:8081 in Chrome 104.0.5112.101
### PHP Version
8.0.22 , 8.1.9
### Operating System
Ubuntu 20.04