1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

4914 Commits

Author SHA1 Message Date
William A. Rowe Jr
033e91c288 Just a mssing brace
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89454 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 23:57:24 +00:00
William A. Rowe Jr
560d5bbf01 Not for general consumption (not a target of InstallBin) this patch adds
mod_tls to the 'buildable projects' list.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89453 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 23:47:55 +00:00
William A. Rowe Jr
8977e18441 tls goodness for Win32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89452 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 23:40:57 +00:00
Roy T. Fielding
2bb1fb4a72 bump and grind for another beta
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89451 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 23:37:00 +00:00
William A. Rowe Jr
e9710c17ca Testing reveals a nasty side effect of this aftn's patch, this is the fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89450 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 23:18:30 +00:00
William A. Rowe Jr
2d64e24da2 Deploy ap_sub_req_lookup_dirent() for the main loop. Note we _really_
need to further optimize this code, there are dozens of perhaps unnecessary
  stat calls, and meaningless #ifndef OS2 protections around apr_lstat()'s.
  OS2 has lstat (It's simply stat()) so we should pull the os-specific cruft.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89449 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 21:59:48 +00:00
William A. Rowe Jr
ac61d1a8f8 Employ the new ap_sub_req_lookup_dirent() function for mod_autoindex.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89448 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 21:54:16 +00:00
William A. Rowe Jr
d4c82f83ea Pull harry, difficult to read sub_req_common_validation() into its own
function so that it's apparent that this is common code.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89447 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 21:48:53 +00:00
Bill Stoddard
fe1b98014b mod_file_cache now depends on apr-util.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89446 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 21:30:33 +00:00
Cliff Woolley
49296e10fb Oh, nothing really. I just always wanted to open a door to a room where
people were being trained like in James Bond movies.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89445 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 21:14:15 +00:00
William A. Rowe Jr
a7a28bd8c0 Here, finally are a few cleanups of my fat fingers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89444 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:57:14 +00:00
William A. Rowe Jr
07f1f1f5ea Now, introduce ap_sub_req_lookup_dirent() for processing apr_finfo_t
results from mod_negotiation and mod_autoindex.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89443 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:53:36 +00:00
William A. Rowe Jr
449207bd36 Pull the common cruft from ap_sub_req_lookup_*() fns.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89442 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:46:52 +00:00
William A. Rowe Jr
e3a7a230e7 Sorry, second pass, working on legibility. This patch introduces the
fill_in_sub_req_vars function to propogate the rnew values, but doesn't
  yet hook it in.  Note that there are two discrepancies, apparently
  pretty bad ones, that have been moved after the 'common code' so the
  next patch becomes pretty simple.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89441 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:44:00 +00:00
William A. Rowe Jr
9e8d604ef7 Add some favorite modules
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89440 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:33:58 +00:00
William A. Rowe Jr
ec222e4248 Revert changes in 1.7, I had applied the patch incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89439 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:30:49 +00:00
Cliff Woolley
29212e8c6b *) Account for the new pool parameter to apr_bucket_file_create()
and apr_bucket_file_make().

