Commit Graph

2359 Commits

Author SHA1 Message Date
Felipe Pena
7439154ece - Removed C++ comment style 2011-11-19 12:16:47 +00:00
Pierrick Charron
3bfd03b6b6 Don't load php.ini file to test the built-in web server 2011-11-18 06:15:25 +00:00
Xinchen Hui
f2c6e116d2 revert my previous change, tests hangs on windows 2011-11-17 02:32:21 +00:00
Xinchen Hui
347876158c improve the test, let it say about errors 2011-11-17 02:22:06 +00:00
George Wang
25ccd72217 keep code to be compatible with PHP4 2011-11-16 04:00:28 +00:00
George Wang
dfd357db55 keep PHP_5_4 in sync with PHP_5_3 branch 2011-11-16 03:46:54 +00:00
Jérôme Loyet
f8ef8946cc - Added .phar to default authorized extensions 2011-11-16 00:21:38 +00:00
Jérôme Loyet
d1312936cd - remove experimental flag on fpm 2011-11-15 22:40:10 +00:00
Jérôme Loyet
8bdf576a1f - FR #60199 (enhance FPM error log when the primary script can't be open) 2011-11-15 22:29:59 +00:00
Xinchen Hui
f42ea8557c MFH, fix test 2011-11-15 03:19:54 +00:00
Xinchen Hui
f8386e349f Fixed bug #60159 (Router returns false, but POST is not passed to requested
resource) and bug #55759 (mem leak when use built-in server)
2011-11-15 03:15:19 +00:00
Pierre Joye
fcbfbea8d2 - fix bug #60272, typo 2011-11-11 18:50:52 +00:00
Peter Cowburn
5c1c2d725f broaden php version wildcard in cli server tests (missed a few) 2011-11-11 11:33:23 +00:00
Peter Cowburn
9886e865a3 broaden php version wildcard in cli server tests 2011-11-11 11:26:51 +00:00
Jérôme Loyet
10a1121a37 - Fixed bug #60179 (php_flag and php_value does not work properly) 2011-11-03 15:47:19 +00:00
Xinchen Hui
d4b90b4788 Fixed bug #60206 (possible integer overflow in content_length) 2011-11-03 07:26:09 +00:00
Xinchen Hui
ceac9dc490 Fixed bug #60189 (php logo can not be displayed) 2011-11-01 13:06:41 +00:00
Xinchen Hui
ac789e0bb6 Fixed Bug #60180 ($_SERVER["PHP_SELF"] incorrect) 2011-11-01 12:24:02 +00:00
Xinchen Hui
091f279eb0 Fixed bug #60146 (Last 2 lines of page not being output) 2011-10-29 02:14:04 +00:00
Xinchen Hui
6f0d8245a4 Fix test faild on windows due to DEFAULT_SLASH 2011-10-25 10:56:11 +00:00
Xinchen Hui
67ae60f4f5 Fix test, now can run on windows 2011-10-25 10:54:39 +00:00
Xinchen Hui
08d372716c A better fix, sorry for previous thoughtlessness commit. 2011-10-24 03:47:42 +00:00
Xinchen Hui
d8911efbb6 Fixed PATH_INFO of /index.php/foo/bar 2011-10-24 03:28:59 +00:00
Ferenc Kovacs
8747d2245d using %s-dev instead of the exact version number 2011-10-23 20:38:53 +00:00
Xinchen Hui
7c1e64e2a6 add tests for PATH_INFO
update php_cli_server.inc to support no router server
2011-10-23 13:57:25 +00:00
Xinchen Hui
a6bc3f6c59 fix memory leak 2011-10-23 03:02:24 +00:00
Xinchen Hui
8d467563e2 Fixed bug #60112 If URI does not contain a file, index.php is not served
This is a windows Issue.
and after this fix, previously 404 request like "localhost/foo/bar"
now could server correctly with request_uri "index.php" and PATH_INFO "/foo/bar/"
2011-10-23 02:54:06 +00:00
Ferenc Kovacs
64ec41f7d4 stream_socket_server("unix://..." has a length limit, so it is better to use the tmp dir instead of the current test dir for the socket file. see https://bugs.php.net/bug.php?id=60106 2011-10-22 21:44:05 +00:00
Moriyoshi Koizumi
2cf34bc9fc Add SERVER_PROTOCOL variable to $_SERVER. Patch by kuzuha. Thanks. 2011-10-21 05:24:30 +00:00
Ferenc Kovacs
465cb32c4c there is a length limit on the shebang line, ignore the tests for >= 127 2011-10-20 18:09:44 +00:00
Jérôme Loyet
da110e2065 - ensure request_terminate_timeout >= request_slowlog_timeout 2011-10-09 15:21:06 +00:00
Jérôme Loyet
891ca5cae3 - Fixed bug #55526 (Heartbeat causes a lot of unnecessary events) 2011-10-09 15:12:26 +00:00
Jérôme Loyet
17cbee6ffe - Fixed bug #55533 (The -d parameter doesn't work) 2011-10-09 14:36:11 +00:00
Jérôme Loyet
62fd3369cb - fix r317922 (missing PHP_ADD_BUILD_DIR(sapi/fpm/fpm/events) in config.m4) 2011-10-09 09:22:36 +00:00
Jérôme Loyet
1034cbc758 - Implemented FR #52569 (Add the "ondemand" process-manager to allow zero children) 2011-10-08 21:04:10 +00:00
Jérôme Loyet
12c1f0b0d9 - fix r317913 2011-10-08 20:43:12 +00:00
Jérôme Loyet
fb88ef7231 - Fixed bug #55486 (status show BIG processes number) 2011-10-08 19:50:26 +00:00
Jérôme Loyet
81565fdf45 - Fixed bug #55577 (status.html does not install) 2011-10-08 19:31:32 +00:00
Adam Harvey
f11500df0c Fix bug #55769 (Make Fails with "Missing Separator" error) via s/ /^I/. 2011-09-24 19:16:33 +00:00
Xinchen Hui
88c52b0dac Add tests 2011-09-23 03:09:12 +00:00
Xinchen Hui
8933798d36 Add tests for bug #55755 2011-09-22 02:26:00 +00:00
Xinchen Hui
d603d05398 Fixed bug #55755 (SegFault when outputting header WWW-Authenticate) 2011-09-21 16:00:09 +00:00
Xinchen Hui
0203c31f78 change test, and added a test for post file 2011-09-21 07:51:31 +00:00
Xinchen Hui
c83594cd7a Remove double checking, and use MAXPATHLEN instead of a fixed length 2011-09-21 06:59:47 +00:00
Xinchen Hui
f3aa34a90d Change to a more appropriate name 2011-09-21 03:16:35 +00:00
Xinchen Hui
82be5fcc4f Fixed bug #55747 (request headers missed in $_SERVER) 2011-09-21 03:09:42 +00:00
Shein Alexey
3c365dc3ef Refactored and speeded up php_cli_server tests, also get rid of test hanging on ubuntu:
1) Prepended starting the server with "exec" so proc_terminate can correctly close it (see also this note http://www.php.net/manual/en/function.proc-get-status.php#93382 for details)
2) Moved putting down the server to the shutdown function to make it independent from tests (fatal) errors
3) Moved php cli executable into the function to make tests more readable 
4) changed sleep(1) to usleep(50000) (50 ms) to make tests faster - this needs more testing and if timeout is too small should be increased
2011-09-20 14:53:46 +00:00
Xinchen Hui
1b9fbe540e fix INI section 2011-09-20 08:13:55 +00:00
Xinchen Hui
00bab0493e Add tests for built-in webserver 2011-09-20 07:10:46 +00:00
Xinchen Hui
5dbf73a866 Fix Bug #55726 (Changing the working directory makes router script inaccessible) 2011-09-20 07:06:55 +00:00