Bug #79102 [Com]: php-cgi.exe exits when processing SabreDAV requests

From: Date: Thu, 15 Dec 2022 12:22:18 +0000
Subject: Bug #79102 [Com]: php-cgi.exe exits when processing SabreDAV requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243152@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79102&edit=1

 ID:                 79102
 Comment by:         Armand857Smith at gmail dot com
 Reported by:        mbiebl at messageconcept dot com
 Summary:            php-cgi.exe exits when processing SabreDAV requests
 Status:             Open
 Type:               Bug
 Package:            IIS related
 Operating System:   Windows Server 2016
 PHP Version:        7.3.13
 Block user comment: N
 Private report:     N

 New Comment:

I finally figured it out. Maybe it was simple enough that I couldn't find the solution.

Adding:

SET PHP_FCGI_MAX_REQUESTS=0 
to the command file that launches the php-cgi.exe fixed it. I guess it defaults (when not set) to
500 hits before FCGI is killed.

(https://www.dunkinrunsonyou.run/)github.com


Previous Comments:
------------------------------------------------------------------------
[2022-01-20 17:04:43] mbiebl at messageconcept dot com

I can still reproduce the issue with 7.4.27 and 8.0.15

The download link has expired, but I created a new one where I've updated the test.sh script.
It will run a loop and generate an unauthenticated access (causing the php-cgi.exe process to die)
and a second, authenticated access, where the process doesn't die.

The new download link with the updated script can be found at
https://mynebula.net/s/scY6aAbHr5gq8i7

------------------------------------------------------------------------
[2020-08-09 04:22:05] php-bugs at lists dot php dot net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.

------------------------------------------------------------------------
[2020-07-31 16:57:03] cmb@php.net

I cannot reproduce the reported issue, but that may be because
unauthenticated access doesn't work for me, regardless of the
setting of ::allowUnauthenticatedAccess; I get an
Sabre\DAV\Exception\NotAuthenticated either way.

What am I missing?

Link to respective upstream report:
<https://github.com/sabre-io/dav/issues/1224>.

------------------------------------------------------------------------
[2020-07-29 08:23:15] mbiebl at messageconcept dot com

Hi,
I tried with 7.3.20 (x86) and 7.4.8 (x64) and could still reproduce the issue.
I made the zip file available at https://mynebula.net/index.php/s/pf8XMciDxEHeqXD

------------------------------------------------------------------------
[2020-07-20 14:01:43] cmb@php.net

Are you still experiencing this issue with PHP 7.3.20?  If so,
could you please make the files available again?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=79102


--
Edit this bug report at https://bugs.php.net/bug.php?id=79102&edit=1


Thread (12 messages)

« previous php.bugs (#243152) next »