/[Apache-SVN]/httpd/httpd/branches/2.2.x/server/util_script.c
ViewVC logotype

Log of /httpd/httpd/branches/2.2.x/server/util_script.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 733757 - (view) (annotate) - [select for diffs]
Modified Mon Jan 12 13:59:56 2009 UTC (10 months, 2 weeks ago) by jim
File length: 23283 byte(s)
Diff to previous 446606 (colored)
Merge r729586, r732504 from trunk:

CGI: return 504 (Gateway timeout) rather than 500 when a script
times out before returning status line/headers.
PR 42190


Improve canned 504 error message in the light of r729586 and covener's comment.

Submitted by: niq
Reviewed/backported by: jim

Revision 446606 - (view) (annotate) - [select for diffs]
Modified Fri Sep 15 13:19:25 2006 UTC (3 years, 2 months ago) by trawick
File length: 22941 byte(s)
Diff to previous 421103 (colored)
merge from trunk (but preserve ap_get_server_version()):

  *) 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.  ap_get_server_version() is now 
     deprecated, and is replaced by ap_get_server_banner() and 
     ap_get_server_description().

Reviewed by: rpluem, jim


Revision 421103 - (view) (annotate) - [select for diffs]
Modified Wed Jul 12 03:38:44 2006 UTC (3 years, 4 months ago) by fielding
File length: 22942 byte(s)
Diff to previous 396056 (colored)
update license header text

Revision 396056 - (view) (annotate) - [select for diffs]
Modified Sat Apr 22 01:53:06 2006 UTC (3 years, 7 months ago) by pquerna
File length: 22795 byte(s)
Diff to previous 395231 (colored)
Revert r395231 from the 2.2.x branch.  This gets us back to the old place with regard to the copyright statements.

Revision 395231 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:33:16 2006 UTC (3 years, 7 months ago) by colm
File length: 22795 byte(s)
Diff to previous 374895 (colored)
Update the last year of copyright for the 2.2.x branch

Revision 374895 - (view) (annotate) - [select for diffs]
Modified Sat Feb 4 17:45:51 2006 UTC (3 years, 9 months ago) by niq
File length: 22795 byte(s)
Diff to previous 332309 (colored)
Fix PR#38070
Avoid server-driven negotiation when a script has sent a Status: header.

Revision 332309 - (view) (annotate) - [select for diffs]
Modified Thu Nov 10 15:20:05 2005 UTC (4 years ago) by jim
File length: 22196 byte(s)
Diff to previous 234103 (colored)
No functional change: remove trailing whitespace. This also means
that "blank" lines, which had consisted of just spaces
and/or tabs are now truly blank lines

Revision 234103 - (view) (annotate) - [select for diffs]
Modified Sat Aug 20 18:21:45 2005 UTC (4 years, 3 months ago) by pquerna
File length: 22339 byte(s)
Diff to previous 191647 (colored)
Recreate 2.2.x branch from trunk.

Revision 191647 - (view) (annotate) - [select for diffs]
Modified Tue Jun 21 10:53:00 2005 UTC (4 years, 5 months ago) by niq
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22339 byte(s)
Diff to previous 151408 (colored)
PR: 10775
Submitted by: Christian Schubert <mail apexo de>
Reviewed by: niq

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22237 byte(s)
Diff to previous 106103 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22201 byte(s)
Diff to previous 105572 (colored)
general property cleanup

