Sascha Schumann
2403578e35
Include <sys/uio.h>. Apparently, the header cleanup in glibc 2.2.2
caused that file to be included by accident.
25 years ago
Sascha Schumann
8c92cdd897
Save 50% of the syscalls when writing the HTTP header.
25 years ago
Ben Mansell
f49d4de599
Fixed non-threadsafe code: 'isapi_special_server_variables' was a static
buffer, and not allocated per-connection. Bad bad bad!
25 years ago
David Hedbor
140279fc7b
Fixed PHP authentication and some other minor things.
25 years ago
Sascha Schumann
9db16758b3
Make fprintf's optional
25 years ago
Rasmus Lerdorf
0d0a8f55d6
Kill warning
25 years ago
Zeev Suraski
3793dc18f2
Sigh. Even less sleep than I thought :) Really fix it this time.
25 years ago
Zeev Suraski
9a02c9993d
Too much work, not enough sleep... Fix hash lookup
25 years ago
Zeev Suraski
6255a24f1c
Don't overwrite PATH_TRANSLATED if it exists
25 years ago
Ben Mansell
12537e9787
@ Support Zeus 3.3.8
Added changes to environment variable manipulations, to support Zeus 3.3.8
and increase compatibility between Zeus/IIS/Apache. Now, URLs like
http://foo.org/file.php/a/b/c/d work correctly.
# While testing, it looks like IIS+ISAPI is mishandling URLs like the above.
# The PATH_TRANSLATED given by ISAPI includes the /a/b/c/d bit of the URL,
# so using this var to find the script file to open on disk will not work.
# We now use SCRIPT_FILENAME if it is present (in Zeus 3.3.8)
# IIS doesn't seem to set this variable, it might be necessary to mangle
# SCRIPT_NAME and APPL_PHYSICAL_PATH together?
25 years ago
Zeev Suraski
a910f8cc80
Fix output dir
25 years ago
Zeev Suraski
9877acdb32
- Implement CompareStringWithFile()
- Remove a stupid NULL assignment that slipped in the last commit
25 years ago
Zeev Suraski
47ea52ca58
- Implement quick file comparing routine
- Fix crash - wait on the threads themselves, not on Event objects.
It takes time between the time a thread signals the event, and the
time it actually terminates (shutdown code) - so FreeLibrary() and
the main() termination could occur before all of the threads
terminated...
25 years ago
Sascha Schumann
f6eae19147
Try harder to push data through the wire.
I just learned that the AOLserver module will be used for a 100k users
webmail service. Wheee!
25 years ago
Shane Caraveo
42b1b44ad4
test now produce valid OK or FAIL.
25 years ago
Shane Caraveo
ebe94513cc
dont do results if not using test files
25 years ago
Shane Caraveo
1d40310fa4
clean up temp files
25 years ago
Shane Caraveo
c88be3f8b3
check files open
25 years ago
Shane Caraveo
833ba12664
fix file reading, add results
25 years ago
Shane Caraveo
dd01542bad
Multithreaded stress test program for isapi module now supports phpt files
still stuff to do before it's realy done, but does run the tests, just need
to get it to compare results right now.
25 years ago
Sascha Schumann
ae92ebb92b
Especially on FreeBSD it seems to be common that send(2) does not
do a decent job. We handle that better now.
25 years ago
Sascha Schumann
de847f60ba
Propagate the response code/HTTP status code back to thttpd for logging.
25 years ago
Sascha Schumann
7dd166e8c0
Account the number of sent bytes properly
25 years ago
Sascha Schumann
426d4104ea
Make Apache 2.0 filter build again
25 years ago
Shane Caraveo
b2cb9ac8fe
ignore blank lines
25 years ago
Shane Caraveo
0a1d3aa108
add notes on this program
25 years ago
Shane Caraveo
a1c3f92ac7
stresstest is based on cgiwrap. it can be used to debug php4isapi.dll without
the use of an actual web server.
25 years ago
Shane Caraveo
f1afd6f487
define flag to turn off exception handling
25 years ago
Daniel Beulshausen
0d258cc523
make threaded apache module build again
25 years ago
Zeev Suraski
43a7643453
Fix last couple of problematic execution paths that could corrupt the INI values
25 years ago
Zeev Suraski
60776dbeeb
Fix Apache module and remove excess elements from the SAPI structure
25 years ago
foobar
c5da386dbd
Fix compile.
25 years ago
Zeev Suraski
bd0ac7fe14
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
25 years ago
Zeev Suraski
0048312fa6
Fix a few possible bugs:
- engine=off in one or more vhosts could propogate to other vhosts
- Under some error situations, the default values for INI directives
could be erroneously replaced for a single request
25 years ago
Holger Zimmermann
7af7199a17
Minor update regarding new phpinfo table format. Moved pi3web_sapi.h to the sapi module.
PR:
Submitted by:
Reviewed by:
Obtained from: Pi3Web
25 years ago
Zeev Suraski
a697d076bc
Add Release_TSDbg support. This mode compiles PHP with the release C runtime,
but with optimizations disabled and with debug info. Some crashes can only
be debugged using this mode.
25 years ago
Zeev Suraski
aa6d2ac5d0
Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
25 years ago
Sascha Schumann
7f96af83b2
Stop automatically passing vars to AC_SUBST through PHP_SUBST.
There are some variables which are needed for Makefiles and files
created by AC_OUTPUT; we use PHP_SUBST_OLD for those now.
genif.sh was moved to an appropiate place.
25 years ago
Andi Gutmans
86a1cace27
- Make all places use MAXPATHLEN in the same way. It includes the
terminating NULL.
25 years ago
Sam Ruby
a472edb99b
AIX's XlC++ does not allow casts as an lvalue.
25 years ago
Ben Mansell
fbf699adb6
Fix Zeus' behaviour with URL, SCRIPT_NAME, SCRIPT_FILENAME, REQUEST_URI
environment variables
PR:
Submitted by:
Reviewed by:
Obtained from:
25 years ago
Daniel Beulshausen
3b20a425c9
added missing SLS_FETCH()
25 years ago
Ben Mansell
a017a6c025
(Zeus) Re-added some server variables that will be used.
Also added DOCUMENT_ROOT, was missing before for non-Win32
25 years ago
Sascha Schumann
276cb7cdb1
Add apache_child_terminate() and INI setting apache.child_terminate
which defaults to 0.
Submitted by: Sam Liddicott <sam.liddicott@ananova.com>
25 years ago
Sascha Schumann
104311042c
Add TODO note
25 years ago
Sascha Schumann
107aa9f71a
Align ZTS handling of globals with common usage
25 years ago
Daniel Beulshausen
d41137fedf
fix win32 apache module
# this is ugly, has someone a better way?
25 years ago
Daniel Beulshausen
1f31360f01
fix windows build
25 years ago
David Hedbor
9147a81a19
Fix for Pike 7.1 (error -> Pike_error). Caudium bug #12486 .
25 years ago
Sascha Schumann
0ddb725f91
Axe rest of DAV leftovers and use STD_PHP_INI_ENTRY in the INI section
25 years ago