|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-03-04 15:51 UTC] danack@php.net
[2021-03-04 17:19 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2021-03-04 17:19 UTC] cmb@php.net
[2021-03-04 18:32 UTC] external dot maik dot dieterich at bosch dot com
[2021-03-04 20:07 UTC] rtrtrtrtrt at dfdfdfdf dot dfd
[2021-03-09 08:23 UTC] michael dot mckeever at bosch dot com
[2021-03-09 11:54 UTC] cmb@php.net
-Status: Not a bug
+Status: Open
[2021-03-09 11:54 UTC] cmb@php.net
[2021-03-09 16:54 UTC] cmb@php.net
-Assigned To: cmb
+Assigned To:
[2021-03-12 08:39 UTC] external dot maik dot dieterich at bosch dot com
[2021-12-06 12:47 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2021-12-06 12:47 UTC] cmb@php.net
[2021-12-19 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 13:00:01 2025 UTC |
Description: ------------ We are having an application which runs in Apache and gets files via an API. These files are stored on a storage over a rest API. For transferring the files to the storage we are using PHP with curl. Php opens a local port to local port connection when a curl handle is initialized with a connection to an external server. This local connection stays in TIME_WAIT after the external connection and the curl handle is closed. When open connections with curl from command line without PHP these local port local port connections are not opened. Test script: --------------- for($i = 0; $i < 5000; $i++) { $ch = curl_init("your url"); $response = curl_exec($ch); curl_close($ch); } Expected result: ---------------- No connections in TIME_WAIT. Actual result: -------------- Many connections in TIME_WAIT.