Test: /ext/standard/tests/http/bug38802.phpt - Version 7.3.12        

Bug #38802 'max_redirects' context options doesn't work when value is 1
Submitted: 2006-09-13 07:36:04 Modified: 2010-02-17 00:35:40
From: datibbaw Assigned:
Status: Closed Package: HTTP related
PHP Version: 5.2.9 OS: Linux Gentoo

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
097+
098+ ** ERROR: process timed out **
097- resource(%d) of type (stream)
098- array(4) {
099- [0]=>
100- string(30) "HTTP/1.0 302 Moved Temporarily"
101- [1]=>
102- string(41) "Location: http://127.0.0.1:12342/foo/bar2"
103- [2]=>
104- string(30) "HTTP/1.0 301 Moved Permanently"
105- [3]=>
106- string(41) "Location: http://127.0.0.1:12342/foo/bar3"
107- }
108- string(0) ""
109- string(%d) "GET /foo/bar HTTP/1.0
110- Host: 127.0.0.1:12342
111- Connection: close
112-
113- GET /foo/bar2 HTTP/1.0
114- Host: 127.0.0.1:12342
115- Connection: close
116-
117- "