Revision 105572 - (view) (annotate) - [select for diffs]
Modified Sat Oct 23 22:39:53 2004 UTC (5 years, 1 month ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22201 byte(s)
Diff to previous 105545 (colored)
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.

Revision 105545 - (view) (annotate) - [select for diffs]
Modified Fri Oct 22 15:22:05 2004 UTC (5 years, 1 month ago) by ake
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22325 byte(s)
Diff to previous 104439 (colored)
WIN64: API changes to clean up Windows 64bit compile warnings

Revision 104439 - (view) (annotate) - [select for diffs]
Modified Sun Aug 1 01:12:30 2004 UTC (5 years, 3 months ago) by jerenkrantz
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22201 byte(s)
Diff to previous 103971 (colored)
Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against
APR_SUCCESS.

Revision 103971 - (view) (annotate) - [select for diffs]
Modified Wed Jun 16 16:07:43 2004 UTC (5 years, 5 months ago) by jorton
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22210 byte(s)
Diff to previous 103648 (colored)
* 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.

Revision 103648 - (view) (annotate) - [select for diffs]
Modified Tue May 11 18:55:49 2004 UTC (5 years, 6 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22099 byte(s)
Diff to previous 102619 (colored)
:set tabstop=8
:retab

(no code changes)

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20286 byte(s)
Diff to previous 102589 (colored)
fix name of The Apache Software Foundation

Revision 102589 - (view) (annotate) - [select for diffs]
Modified Sun Feb 8 13:58:22 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20282 byte(s)
Diff to previous 102525 (colored)
fix copyright dates according to the first check in

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20282 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22501 byte(s)
Diff to previous 101991 (colored)
update license to 2004.

Revision 101991 - (view) (annotate) - [select for diffs]
Modified Fri Dec 5 00:59:29 2003 UTC (5 years, 11 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22501 byte(s)
Diff to previous 101154 (colored)
stop using apr_sockaddr_port_get() accessor function, as it will
disappear from APR 1.0 API shortly

Revision 101154 - (view) (annotate) - [select for diffs]
Modified Wed Sep 3 19:27:12 2003 UTC (6 years, 2 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22518 byte(s)
Diff to previous 100604 (colored)
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

Revision 100604 - (view) (annotate) - [select for diffs]
Modified Mon Jul 14 17:24:38 2003 UTC (6 years, 4 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22524 byte(s)
Diff to previous 98573 (colored)
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.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22254 byte(s)
Diff to previous 97064 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 97064 - (view) (annotate) - [select for diffs]
Modified Wed Oct 2 21:35:57 2002 UTC (7 years, 1 month ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22254 byte(s)
Diff to previous 95859 (colored)
  *) 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]

Revision 95859 - (view) (annotate) - [select for diffs]
Modified Sun Jun 23 06:15:03 2002 UTC (7 years, 5 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22210 byte(s)
Diff to previous 95149 (colored)
  Use apr_ flavors of ischar()

Revision 95149 - (view) (annotate) - [select for diffs]
Modified Fri May 17 11:11:39 2002 UTC (7 years, 6 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22194 byte(s)
Diff to previous 94744 (colored)
stop using APLOG_NOERRNO in calls to ap_log_?error()

Revision 94744 - (view) (annotate) - [select for diffs]
Modified Mon Apr 22 03:25:40 2002 UTC (7 years, 7 months ago) by stoddard
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22236 byte(s)
Diff to previous 94346 (colored)
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.

Revision 94346 - (view) (annotate) - [select for diffs]
Modified Sun Mar 31 07:48:56 2002 UTC (7 years, 7 months ago) by bjh
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22100 byte(s)
Diff to previous 94342 (colored)
Handle CR/LF terminated lines from CGI scripts.

Reviewed by: Brian Pane

Revision 94342 - (view) (annotate) - [select for diffs]
Modified Sat Mar 30 22:48:39 2002 UTC (7 years, 8 months ago) by brianp
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22082 byte(s)
Diff to previous 94151 (colored)
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.

Revision 94151 - (view) (annotate) - [select for diffs]
Modified Sat Mar 23 23:19:41 2002 UTC (7 years, 8 months ago) by brianp
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 22056 byte(s)
Diff to previous 94057 (colored)
Changed mod_cgi to not do single-byte reads to consume the
script headers

Revision 94057 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 17:44:13 2002 UTC (7 years, 8 months ago) by stoddard
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20526 byte(s)
Diff to previous 94028 (colored)
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

Revision 94028 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 02:05:43 2002 UTC (7 years, 8 months ago) by stoddard
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20527 byte(s)
Diff to previous 93918 (colored)
Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType
filters during call to ap_rset_content_type()

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20520 byte(s)
Diff to previous 92282 (colored)
Update our copyright for this year.

Revision 92282 - (view) (annotate) - [select for diffs]
Modified Sun Dec 2 09:51:19 2001 UTC (7 years, 11 months ago) by brianp
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20520 byte(s)
Diff to previous 92152 (colored)
Optimization: changed some apr_pstrndup calls to apr_pstrmemdup

Revision 92152 - (view) (annotate) - [select for diffs]
Modified Sat Nov 24 04:22:45 2001 UTC (8 years ago) by brianp
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20518 byte(s)
Diff to previous 92136 (colored)
optimize ap_add_common_vars() for the common case where r->subprocess_env is empty

Revision 92136 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 20:41:38 2001 UTC (8 years ago) by brianp
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20279 byte(s)
Diff to previous 91887 (colored)
minor performance fix for ap_add_common_vars(): replace printf with apr_itoa()

Revision 91887 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 23:49:08 2001 UTC (8 years ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20289 byte(s)
Diff to previous 91860 (colored)
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.

Revision 91860 - (view) (annotate) - [select for diffs]
Modified Sun Nov 11 22:31:04 2001 UTC (8 years ago) by ianh
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20379 byte(s)
Diff to previous 91835 (colored)
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

Revision 91835 - (view) (annotate) - [select for diffs]
Modified Sat Nov 10 18:38:02 2001 UTC (8 years ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20343 byte(s)
Diff to previous 91132 (colored)
Improve http2env's performance by cutting the work it has to
do.

Submitted by:	Brian Pane <bpane@pacbell.net>

Revision 91132 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 21:09:06 2001 UTC (8 years, 2 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20169 byte(s)
Diff to previous 90976 (colored)
  PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions
  are given command-name status (such as .exe;.bat;.com;.cmd etc.)

Revision 90976 - (view) (annotate) - [select for diffs]
Modified Mon Sep 10 03:56:45 2001 UTC (8 years, 2 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20063 byte(s)
Diff to previous 90886 (colored)
  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.)

Revision 90886 - (view) (annotate) - [select for diffs]
Modified Tue Sep 4 01:38:01 2001 UTC (8 years, 2 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20166 byte(s)
Diff to previous 90588 (colored)
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>

Revision 90588 - (view) (annotate) - [select for diffs]
Modified Thu Aug 23 21:16:05 2001 UTC (8 years, 3 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19487 byte(s)
Diff to previous 89713 (colored)
  Why two ifdef blocks?  This is simpler to read

Revision 89713 - (view) (annotate) - [select for diffs]
Modified Wed Jul 25 21:34:15 2001 UTC (8 years, 4 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19507 byte(s)
Diff to previous 89697 (colored)
  Change over to apr_strfsize() for apr_off_t file size formatting.

Revision 89697 - (view) (annotate) - [select for diffs]
Modified Wed Jul 25 00:49:36 2001 UTC (8 years, 4 months ago) by dreid
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20063 byte(s)
Diff to previous 89277 (colored)
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.

Revision 89277 - (view) (annotate) - [select for diffs]
Modified Wed Jun 6 19:30:54 2001 UTC (8 years, 5 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19900 byte(s)
Diff to previous 89058 (colored)
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

Revision 89058 - (view) (annotate) - [select for diffs]
Modified Tue May 8 20:55:23 2001 UTC (8 years, 6 months ago) by dougm
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19892 byte(s)
Diff to previous 88484 (colored)
surprised -Wall does not complain, but ap_scan_script_header_err_core() should explicitly return an int

Revision 88484 - (view) (annotate) - [select for diffs]
Modified Fri Mar 9 20:30:34 2001 UTC (8 years, 8 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19876 byte(s)
Diff to previous 88184 (colored)
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

Revision 88184 - (view) (annotate) - [select for diffs]
Modified Fri Feb 16 04:26:53 2001 UTC (8 years, 9 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19870 byte(s)
Diff to previous 88060 (colored)
Update copyright to 2001

Revision 88060 - (view) (annotate) - [select for diffs]
Modified Sat Feb 10 13:05:29 2001 UTC (8 years, 9 months ago) by gstein
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19865 byte(s)
Diff to previous 88019 (colored)
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

Revision 88019 - (view) (annotate) - [select for diffs]
Modified Thu Feb 8 07:45:33 2001 UTC (8 years, 9 months ago) by dougm
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19928 byte(s)
Diff to previous 87460 (colored)
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 87460 - (view) (annotate) - [select for diffs]
Modified Wed Dec 20 16:44:01 2000 UTC (8 years, 11 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19915 byte(s)
Diff to previous 87424 (colored)
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.

Revision 87424 - (view) (annotate) - [select for diffs]
Modified Tue Dec 19 17:05:48 2000 UTC (8 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19916 byte(s)
Diff to previous 87065 (colored)
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.

Revision 87065 - (view) (annotate) - [select for diffs]
Modified Wed Nov 22 19:38:07 2000 UTC (9 years ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19910 byte(s)
Diff to previous 87050 (colored)
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.

Revision 87050 - (view) (annotate) - [select for diffs]
Modified Tue Nov 21 19:10:25 2000 UTC (9 years ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19865 byte(s)
Diff to previous 86870 (colored)
updates to changed interfaces to apr_set_port(), apr_get_port(),
apr_set_ipaddr(), and apr_get_ipaddr()

Revision 86870 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 14:47:33 2000 UTC (9 years ago) by dreid
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19792 byte(s)
Diff to previous 86866 (colored)
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.

Revision 86866 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 11:35:38 2000 UTC (9 years ago) by dreid
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19787 byte(s)
Diff to previous 86816 (colored)
Start of moving to apr_port_t in the server code.  This will probably the first
of a few...

Revision 86816 - (view) (annotate) - [select for diffs]
Modified Fri Nov 3 02:15:50 2000 UTC (9 years ago) by dreid
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19789 byte(s)
Diff to previous 86688 (colored)
We have functions that allow us to get the ports from the sockets, so use them
here.

Revision 86688 - (view) (annotate) - [select for diffs]
Modified Sat Oct 21 15:02:45 2000 UTC (9 years, 1 month ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19743 byte(s)
Diff to previous 86609 (colored)
Remove original_uri.  This is the same as r->unparsed_uri
Reviewed by:	Roy Fielding and Tony Finch

Revision 86609 - (view) (annotate) - [select for diffs]
Modified Mon Oct 16 06:05:15 2000 UTC (9 years, 1 month ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20421 byte(s)
Diff to previous 86559 (colored)
  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.

Revision 86559 - (view) (annotate) - [select for diffs]
Modified Thu Oct 12 04:20:36 2000 UTC (9 years, 1 month ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20421 byte(s)
Diff to previous 86362 (colored)
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.

Revision 86362 - (view) (annotate) - [select for diffs]
Modified Mon Oct 2 18:40:25 2000 UTC (9 years, 1 month ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20703 byte(s)
Diff to previous 86360 (colored)
Clean up some const-ness warnings in getsfunc_STRING().

Revision 86360 - (view) (annotate) - [select for diffs]
Modified Mon Oct 2 15:38:59 2000 UTC (9 years, 1 month ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20687 byte(s)
Diff to previous 86018 (colored)
  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:

Revision 86018 - (view) (annotate) - [select for diffs]
Modified Mon Aug 7 19:26:02 2000 UTC (9 years, 3 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19134 byte(s)
Diff to previous 86008 (colored)
Fix some problems with the apr conversion so that APACHE_XLATE builds work
again.

Revision 86008 - (view) (annotate) - [select for diffs]
Modified Sun Aug 6 06:07:53 2000 UTC (9 years, 3 months ago) by wrowe
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19131 byte(s)
Diff to previous 85976 (colored)
  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:

Revision 85976 - (view) (annotate) - [select for diffs]
Modified Wed Aug 2 05:27:38 2000 UTC (9 years, 3 months ago) by dougm
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19117 byte(s)
Diff to previous 85867 (colored)
prefix libapr functions and types with apr_

Revision 85867 - (view) (annotate) - [select for diffs]
Modified Fri Jul 21 19:50:58 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19028 byte(s)
Diff to previous 85771 (colored)
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.

Revision 85771 - (view) (annotate) - [select for diffs]
Modified Wed Jul 5 21:06:23 2000 UTC (9 years, 4 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19003 byte(s)
Diff to previous 85723 (colored)
Remove a bunch of dead code from util_script.

Revision 85723 - (view) (annotate) - [select for diffs]
Modified Wed Jun 28 14:33:48 2000 UTC (9 years, 5 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 21267 byte(s)
Diff to previous 85580 (colored)
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

Revision 85580 - (view) (annotate) - [select for diffs]
Modified Thu Jun 15 13:42:01 2000 UTC (9 years, 5 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 21217 byte(s)
Diff to previous 85558 (colored)
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.)

Revision 85558 - (view) (annotate) - [select for diffs]
Modified Mon Jun 12 23:03:05 2000 UTC (9 years, 5 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 21163 byte(s)
Diff to previous 85427 (colored)
Protect system header files with the appropriate macros.

Revision 85427 - (view) (annotate) - [select for diffs]
Modified Mon Jun 5 20:45:08 2000 UTC (9 years, 5 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 21107 byte(s)
Diff to previous 85214 (colored)
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.

Revision 85214 - (view) (annotate) - [select for diffs]
Modified Mon May 15 17:51:23 2000 UTC (9 years, 6 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 21086 byte(s)
Diff to previous 84998 (colored)
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)

Revision 84998 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 14:36:01 2000 UTC (9 years, 7 months ago) by trawick
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20700 byte(s)
Diff to previous 84963 (colored)
[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

Revision 84963 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 15:59:20 2000 UTC (9 years, 7 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20521 byte(s)
Diff to previous 84878 (colored)
Change ap_context_t to ap_pool_t.  This compiles, runs, and serves pages
on Linux, but probably breaks somewhere.

Revision 84878 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 08:44:21 2000 UTC (9 years, 7 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20533 byte(s)
Diff to previous 84802 (colored)
Update to Apache Software License version 1.1

Revision 84802 - (view) (annotate) - [select for diffs]
Modified Mon Mar 20 02:42:20 2000 UTC (9 years, 8 months ago) by bjh
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20678 byte(s)
Diff to previous 84725 (colored)
Bring forward my recent 1.3 patches.

Revision 84725 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 00:07:37 2000 UTC (9 years, 8 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20175 byte(s)
Diff to previous 84531 (colored)
Fix all the License issues.  Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license

Revision 84531 - (view) (annotate) - [select for diffs]
Modified Fri Jan 28 18:02:29 2000 UTC (9 years, 10 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20049 byte(s)
Diff to previous 84512 (colored)
Include ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
defined correctly in all C files.

Revision 84512 - (view) (annotate) - [select for diffs]
Modified Sun Jan 23 16:37:46 2000 UTC (9 years, 10 months ago) by stoddard
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20049 byte(s)
Diff to previous 84493 (colored)
Fix compile breaks on Windows.

Revision 84493 - (view) (annotate) - [select for diffs]
Modified Wed Jan 19 01:16:31 2000 UTC (9 years, 10 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20026 byte(s)
Diff to previous 84413 (colored)
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

Revision 84413 - (view) (annotate) - [select for diffs]
Modified Sun Jan 9 05:18:31 2000 UTC (9 years, 10 months ago) by dgaudet
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 19986 byte(s)
Diff to previous 84377 (colored)
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.

Revision 84377 - (view) (annotate) - [select for diffs]
Modified Fri Dec 31 01:27:43 1999 UTC (9 years, 10 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 20027 byte(s)
Diff to previous 84338 (colored)
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.

Revision 84338 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 16:38:39 1999 UTC (9 years, 11 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32886 byte(s)
Diff to previous 84128 (colored)
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.

Revision 84128 - (view) (annotate) - [select for diffs]
Modified Tue Nov 16 18:32:05 1999 UTC (10 years ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32873 byte(s)
Diff to previous 84112 (colored)
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.

Revision 84112 - (view) (annotate) - [select for diffs]
Modified Tue Nov 9 09:01:15 1999 UTC (10 years ago) by ben
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32990 byte(s)
Diff to previous 84078 (colored)
Add printf format for ssize_t.

Revision 84078 - (view) (annotate) - [select for diffs]
Modified Sun Oct 31 09:26:03 1999 UTC (10 years ago) by bjh
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32956 byte(s)
Diff to previous 84076 (colored)
Eliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
ap_scan_script_header_err().

Revision 84076 - (view) (annotate) - [select for diffs]
Modified Sun Oct 31 09:02:55 1999 UTC (10 years ago) by manoj
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32936 byte(s)
Diff to previous 84075 (colored)
Undo the ap_bgets errno patch. It will return status with ap_berror().

Revision 84075 - (view) (annotate) - [select for diffs]
Modified Sat Oct 30 08:05:10 1999 UTC (10 years, 1 month ago) by manoj
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32989 byte(s)
Diff to previous 84032 (colored)
An errnoless interface for ap_bgets

Revision 84032 - (view) (annotate) - [select for diffs]
Modified Sun Oct 24 19:24:13 1999 UTC (10 years, 1 month ago) by ben
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32936 byte(s)
Diff to previous 84007 (colored)
Size rigour.

Revision 84007 - (view) (annotate) - [select for diffs]
Modified Wed Oct 20 12:50:12 1999 UTC (10 years, 1 month ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32926 byte(s)
Diff to previous 84000 (colored)
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!

Revision 84000 - (view) (annotate) - [select for diffs]
Modified Sun Oct 17 16:39:42 1999 UTC (10 years, 1 month ago) by bhyde
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32920 byte(s)
Diff to previous 83998 (colored)
Eliminate warning about create_argv_cmd being unused.  Code's topology needs work.

Revision 83998 - (view) (annotate) - [select for diffs]
Modified Sun Oct 17 01:59:20 1999 UTC (10 years, 1 month ago) by stoddard
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32842 byte(s)
Diff to previous 83969 (colored)
ifdef ap_call_exec out but keep it around until we get mod_include updated to use the
new APR proc API.

Revision 83969 - (view) (annotate) - [select for diffs]
Modified Mon Oct 11 22:07:29 1999 UTC (10 years, 1 month ago) by martin
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32829 byte(s)
Diff to previous 83927 (colored)
Fix typos

Revision 83927 - (view) (annotate) - [select for diffs]
Modified Mon Oct 4 16:38:16 1999 UTC (10 years, 1 month ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32850 byte(s)
Diff to previous 83879 (colored)
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

Revision 83879 - (view) (annotate) - [select for diffs]
Modified Wed Sep 8 14:15:55 1999 UTC (10 years, 2 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32850 byte(s)
Diff to previous 83852 (colored)
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

Revision 83852 - (view) (annotate) - [select for diffs]
Modified Tue Aug 31 05:35:52 1999 UTC (10 years, 3 months ago) by rbb
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32786 byte(s)
Diff to previous 83821 (colored)
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.

Revision 83821 - (view) (annotate) - [select for diffs]
Modified Fri Aug 27 22:18:49 1999 UTC (10 years, 3 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32669 byte(s)
Diff to previous 83772 (colored)
Reverse the unnecessary change to the interface of ap_parseHTTPdate()
that was discovered while rebuilding the repository.

Revision 83772 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 14:53:24 1999 UTC (10 years, 3 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32699 byte(s)
Diff to previous 83766 (colored)
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

Revision 83766 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 12:54:16 1999 UTC (10 years, 3 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32669 byte(s)
Diff to previous 83764 (colored)
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

Revision 83764 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 12:02:31 1999 UTC (10 years, 3 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 32791 byte(s)
Diff to previous 83763 (colored)
Removed RLIMIT stuff, supposedly to be implemented later in mod_cgi.
Disabled suexec, supposedly to be reimplemented later.

Submitted by:	Bill Stoddard, Dean Gaudet

Revision 83763 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 10:45:57 1999 UTC (10 years, 3 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 33914 byte(s)
Diff to previous 83750 (colored)
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

Revision 83750 - (view) (annotate) - [select for diffs]
Added Tue Aug 24 06:46:03 1999 UTC (10 years, 3 months ago) by fielding
Original Path: httpd/httpd/trunk/server/util_script.c
File length: 33980 byte(s)
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

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2