Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
standard /
tests /
http /
Delete
Unzip
Name
Size
Permission
Date
Action
CONFLICTS
7
B
-rw-rw-r--
2022-10-31 11:36
bug38802.phpt
4.33
KB
-rw-rw-r--
2022-10-31 11:36
bug43510.phpt
661
B
-rw-rw-r--
2022-10-31 11:36
bug47021.phpt
2.2
KB
-rw-rw-r--
2022-10-31 11:36
bug48929.phpt
1.37
KB
-rw-rw-r--
2022-10-31 11:36
bug53198.phpt
1004
B
-rw-rw-r--
2022-10-31 11:36
bug60570.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
bug61548.phpt
2.22
KB
-rw-rw-r--
2022-10-31 11:36
bug65634.phpt
1.73
KB
-rw-rw-r--
2022-10-31 11:36
bug67430.phpt
1005
B
-rw-rw-r--
2022-10-31 11:36
bug69337.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
bug73297.phpt
654
B
-rw-rw-r--
2022-10-31 11:36
bug75535.phpt
637
B
-rw-rw-r--
2022-10-31 11:36
bug75981.phpt
600
B
-rw-rw-r--
2022-10-31 11:36
bug76342.phpt
734
B
-rw-rw-r--
2022-10-31 11:36
bug78719.phpt
740
B
-rw-rw-r--
2022-10-31 11:36
bug79265.phpt
900
B
-rw-rw-r--
2022-10-31 11:36
bug79265_2.phpt
811
B
-rw-rw-r--
2022-10-31 11:36
bug80838.phpt
838
B
-rw-rw-r--
2022-10-31 11:36
http_response_header_01.phpt
704
B
-rw-rw-r--
2022-10-31 11:36
http_response_header_02.phpt
916
B
-rw-rw-r--
2022-10-31 11:36
http_response_header_03.phpt
1.04
KB
-rw-rw-r--
2022-10-31 11:36
http_response_header_04.phpt
679
B
-rw-rw-r--
2022-10-31 11:36
http_response_header_05.phpt
644
B
-rw-rw-r--
2022-10-31 11:36
ignore_errors.phpt
2.53
KB
-rw-rw-r--
2022-10-31 11:36
server.inc
2.43
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Bug #60570 (Stream context leaks when http request fails) --SKIPIF-- <?php require 'server.inc'; http_server_skipif('tcp://127.0.0.1:12342'); ?> --INI-- allow_url_fopen=1 --FILE-- <?php require 'server.inc'; function do_test() { $responses = array( "data://text/plain,HTTP/1.0 404 Not Found\r\n\r\n", "data://text/plain,HTTP/1.0 404 Not Found\r\n\r\n", "data://text/plain,HTTP/1.0 404 Not Found\r\n\r\n" ); $pid = http_server("tcp://127.0.0.1:12342", $responses, $output); $a = $b = count(get_resources()); $i = 3; while ($i--) { $context = stream_context_create(array('http'=>array('timeout'=>1))); file_get_contents('http://127.0.0.1:12342/', 0, $context); unset($context); $b = $a; $a = count(get_resources()); } http_server_kill($pid); echo "leak? penultimate iteration: $b, last one: $a\n"; var_dump($a == $b); } do_test(); --EXPECTF-- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in %s on line %d Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in %s on line %d Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in %s on line %d leak? penultimate iteration: %d, last one: %d bool(true)