*) Simplify mod_file_cache's sendfile_handler by taking advantage
   the new ability of file buckets to handle files opened in XTHREAD
   mode.  [Also inlined some of the brigade construction stuff in
   mod_file_cache's handlers to save a palloc() or two.]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89438 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:18:09 +00:00
William A. Rowe Jr
8ba66cccaf Move duplicated rnew cloning from apr_ap_sub_req_lookup_*() functions,
and add an ap_sub_req_lookup_dirent() to create a subrequest from the
  results of an apr_dir_read() for mod_negotiation and mod_autoindex.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89437 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:09:24 +00:00
William A. Rowe Jr
95e427552d Fix up files constituting the Win32 libhttpd project file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89436 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 19:39:15 +00:00
Cliff Woolley
09e715dbfa More of s/ap_table_t/apr_table_t/g;
Also s/ap_status_t/apr_status_t/;


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89435 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 18:51:23 +00:00
Cliff Woolley
9bcbfdc46c It's apr_pool_t, not apr_pools_t. And tables are in APR's namespace, not
Apache's, so it's apr_table_t and not ap_table_t.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89434 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 18:44:20 +00:00
William A. Rowe Jr
7a5c5c4965 Add additional query datum to the MPMs.
Harrie Hazewinkel <harrie@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89433 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 17:43:51 +00:00
Jeff Trawick
bc3508337c hide the generation of the httpd.exp header from the build messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89431 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 17:11:52 +00:00
William A. Rowe Jr
eb25b54dd4 Win32/OS2 require APR_STATUS_IS_EFOO() tests, not == EFOO, since our
socket error codes vary.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89430 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 16:58:14 +00:00
Jeff Trawick
6ee771ecbd get strcasecmp() prototype available on AIX
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89429 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 10:15:37 +00:00
William A. Rowe Jr
3b24cc7824 Update docs to reflect API changes and typos.
Harrie Hazewinkel <harrie@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89426 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 03:34:15 +00:00
Ian Holsman
f2f4dff204 Fixed up formatting (removed tabs)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89425 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 22:46:04 +00:00
Ian Holsman
acf7098338 ProxyPass & ProxyPass Reverse now can be specified in <Location> directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89424 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 22:32:49 +00:00
Jeff Trawick
e943e56bcc add the AcceptMutex directive to the perchild MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89423 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 17:44:49 +00:00
Bill Stoddard
040c05592a Fix problem handling FLUSH bucket in the chunked encoding filter.
Module was calling ap_rwrite() followed by ap_rflush() but the
served content was not being displayed in the browser. Inspection
of the output stream revealed that the first data chunk was
missing the trailing CRLF required by the RFC


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89422 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 17:40:58 +00:00
Jeff Trawick
6aeb7aadb4 add support for the AcceptMutex keyword to the threaded MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89421 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 17:27:40 +00:00
Jeff Trawick
9d62a720c0 get rid of a duplicate assignment of ap_server_conf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89419 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 16:33:14 +00:00
Jeff Trawick
058288ed08 add the AcceptMutex directive and related processing to prefork MPM
the directive syntax is as suggested by JimJag a few days ago


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89418 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 15:13:02 +00:00
Jeff Trawick
e9c973418d mention a problem with prefork
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89417 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 11:59:50 +00:00
Jeff Trawick
1ea247fe52 fix a comment describing how we kill off a single child process
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89416 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 10:59:16 +00:00
Cliff Woolley
d3c97dfdac Fix spelling mistake.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89414 13f79535-47bb-0310-9956-ffa450edef68
2001-06-26 04:07:43 +00:00
Joshua Slive
fa9b8b364e Reverse typo correction.
Submitted by:	Rodent of Unusual Size <Ken.Coar@Golux.Com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89401 13f79535-47bb-0310-9956-ffa450edef68
2001-06-21 20:26:20 +00:00
Joshua Slive
941bc17c48 Add some instructions on verifying PGP signatures. This could really
use a review from some people who understand these issues better than
I do.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89394 13f79535-47bb-0310-9956-ffa450edef68
2001-06-20 04:33:13 +00:00
Doug MacEachern
e63a05bbd1 apxs no longer generates ap_send_http_header() in the example handler
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89392 13f79535-47bb-0310-9956-ffa450edef68
2001-06-20 01:46:28 +00:00
Joshua Slive
f71eeca3ef Remove these Pre-1.3 vhost files from the 2.0 docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89391 13f79535-47bb-0310-9956-ffa450edef68
2001-06-20 01:14:29 +00:00
Cliff Woolley
94dc5573dd The bucket_foo_create() functions do not need to use calloc() because
all of the members of the apr_bucket struct are always explicitly
initialized anyway... malloc() should be used instead.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89389 13f79535-47bb-0310-9956-ffa450edef68
2001-06-19 18:48:21 +00:00
Joshua Slive
61be6d5644 Note mod_headers changes in a couple other places.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89388 13f79535-47bb-0310-9956-ffa450edef68
2001-06-19 03:55:59 +00:00
Joshua Slive
2feece5618 Bring these docs into line with "The Standard" and clean them up a
little.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89387 13f79535-47bb-0310-9956-ffa450edef68
2001-06-19 03:48:49 +00:00
Cliff Woolley
cd399fff26 Remove a duplicated check for -DONE_PROCESS
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89386 13f79535-47bb-0310-9956-ffa450edef68
2001-06-18 19:09:55 +00:00
Jeff Trawick
f2769d22a2 prefork has had SINGLE_LISTEN_UNSERIALIZED_ACCEPT working for a long time.
Hint at what should be done in threaded to get it working there.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89385 13f79535-47bb-0310-9956-ffa450edef68
2001-06-18 12:52:21 +00:00
Jeff Trawick
03a0359eb8 As with Apache 1.3, use priority APLOG_INFO (instead of APLOG_ERR) for
log messages which report network errors writing to the client.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89384 13f79535-47bb-0310-9956-ffa450edef68
2001-06-18 12:38:17 +00:00
Jeff Trawick
f5df386762 The patch fixes 2 things.
* apr_terminate now has the right declaration so it can be used
directly in atexit
* Win2K gets a divde by zero error when heartbeatres is zero (reproduce via
    support\Debug\ab.exe -k -c 6 -n 100 localhost/

Submitted by:   Ian Holsman <ianh@cnet.com>
Reviewed by:    Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89383 13f79535-47bb-0310-9956-ffa450edef68
2001-06-18 11:50:42 +00:00
William A. Rowe Jr
e6bb83641f Filenames aught to be normalized to the serverroot, and server_root_relative
already canonicalizes names.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89382 13f79535-47bb-0310-9956-ffa450edef68
2001-06-18 05:39:10 +00:00
William A. Rowe Jr
546f8d040c Allow index.html.en and Index.html.FR to both be considered in negotation
on case insensitive platforms, only.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89381 13f79535-47bb-0310-9956-ffa450edef68
2001-06-18 05:36:33 +00:00
Jeff Trawick
bcda376bd4 "fix" a // comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89380 13f79535-47bb-0310-9956-ffa450edef68
2001-06-17 18:20:36 +00:00