Commit Graph

2344 Commits

Author SHA1 Message Date
Jérôme Loyet
b4ccb69736 - Fixed bug #60179 (php_flag and php_value does not work properly) 2011-11-03 15:47:19 +00:00
Xinchen Hui
d7d0d0724c Fixed bug #60206 (possible integer overflow in content_length) 2011-11-03 07:26:09 +00:00
Xinchen Hui
bba44800ae Fixed bug #60189 (php logo can not be displayed) 2011-11-01 13:06:41 +00:00
Xinchen Hui
c0402915e7 Fixed Bug #60180 ($_SERVER["PHP_SELF"] incorrect) 2011-11-01 12:24:02 +00:00
Xinchen Hui
62270fef73 Fixed bug #60146 (Last 2 lines of page not being output) 2011-10-29 02:14:04 +00:00
Xinchen Hui
14b2cc32fc Fix test faild on windows due to DEFAULT_SLASH 2011-10-25 10:56:11 +00:00
Xinchen Hui
688ba01bc4 Fix test, now can run on windows 2011-10-25 10:54:39 +00:00
Xinchen Hui
c0c0c7c753 A better fix, sorry for previous thoughtlessness commit. 2011-10-24 03:47:42 +00:00
Xinchen Hui
f216bce2ff Fixed PATH_INFO of /index.php/foo/bar 2011-10-24 03:28:59 +00:00
Ferenc Kovacs
145437e016 using %s-dev instead of the exact version number 2011-10-23 20:38:53 +00:00
Xinchen Hui
455bc9df4c 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
0f178b7796 fix memory leak 2011-10-23 03:02:24 +00:00
Xinchen Hui
cd216d38be 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
e509dfec9c 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
c34ef62773 Add SERVER_PROTOCOL variable to $_SERVER. Patch by kuzuha. Thanks. 2011-10-21 05:24:30 +00:00
Ferenc Kovacs
99bb66404d 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
280a177a97 - ensure request_terminate_timeout >= request_slowlog_timeout 2011-10-09 15:21:06 +00:00
Jérôme Loyet
c15987bdd4 - Fixed bug #55526 (Heartbeat causes a lot of unnecessary events) 2011-10-09 15:12:26 +00:00
Jérôme Loyet
d24cd92a22 - Fixed bug #55533 (The -d parameter doesn't work) 2011-10-09 14:36:11 +00:00
Jérôme Loyet
ec369966df - 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
4e2664a602 - Implemented FR #52569 (Add the "ondemand" process-manager to allow zero children) 2011-10-08 21:04:10 +00:00
Jérôme Loyet
d64c8e78ca - fix r317913 2011-10-08 20:43:12 +00:00
Jérôme Loyet
d546fae741 - Fixed bug #55486 (status show BIG processes number) 2011-10-08 19:50:26 +00:00
Jérôme Loyet
7b57d87400 - Fixed bug #55577 (status.html does not install) 2011-10-08 19:31:32 +00:00
Adam Harvey
f75c7302cb Fix bug #55769 (Make Fails with "Missing Separator" error) via s/ /^I/. 2011-09-24 19:16:33 +00:00
Xinchen Hui
8b65d7b80c Add tests 2011-09-23 03:09:12 +00:00
Xinchen Hui
32dba92b66 Add tests for bug #55755 2011-09-22 02:26:00 +00:00
Xinchen Hui
75f721f4a0 Fixed bug #55755 (SegFault when outputting header WWW-Authenticate) 2011-09-21 16:00:09 +00:00
Xinchen Hui
8d97573973 change test, and added a test for post file 2011-09-21 07:51:31 +00:00
Xinchen Hui
8c161dcd4b Remove double checking, and use MAXPATHLEN instead of a fixed length 2011-09-21 06:59:47 +00:00
Xinchen Hui
f0e38127b8 Change to a more appropriate name 2011-09-21 03:16:35 +00:00
Xinchen Hui
86a48c6ca9 Fixed bug #55747 (request headers missed in $_SERVER) 2011-09-21 03:09:42 +00:00
Shein Alexey
2cf4f98c93 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
0d74e0f091 fix INI section 2011-09-20 08:13:55 +00:00
Xinchen Hui
552bfa8156 Add tests for built-in webserver 2011-09-20 07:10:46 +00:00
Xinchen Hui
eb233a26f7 Fix Bug #55726 (Changing the working directory makes router script inaccessible) 2011-09-20 07:06:55 +00:00
Xinchen Hui
3aa8140ebd Fix folder 2011-09-20 05:07:15 +00:00
Dmitry Stogov
e43ff1359e Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Xinchen Hui
0b16d13352 Fixed Bug #55423(cli-server could not output correctly in some case) 2011-09-07 05:14:54 +00:00
Arpad Ray
88e36378ff add friendly log messages (req #55109) 2011-08-29 21:59:27 +00:00
Christopher Jones
7a280ee650 Update log, marking 5.4 and trunk as XFAIL due to bug #55496 2011-08-23 20:59:10 +00:00
Xinchen Hui
f7c6c67d19 Added _SERVER[SERVER_SOFTWARE] for built-in server 2011-08-22 15:51:49 +00:00
Xinchen Hui
1e0e85ec1a Fixed #55463 (cli-server missing _SERVER[REMOTE_ADDR]) 2011-08-22 11:55:41 +00:00
Pierre Joye
9fbde3c349 - undefine CALLBACK (btw, generic names like that should be avoided, w/o prefix :) 2011-08-19 11:35:37 +00:00
Pierre Joye
29d7e7e8c0 - fix build 2011-08-19 11:33:59 +00:00
Xinchen Hui
7790c4d975 Fixed #55450 (Built in web server not accepting file uploads), which might break #55121 fixing(r313677)
Reopened #55121 to let somebody redone the fixing(as I can't reproduce 55121 in redhat 64-bit).
2011-08-19 08:30:26 +00:00
Xinchen Hui
2ebe3799b1 Fixed #55457 for 5.4 branch
Use ssize_t instead of long (as pierre suggestion)
2011-08-19 07:40:51 +00:00
Xinchen Hui
e385f3ccf4 Fixed #55457(cli built-in web server does not work with IE), introduced by r315128 2011-08-19 07:24:35 +00:00
Pierre Joye
3202573bef - do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual possible values are 32bit or lower only 2011-08-18 09:16:04 +00:00
Pierre Joye
83414d2e53 - WS 2011-08-17 11:59:39 +00:00