Ben Mansell
515c20da47
Added support for Zeus SSL client certificate information.
Added SERVER_SIGNATURE to the environment.
Submitted by: daniel@zeus.com
25 years ago
Zeev Suraski
800950c5a7
Avoid using ret uninitialized
25 years ago
Ben Mansell
a40f208ab8
Thread hashtable was being initialized with a size of 1! Changed to 128 as
a more sensible number.
# Also could change the 'expected resources' parameter from 1, but I
# haven't tested that bit yet
----------------------------------------------------------------------
25 years ago
Zeev Suraski
559c254f8f
Avoid writing to error_log in case of aborted connections.
25 years ago
foobar
356fc41a0a
Fix help text for -f
25 years ago
foobar
81a2669216
Can't output any error messages if there isn't any function initialized
to do it..
# Bug report: #7650
25 years ago
Zeev Suraski
ce39c56c8b
whitespace fix
25 years ago
Sascha Schumann
de6c69f716
Combine all HTTP headers into a single writev
25 years ago
Andi Gutmans
abb18a7918
- Commit NSAPI patches.
25 years ago
Sascha Schumann
2da359bb84
httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces
and the header filter still seems to be broken. Will try later.
25 years ago
Sascha Schumann
a824c87e6d
Now it actually loads, but it segfaults upon a request.
25 years ago
Sascha Schumann
6ed0cbb140
Make the module compile again with the latest httpd-2.0 cvs.
25 years ago
Ben Mansell
5e5f5886ff
Added PHP_AUTH_USER, PHP_AUTH_PW and PHP_AUTH_TYPE environment variables
for Zeus/ISAPI, so basic authenication works.
Submitted by: daniel@zeus.com
25 years ago
Andi Gutmans
a0d3c5a88e
- Finally rename modules.h to zend_modules.h for consistency (first try
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
are included via zend_API.h
25 years ago
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
25 years ago
Sascha Schumann
adb3e3992c
php_register_command_line_global_vars only needs file scope.
25 years ago
Sascha Schumann
280e10aac7
Neither the CGI nor the Servlet SAPI module call syslog, so remove
references to the syslog include files.
25 years ago
Sascha Schumann
d516726329
Change the default to assumption that people don't use AOLserver 3.0 anymore.
25 years ago
Sascha Schumann
c2fb53bed7
Finish fopen-wrappers rename.
25 years ago
Sascha Schumann
4a32816f9e
If we cannot send the header, we don't need to continue with the page.
25 years ago
Sascha Schumann
328ca1b178
There is no need to declare ap_php_(opterr|optopt) with external linkage
as they are not used outside of getopt.c.
PR: #9364
25 years ago
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