0b67eb8568cd58bb77082703951679b42cf098ac 1642847 |
|
02-Dec-2014 |
trawick |
core: Add CGIPassAuth directive to control whether HTTP authorization
headers are passed to scripts as CGI variables.
PR: 56855 |
d29745cf3b7bc83a2b98a70d42ec5c18bc04c208 1615026 |
|
01-Aug-2014 |
jailletc36 |
Turn some APR_BUCKET_REMOVE(e)+apr_bucket_destroy(e) into the equivalent apr_bucket_delete(e) to reduce code verbosity |
b2c17021012bc4f7cd8e374c6bd72b926737320f 1612068 |
|
20-Jul-2014 |
jailletc36 |
Add missing APLOGNO.
Refactor some lines to keep APLOGNO on the same line as ap_log_error, when applicable.
Split lines longer than 80.
Improve alignment. |
75b4c883b2ef72e0104b8b206f3408dbd1d36768 1452128 |
|
03-Mar-2013 |
jailletc36 |
Remove useless tests.
Turn
if (*x && apr_isspace(*x))
into
if (apr_isspace(*x)) |
287e625ccaed2b7387afff02664d0ee6f9c06c10 1451478 |
|
01-Mar-2013 |
jailletc36 |
Avoid some memory allocation on error path in 'http2env' if TRACE1 logging is not activated.
Avoid a function call to 'apr_filepath_name_get' which ends up to a strrchr call, if TRACE1 logging is not activated. |
58d2b300c04d651800c8f7417a357f545ff2759f 1378178 |
|
28-Aug-2012 |
pqf |
remove an unnecessary check in a nest loop of ap_create_environment() |
a0c599db2e9236b252e20bc6d6d2ac61affe7bdf 1376695 |
|
23-Aug-2012 |
chrisd |
Apply the same length limit when logging Status header values
as used when logging invalid header lines.
Application of a limit on logged header data suggested by Jeff Trawick. |
3bfb70ee0cbb60072d4ccbee03b6a2e247da6bf2 1362538 |
|
17-Jul-2012 |
chrisd |
Log the value of Status header lines in script responses rather than
than just the fixed header name of "Status". |
2876a591f17b0c6ed0cf28da929643965e67c953 1311174 |
|
09-Apr-2012 |
sf |
Fix error handling in ap_scan_script_header_err_brigade() if there
is no EOS bucket in the brigade:
Also don't loop if there is a timeout when discarding the script output.
Thanks to Edgar Frank for the analysis.
PR: 48272 (partial fix) |
c8e7952312f5c3729207f3e9e1e0c1cad869cdf4 1244211 |
|
14-Feb-2012 |
sf |
Make sure the getsfunc_*() functions used by ap_scan_script_header_err*()
NUL-terminate the resulting string, even in case of an error. mod_cgi
and mod_cgid try to log incomplete output from CGI scripts. |
63f0a4cce2c24181e97940eb9d61b75591ee6ed8 1242351 |
|
09-Feb-2012 |
jim |
Handle cases, esp when using mod_proxy_fcgi, when we do not
want SCRIPT_FILENAME to include the query string. |
c41be3600a58bd39a76d1215abcdbbd8e9b1c356 1214015 |
|
14-Dec-2011 |
minfrin |
Further clarify the naming of the entity that directly connects to us by
calling that entity a client instead of a peer. |
4240daa133bbeddbc3141553879eda4fccfe93fe 1214005 |
|
14-Dec-2011 |
minfrin |
Further clarify the naming of the entity that originates the request by
calling that entity a useragent instead of a client. |
8269892c0023355f51a3f67be442662aefdc6f92 1206291 |
|
25-Nov-2011 |
minfrin |
Introduce a per connection "peer_ip" and a per request "client_ip" to
distinguish between the raw IP address of the connection and the effective
IP address of the request. |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
3e520e9f095fbbcaa3c216c8ea56e89bd6fd58b4 1147614 |
|
17-Jul-2011 |
sf |
Make the SERVER_NAME variable include [ ] for literal IPv6 addresses, as
mandated by RFC 3875
PR: 26005 |
533d85911f7e4914ee5f9d5c99a2421f4ab4208a 1147493 |
|
16-Jul-2011 |
sf |
Add more (trace) logging to the ap_scan_script_header*() functions
Add ap_scan_script_header*_ex() functions that take a module index for
logging.
Make mod_cgi, mod_cgid, mod_proxy_fcgi, mod_proxy_scgi, mod_isapi use the
new functions. |
444695895bfc8869a0400cc576cb31b1684b4f53 1147487 |
|
16-Jul-2011 |
sf |
improve readability of 'malformed header from script' message and simplify code |
7184de27ec1d62a83c41cdeac0953ca9fd661e8c 1132781 |
|
06-Jun-2011 |
sf |
Introduce ap_(get|set)_core_module_config() functions/macros and use them
everywhere.
We know that the core module has module_index 0. Therefore we can save
some pointer operations in ap_get_module_config(cv, &core_module) and
ap_set_module_config(cv, &core_module, val). As these are called rather often,
this may actually have some (small) measurable effect. |
33510984c759eb3da154ceb0db9b75fa0031d3b4 1132494 |
|
05-Jun-2011 |
sf |
- Introduce concept of context prefix (which is an URL prefix)
and context document root (which is the file system directory that
this URL prefix is mapped to). This generalization of the document
root makes it easier for scripts to create self-referential URLs and
to find their files.
- Expose CONTEXT_DOCUMENT_ROOT and CONTEXT_PREFIX as envvars, in mod_rewrite,
and in ap_expr.
- Make mod_alias and mod_userdir set the context information.
- Allow to override the document root on a per-request basis. This allows
mass vhosting modules to set DOCUMENT_ROOT correctly.
- Make mod_vhost_alias set the per-request document root
PR: 26052, 46198, 49705
Remaining tasks:
- Use the context document root & prefix in mod_rewrite to make RewriteBase
unneccessary in many cases. Do this without breaking compatibility.
- Write docs. |
4203a35c28d7c60adb7e9ef3be87aad34951c79a 1053872 |
|
30-Dec-2010 |
sf |
Make the REQUEST_SCHEME variable available to scripts and mod_rewrite |
8b9df7f6e74b117cf2b76665bb12499e4d55c1b3 1053365 |
|
28-Dec-2010 |
sf |
Log a trace message if we drop a header with an invalid name |
9c17e78f2fedc35bc9d4cf79aad4cc112f87befa 1053363 |
|
28-Dec-2010 |
sf |
Move duplicated code into utility functions
Submitted by: Malte S. Stretz <mss@apache.org>, Stefan Fritsch |
2d2de64c25c1519122a76150a7daf2c05f53fd9a 1053353 |
|
28-Dec-2010 |
sf |
When exporting request headers to HTTP_* environment variables, drop variables
whose names contain invalid characters. Describe in the docs how to restore the
old behaviour.
Submitted by: Malte S. Stretz <mss apache org> |
f2472b79d241967fa28f8284470b1c5cafee7b12 1000593 |
|
23-Sep-2010 |
wrowe |
Because PATH and the library path are closely interrelated, and the cause
of most confusion over cgi or fcgid failures, or even starting rotatelogs,
etc, when the server binaries have been relocated, pass the library path
as paired with the system PATH.
Of course, PATH and platform-specific library path(s) may be modified as
needed with mod_env, so there is no loss of functionality with this change.
The days of monolithic binaries are long gone, even on 1970's architectures,
and PATH should not be decoupled from the library path. |
c8dcde16853eef36b713d4633fac83b66e49aa5e 965679 |
|
20-Jul-2010 |
niq |
Enable SetEnv to set PATH
PR 43906 |
1634af6871d0518c6d3fe3919158dd3401e00add 953203 |
|
10-Jun-2010 |
wrowe |
Drop ap_body_to_table due to missing constraints; a DoS waiting
for an exploit.
Some mod_lua fan aught to revisit this and provide a sensible
implementation. |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
963f8b44ac95132458ea3b6aaa8ebc135188e473 894368 |
|
29-Dec-2009 |
takashi |
Fix string constness to get rid of gcc compiler warnings by -Wwrite-strings. |
4c25fdfa5f370d29e55aea846eb9fe6c1d51ede3 885689 |
|
01-Dec-2009 |
wrowe |
Elaborate on low hanging XXX fruit |
1b87ea1cc029ce697a049bd2d97db128bb0ab8e4 819893 |
|
29-Sep-2009 |
fuankg |
added comment about the never reached return statement. |
4a13940dc2990df0a798718d3a3f9cf1566c2217 807930 |
|
26-Aug-2009 |
bjh |
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution. |
b178963bae64a9a5fb7b48dcdec4420158aa66a9 760379 |
|
31-Mar-2009 |
niq |
http://marc.info/?l=apache-httpd-dev&m=123845333914309&w=2 |
9df14848a9c26de425517cc4e1f2b8953891d050 760167 |
|
30-Mar-2009 |
niq |
HTTPD script support
When a script returns a no-body response code, pretend it was a HEAD
request so as to drop any body the script might erroneously generate. |
1ca054782cb35b5f67686a41b1df75c269fa617b 758929 |
|
27-Mar-2009 |
trawick |
remove OS/2 platform support |
d9d4644be2fe336af6e00cadaf28532f68d1e090 758891 |
|
26-Mar-2009 |
trawick |
remove BeOS OS support |
1030a0ff1cfb6904699b12f1c89497ec9e64815c 730815 |
|
02-Jan-2009 |
wrowe |
document some nonsense it may be sizeof off_t > sizeof size_t. |
0c26d213d85bc40fc05963c63bf670b42b352d25 729586 |
|
27-Dec-2008 |
niq |
CGI: return 504 (Gateway timeout) rather than 500 when a script
times out before returning status line/headers.
PR 42190 |
87254c461bc2ca5355325db549208e30675cbdf6 724084 |
|
07-Dec-2008 |
pquerna |
Remove commented out block that wouldn't even work in this context. |
e1f3557aa79a66886984ada31762b32339bfe175 724080 |
|
07-Dec-2008 |
pquerna |
Don't pass in a pool to to argstr_to_table, and duplicate r->args before sending it in. |
cb1e20df951447249fd1344ae04a790219a16be5 723843 |
|
05-Dec-2008 |
pquerna |
Merge mod_wombat from the wombat branch:
<https://svn.apache.org/repos/asf/httpd/httpd/branches/wombat-integration>
Into trunk. |
d6e81217d873dc3b87fc4ffa5fbac2fad4191a15 645455 |
|
07-Apr-2008 |
pquerna |
Remove all references to CORE_PRIVATE. |
42a58c2174dae6edfc97af967add2f50baa85800 563244 |
|
06-Aug-2007 |
jim |
detabify |
4ee377e4c00427062079424f0ce6b8a8cb08ee9d 541974 |
|
27-May-2007 |
rpluem |
* Also add a possible ETag header to r->headers_out. We need to have it there
for our later call to ap_meets_conditions a few lines above. Having it put
in the merge table will fail as merge and r->err_headers_out get merged
AFTER our call to ap_meets_conditions. Besides of this having multiple
ETag headers (or a merged version of them) does not seem to make sense. |
1ce78cf71b5baaf2c1ab48e818cb1f2397df5010 440337 |
|
05-Sep-2006 |
trawick |
Replace ap_get_server_version with ap_get_server_banner() and
ap_get_server_description().
High-level summary:
The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive.
Third-party modules must now use ap_get_server_banner() or
ap_get_server_description() in place of ap_get_server_version(). |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
164e3745b6340b3317a7154b7c0d867f4ac7b799 370692 |
|
20-Jan-2006 |
niq |
PR#38070: When a CGI script emits an explicit "Status:" header,
it takes charge, so we shouldn't use ap_meets_conditions. |
e8f95a682820a599fe41b22977010636be5c2717 332306 |
|
10-Nov-2005 |
jim |
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines |
3f83e5e5862780341f458ad2e737180b1dee38ca 191647 |
|
21-Jun-2005 |
niq |
PR: 10775
Submitted by: Christian Schubert <mail apexo de>
Reviewed by: niq |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
aecb17a45c6d3ee4729ed5f68dc4270f211ee7a8 105572 |
|
24-Oct-2004 |
fielding |
veto and revert win64 patch: 64bit changes must percolate from the
bottom (APR/system) up -- we can't give the client a 64bit API and
then cast it to 32bits internally without introducing security holes
on other platforms. |
666d616b7986a83bb0eac453694fbf4d6f05b98c 105545 |
|
22-Oct-2004 |
ake |
WIN64: API changes to clean up Windows 64bit compile warnings |
d86551ca954d666d5b15ad38e9daf45680516c25 104439 |
|
01-Aug-2004 |
jerenkrantz |
Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against
APR_SUCCESS. |
a26a05de466fcd6bbc58a3750c9b914fe2719cb7 103971 |
|
16-Jun-2004 |
jorton |
* server/util_script.c (ap_scan_script_header_err_core): Set
Content-Range in r->headers_out, so that the byterange filter knows to
do nothing for a CGI script which produced a content-range. |
59cc3793cde3137c97fc55683a2018d5e49b54e9 103648 |
|
11-May-2004 |
nd |
:set tabstop=8
:retab
(no code changes) |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
2af7ecf8c1589908aac793c154942d3cb3f6e492 102589 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first check in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
c1b808d160bfb5c849263be8d4acff600853a328 101991 |
|
05-Dec-2003 |
trawick |
stop using apr_sockaddr_port_get() accessor function, as it will
disappear from APR 1.0 API shortly |
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9 101154 |
|
03-Sep-2003 |
trawick |
switch to APR 1.0 API (which is still in flux)
because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,
2.1-dev won't build with apr and apr-util's 0.9 branch anymore |
8eeb24cab1b849bd17726d0a030cd299209f108c 100604 |
|
14-Jul-2003 |
nd |
Remember an authenticated user during internal redirects if the
redirection target is not access protected and pass it
to scripts using the REDIRECT_REMOTE_USER environment variable.
PR: 10678, 11602. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
99a041314eb3db0b0cca325c9c40d0a6c5fdf04f 97064 |
|
02-Oct-2002 |
wrowe |
*) SECURITY: [CAN-2002-0840] HTML-escape the address produced by
ap_server_signature() against this cross-site scripting
vulnerability exposed by the directive 'UseCanonicalName Off'.
Also HTML-escape the SERVER_NAME environment variable for CGI
and SSI requests. It's safe to escape as only the '<', '>',
and '&' characters are affected, which won't appear in a valid
hostname. Reported by Matthew Murphy <mattmurphy@kc.rr.com>.
[Brian Pane] |
c0a00b733a6d08cc233a045a8385dc8846dda5a1 95859 |
|
23-Jun-2002 |
wrowe |
Use apr_ flavors of ischar() |
2d399cd7535887fceaa9f8f116eb98ce68ddd602 95149 |
|
17-May-2002 |
trawick |
stop using APLOG_NOERRNO in calls to ap_log_?error() |
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2 94744 |
|
22-Apr-2002 |
stoddard |
Added the APLOG_TOCLIENT flag to ap_log_rerror() to
explicitly tell the server that warning messages should be sent
to the client in addition to being recorded in the error log.
Prior to this change, ap_log_rerror() always sent warning
messages to the client. In one case, a faulty CGI script caused
the server to send a warning message to the client that contained
the full path to the CGI script. This could be considered a
minor security exposure. |
05adab005251093a7ac9c411910a73ddd0020192 94346 |
|
31-Mar-2002 |
bjh |
Handle CR/LF terminated lines from CGI scripts.
Reviewed by: Brian Pane |
96add6d40df551736b8a7feb1f6b5ea5d8b38056 94342 |
|
30-Mar-2002 |
brianp |
Fix for a bug that I introduced when eliminating the single-byte
reads in mod_cgi: eof wasn't treated as an error condition when
reading the script headers, so we were delivering a 200 when a
CGI script produced no output. |
5842e6b336b1cc0252b6cc2944dd81c7d3a19a1b 94151 |
|
24-Mar-2002 |
brianp |
Changed mod_cgi to not do single-byte reads to consume the
script headers |
db08da9ddcd65c31f9ea44b823898b72a1b24fbe 94057 |
|
20-Mar-2002 |
stoddard |
Commit 2 of 2 to:
1. rename ap_rset_content_type to ap_set_content_type
2. reverse the arguments to aligh with ap_set_content_length |
2864362ca8266097928e84f101010bdf814ffa08 94028 |
|
20-Mar-2002 |
stoddard |
Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType
filters during call to ap_rset_content_type() |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
be6908cb50f36850b1f5622a2a8dd084d12942f1 92282 |
|
02-Dec-2001 |
brianp |
Optimization: changed some apr_pstrndup calls to apr_pstrmemdup |
14306da01d1c95e5c9e606501c0ab77d620107d3 92152 |
|
24-Nov-2001 |
brianp |
optimize ap_add_common_vars() for the common case where r->subprocess_env is empty |
12c851950048b4ef63f502a5a69b7a83e74eb3e7 92136 |
|
22-Nov-2001 |
brianp |
minor performance fix for ap_add_common_vars(): replace printf with apr_itoa() |
e6cc28a5eb3371ba0c38e941855e71ff0054f50e 91887 |
|
13-Nov-2001 |
rbb |
Begin to abstract out the underlying transport layer.
The first step is to remove the socket from the conn_rec,
the server now lives in a context that is passed to the
core's input and output filters. This forces us to be very
careful when adding calls that use the socket directly,
because the socket isn't available in most locations. |
d4f351074a8f7af5e41aa0a70410816436608e3d 91860 |
|
11-Nov-2001 |
ianh |
This patch changes the apr_table_elts macro so that it provides
access to the internals of an apr_table_t via a const pointer
instead of the current non-const pointer.
Submitted by: Brian Pane <BPane@pacbell.net>
Reviewed by: Ian Holsman |
d081979209689f7816b4520b0e0fe093566a9b7f 91835 |
|
10-Nov-2001 |
rbb |
Improve http2env's performance by cutting the work it has to
do.
Submitted by: Brian Pane <bpane@pacbell.net> |
bcd55034c7ad9db8a5d2bdab94fec5c7dd61b092 91132 |
|
24-Sep-2001 |
wrowe |
PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions
are given command-name status (such as .exe;.bat;.com;.cmd etc.) |
7941b63a533f3c63803d9ffc49d3db2762609f47 90976 |
|
10-Sep-2001 |
wrowe |
This patch is insufficient (highlights an existing problem) for OS2 and
Netware, especially, and any other platform with odd native requirements
for the PATH_TRANSLATED variable (where it should look like a filesystem
entity for non-unixish cgi's.) |
070d2f9fd52a3f0e45ca7ae1235c5a5755b80d24 90886 |
|
04-Sep-2001 |
rbb |
Back out the 1.45 change to util_script.c. This change made
us set the environment variable REQUEST_URI to the redirected
URI, instead of the originally requested URI.
PR: 7580
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp> |
afe81ffc10104e9ee7855f5133703dfa3da67192 90588 |
|
23-Aug-2001 |
wrowe |
Why two ifdef blocks? This is simpler to read |
653902eb0cf2fa09cbfc4582bfbb68b0f4ed1a81 89713 |
|
25-Jul-2001 |
wrowe |
Change over to apr_strfsize() for apr_off_t file size formatting. |
a5b254d841f9ce3abab5ab67bd87006a44596deb 89697 |
|
25-Jul-2001 |
dreid |
Another of the long term issues cleared up. BeOS can now run
perl and other CGI's that rely on .so's for their operation. |
c13d541615044010381184f9edf948c0a4c6723e 89277 |
|
06-Jun-2001 |
trawick |
use apr-util's apr_date_parse_http() instead of the to-be-removed
ap_parseHTTPdate()
(proxy needs to make similar changes)
build changes forthcoming...
Submitted by: Justin Erenkrantz |
a51579e48229f1e95ab09d03843dec86a71ebc6d 89058 |
|
08-May-2001 |
dougm |
surprised -Wall does not complain, but ap_scan_script_header_err_core() should explicitly return an int |
928f342270fd8ca02a36f484072d35063121171f 88484 |
|
09-Mar-2001 |
trawick |
tweak ap_get_remote_host() so that the caller can find out if she got
back an IP address
mod_access needed to know this, but the old code didn't handle IPv6 |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
1b21d7b3d97def358b2e923655edeb16613a1c31 88060 |
|
10-Feb-2001 |
gstein |
Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't
- use apr_want.h where possible
- use APR_HAVE_ where possible
- remove some unneeded includes |
066877f1a045103acfdd376d48cdd473c33f409b 88019 |
|
08-Feb-2001 |
dougm |
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by: |
db3fa7db7c7910f2f23c3e3ffe0cf9f41a1899b9 87460 |
|
20-Dec-2000 |
trawick |
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro. |
886cd69ebf69e990dbc365be87ff8ea7cd681904 87424 |
|
19-Dec-2000 |
rbb |
Force all Apache functions to be linked into the executable, whether they
are used or not. This uses the same mechanism that is used for APR
and APR-util. This may not be the correct solution, but it works, and that
is what I really care about. This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC. This is for namespace correctness, but it also makes
the exports script a bit easier. |
59d7dc153347a9f606c5712f0fae7b65e96682d9 87065 |
|
22-Nov-2000 |
rbb |
Allow modules to specify the first module for a sub-request. This allows
modules to not have to muck with the output_filter after it creates the
sub-request. Without this change, modules that create a sub-request have
to manually edit the output_filters, and therefore skip the sub-request
output_filter. If they skip the sub-request output_filter, then we end
up sending multiple EOS buckets to the core_output_filter. |
382fa07a63096c4a1aabfed36433ea5ac9c40ad0 87050 |
|
21-Nov-2000 |
trawick |
updates to changed interfaces to apr_set_port(), apr_get_port(),
apr_set_ipaddr(), and apr_get_ipaddr() |
7afdaa3ee342af2e075f62c619b60628556f7205 86870 |
|
08-Nov-2000 |
dreid |
This adds the APR_LOCAL/APR_REMOTE to APR and changes the apr_get/set_port
functions to use it. This is onyl the start and I'll pause a while before
I continue in case people really hate this. The patch can be backed out and
all evidence will be removed, but I think this makes maintaining/developing
the code easier in the long term. |
dad234382d8424e1c5a30af2838e172aec9d6d1b 86866 |
|
08-Nov-2000 |
dreid |
Start of moving to apr_port_t in the server code. This will probably the first
of a few... |
8554ec070dde854ed93d05ad23359d221d609ab8 86816 |
|
03-Nov-2000 |
dreid |
We have functions that allow us to get the ports from the sockets, so use them
here. |
4930129ebc42ba3b35b728824cc1ae49bbb8b0be 86688 |
|
21-Oct-2000 |
rbb |
Remove original_uri. This is the same as r->unparsed_uri
Reviewed by: Roy Fielding and Tony Finch |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion. |
8fdb7710b01f7d33f487ae558559c242d87eda41 86559 |
|
12-Oct-2000 |
rbb |
These functions aren't used by any module, and they don't make any sense
with the bucket design, so they need to go away. |
361467aee81d49d2ddbfd8d2331c02ae872f2afe 86362 |
|
02-Oct-2000 |
trawick |
Clean up some const-ness warnings in getsfunc_STRING(). |
597d160db0361084da89b9786a2f1b213385cc24 86360 |
|
02-Oct-2000 |
wrowe |
Forward port 1.3 overhaul of isapi to 2.0.
Yes - it's blatently obvious that this should be 'bucketized', but the
sequence I will follow is:
*) compatibility of sources
*) extension to async + transmitfile emulated support
*) localization of ISAPI* directives to Directory, File blocks
*) addition of ISAPI caching
*) recode for buckets.
I'm actually looking forward to the mod_cgi bucketization as a model.
PR:
Obtained from:
Submitted by:
Reviewed by: |
333d217f9ee70eb89cb5d5a30bf08a0032f571ff 86018 |
|
07-Aug-2000 |
trawick |
Fix some problems with the apr conversion so that APACHE_XLATE builds work
again. |
10a4cdd68ef1ca0e54af296fe1d08ac00150c90b 86008 |
|
06-Aug-2000 |
wrowe |
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by: |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
b6055b7832a0e4d0818416252fff5925aaebae4b 85867 |
|
21-Jul-2000 |
rbb |
Move all APR functions related to strings to their own directory, and
create a new header for those functions. This is the first step to
removing the apr/lib directory completely, and moving those files/functions
to descriptive directories. |
7bcf09411556a7c74a4de1f2e4649857e3b23758 85771 |
|
05-Jul-2000 |
rbb |
Remove a bunch of dead code from util_script. |
d41217398f0e1031adbb6f5bd37f45737c805def 85723 |
|
28-Jun-2000 |
trawick |
Include strings.h for strcasecmp(), strncasecmp(), and bzero().
Include time.h for time().
This removes a bunch of compiler warnings with gcc -Wall on AIX.
Submitted by: Jeff Trawick, Victor Orlikowski |
c152d99ee60b6da81bd06676b48b1cbc317565c9 85580 |
|
15-Jun-2000 |
trawick |
Include the proper header file (under X/Open, at least) for ntohs() in
a couple of modules. This lets us link-edit successfully again on OS/390.
(OS/390 only has the macro form of these functions.) |
48d7c43629323c8d5ee9f7bd0d194de0a376b391 85558 |
|
13-Jun-2000 |
rbb |
Protect system header files with the appropriate macros. |
c39bd4ff2d5ce45726ee40bc2ea1909a22a2b2b2 85427 |
|
05-Jun-2000 |
trawick |
Make a copy of getenv("PATH") before storing for later use. Some
getenv() implementations use the same storage for successive calls.
CGIs on OS/390 had a bad PATH due to this. (Believe it or not, ANSI
says getenv() can do this.)
Some similar getenv() usage was left alone as it was specific to a
certain platform, and I assume that getenv() doesn't have the "issue"
on those platforms. |
45c80f304f2d76e5d53ea77fda737e7037fae124 85214 |
|
15-May-2000 |
trawick |
util_ebcdic.h, util_ebcdic.c, http_core.c:
tweak ap_checkconv() for 2.0
buff.c:
fix typo in comment
util_md5.h:
change CHARSET_EBCDIC to APACHE_XLATE
util_script.c:
APR-ize some character set conversion (EBCDIC only) |
54e94821097724bf413d2d4cc70711760f7494e1 84998 |
|
20-Apr-2000 |
trawick |
[EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3. This replaces most
of the \015, \012, and \015\012 constants with macros.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick |
404e2e1f8ad30c2d996f5fb6b3a9a4a4a14a004b 84963 |
|
14-Apr-2000 |
rbb |
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere. |
7e79e8fd53348f9fc6e8009a4a2522425ab6f08f 84878 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
b9c4bde7cdf5fe584d44cf170fcd09c417c7692c 84802 |
|
20-Mar-2000 |
bjh |
Bring forward my recent 1.3 patches. |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
2d71630471d1c23f0137309e3c3957c633ecbfd6 84531 |
|
28-Jan-2000 |
rbb |
Include ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
defined correctly in all C files. |
540bbdd4d087610fc0563f0dc3aab2fc5defbad9 84512 |
|
23-Jan-2000 |
stoddard |
Fix compile breaks on Windows. |
b0f20a4a26bcfa85724b1c2e5ec6a077f12ef44c 84493 |
|
19-Jan-2000 |
rbb |
Finish the commits for the change in the header files. Basically, this hides
all of the Apache macros that modules don't need access to. This should
have been committed with the modules, but I wasn't paying attention to the
directory I was in when I ran the commit.
Submitted by: Manoj Kasichainula and Ryan Bloom |
6db54801798f6021bb464de7b3fdcc9dc3150f7b 84413 |
|
09-Jan-2000 |
dgaudet |
time overhaul:
- ap_time_t is a 64-bit scalar, microseconds since epoch
- ap_exploded_time_t corresponds to struct tm with a few extras
probably broken on anything except linux. |
99fbb38a724eee4d472e897d5ec5a5d8b333c6c3 84377 |
|
31-Dec-1999 |
rbb |
Get rid of ap_call_exec. It has been #if 0'ed out for a long time, and we
never call it, so I'm taking it out all together now. |
44c46ef733836b32585d135d2d90856e7cfd9929 84338 |
|
20-Dec-1999 |
rbb |
First step in getting Apache to use APR's time libraries. This gets a good
number of them, but I think there are more time values still in the Apache
code. This works under Linux, but has not been tested anywhere else. |
0d281502553310060615306fb6ca92b2f4f97d7a 84128 |
|
16-Nov-1999 |
rbb |
Cleanup the ZZZ comments. Basically these used to mark places where APR
is needed. It is much easier to do this conversion by hand than by
searching for old comments, so they are going away now. |
9fba5e90c5fd6e43467a72469cfe51891247757c 84112 |
|
09-Nov-1999 |
ben |
Add printf format for ssize_t. |
a27217326402f75ecb76527c3119c9808571faf0 84078 |
|
31-Oct-1999 |
bjh |
Eliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
ap_scan_script_header_err(). |
ebc2d0583ce25c4d7894da8392ca57ccc608ce49 84076 |
|
31-Oct-1999 |
manoj |
Undo the ap_bgets errno patch. It will return status with ap_berror(). |
cd9759ef9d13a7a92549016ec2ae15dbd0cecc29 84075 |
|
30-Oct-1999 |
manoj |
An errnoless interface for ap_bgets |
f15953964058dc2a5c775df882c73f1c9256d08c 84032 |
|
24-Oct-1999 |
ben |
Size rigour. |
0942697a9b5de44865676345a3828741c827efe6 84007 |
|
20-Oct-1999 |
rbb |
Add a status value to ap_log_error and ap_log_rerror. This allows us to use
apr_status codes in our error logs. The main advantage of this, is portable
error codes. Now, Windows will finally be able to use errno! |
480c790b074c94e2a9b53ae768a4d6f710e5caa0 84000 |
|
17-Oct-1999 |
bhyde |
Eliminate warning about create_argv_cmd being unused. Code's topology needs work. |
9a376f533d471894a914439cf4c3027b1d58bd74 83998 |
|
17-Oct-1999 |
stoddard |
ifdef ap_call_exec out but keep it around until we get mod_include updated to use the
new APR proc API. |
40c2964792533dfeedca739fa5617416d5f644e7 83969 |
|
12-Oct-1999 |
martin |
Fix typos |
d936d7dcfc1a35dec2a026d23053f8230301cdff 83927 |
|
04-Oct-1999 |
rbb |
First patch to re-order function parameters. This one gets the low hanging
fruit, and moves most of the result parameters to the first argument.
Future patches in this series will move the rest of the result parameters
to the beginning of the list, and will move the context's to the end of the
list |
ab5581cc78e9d865b0a6ab1404c53347b3276968 83879 |
|
08-Sep-1999 |
rbb |
Remove all of the calls to functions like "ap_popenf". These functions were
moved down to APR, but they are being removed. They are not portable, and
were only moved down for backwards compatability. With this change, they can
be safely removed, which is the next commit on it's way.
Submitted by: Ryan Bloom and Paul Reder |
b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697 83852 |
|
31-Aug-1999 |
rbb |
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
check this out tomorrow and make sure everything was checked in correctly. |
5b4b3d3f7f76d1d08c39e4c913a094516a86b300 83821 |
|
28-Aug-1999 |
fielding |
Reverse the unnecessary change to the interface of ap_parseHTTPdate()
that was discovered while rebuilding the repository. |
d37310aa5160b950f09af5e8ac1ba5f32ee997ed 83772 |
|
26-Aug-1999 |
fielding |
This evil little change modifies the interface to ap_parseHTTPdate()
for no good reason. It'll be backed out real soon.
Submitted by: pthreads leftovers |
0a09a4a642f7c0d367598394411dbdd4a6d8cd09 83766 |
|
26-Aug-1999 |
fielding |
Replace all alarms and timeouts with a mutex on alloc.
Replace file descriptors with APRFile.
Add ap_is_aborted macro.
Submitted by: Bill Stoddard, Dean Gaudet |
6f6fd005333da8ab4deaa037b199ae575916da79 83764 |
|
26-Aug-1999 |
fielding |
Removed RLIMIT stuff, supposedly to be implemented later in mod_cgi.
Disabled suexec, supposedly to be reimplemented later.
Submitted by: Bill Stoddard, Dean Gaudet |
2e123e8beedc9f921448c113e2d6823a92fd5261 83763 |
|
26-Aug-1999 |
fielding |
Rearchitect the mess in http_main.c, http_core.c and buff.c.
Basic restructuring to introduce the MPM concept; includes various
changes to the module API... better described by docs/initial_blurb.txt.
Created multiple process model (MPM) concept by ripping out the process
guts from http_main.c and http_core.c and moving them to separate files
under src/modules/mpm/
Moved socket creation stuff to listen.c.
Moved connection open, maintenance and close to http_connection.c.
I/O layering and BUFF revamp. Much of buff.c moved to ap_iol,
iol_socket, and iol_file. See docs/buff.txt.
Moved user and auth fields from connection_rec to request_rec.
Removed RLIMIT stuff, supposedly to be implemented later in mod_cgi.
Disabled suexec, supposedly to be reimplemented later.
Submitted by: Dean Gaudet |
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1 83750 |
|
24-Aug-1999 |
fielding |
Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group |