1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-25 10:59:28 +03:00
Commit Graph

138 Commits

Author SHA1 Message Date
Jim Jagielski
5061d9fa92 No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Jim Jagielski
5d2fae4818 No functional change: simple detabbing of indented code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:05:51 +00:00
Ian Holsman
8c1e315d3f Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:03:59 +00:00
William A. Rowe Jr
20d06d7a06 Reintroduce stack frame construction with /Oy- (removal was implied by /O2).
This makes binaries far easier to debug, during operation and for post-crash
  .dmp analysis.  Do not alter /Gs optimizations per brane.

Reviewed by: stoddard, brane

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170253 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 19:11:57 +00:00
William A. Rowe Jr
8dfeff7595 Ignore both PATH_INFO as well as PATH_TRANSLATED to avoid hiccups
from additional path information passed in non-utf-8 format.

Submitted by: Richard Donkin <rd9 donkin.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151464 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 01:41:52 +00:00
Justin Erenkrantz
905cdf9f0b Update copyright year to 2005 and standardize on current copyright owner line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
William A. Rowe Jr
459b02f136 Handle PATH_INFO as opaque byte-wise data for cgi invocation as
handled for other variables with bug 9223.

PR: 32730
Submitted by: Richard Donkin <rd9 donkin.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124556 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 18:29:13 +00:00
Joe Orton
c36ecfa64f Remove the .cvsignore files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105796 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:29 +00:00
Allan K. Edwards
4abcf93fc2 WIN64: fix some windows specific 64bit warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105390 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 13:33:29 +00:00
Jeff Trawick
81d57e7d39 mod_isapi: GetServerVariable returned improperly terminated header
fields given "ALL_HTTP" or "ALL_RAW".

PR:		20656
Submitted by:	Jesse Pelton <jsp pkc.com>
Reviewed by:	Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102643 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 17:57:26 +00:00
Jeff Trawick
a13b194535 mod_isapi: send_response_header() failed to copy status string's
last character.

PR:		20619
Submitted by:	Jesse Pelton <jsp pkc.com>
Reviewed by:	Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102642 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 17:50:29 +00:00
Jeff Trawick
7421861206 mod_isapi: GetServerVariable("ALL_RAW") returned the wrong buffer
size.

PR:              20617
Submitted by:	 Jesse Pelton <jsp pkc.com>
Reviewed by:	 Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102641 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 17:39:56 +00:00
André Malo
a688f06b19 fix name of The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102618 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:31:03 +00:00
André Malo
f45372eda7 fix copyright dates according to the first checkin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102555 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 11:24:12 +00:00
André Malo
4f02cb1e18 apply Apache License, Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 22:58:42 +00:00
Joe Orton
c4aa600023 Use -export-dynamic only when linking an httpd which includes mod_so,
not when linking modules or support programs.

* modules/aaa/config.m4, modules/arch/win32/config.m4,
modules/cache/config.m4, modules/echo/config.m4,
modules/filters/config.m4, modules/generators/config5.m4,
modules/metadata/config.m4: Don't add -export-dynamic to LT_LDFLAGS.

* modules/mappers/config9.m4: Add -export-dynamic to HTTPD_LDFLAGS
when mod_so is enabled.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102235 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 20:47:29 +00:00
André Malo
fb07607180 update license to 2004.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 13:26:26 +00:00
Jeff Trawick
aa21671e13 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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101154 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 19:27:12 +00:00
William A. Rowe Jr
d93bf49e39 Correct the declaration of the PFN_GETEXTENSIONVERSION type,
which gcc was rejecting (for good reasons.)

Submitted by: Eduardo Franco <eduardo.franco@pulso.com.br>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100865 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 19:20:06 +00:00
William A. Rowe Jr
281948b722 After discussions at length on dev@apr/httpd, it is determined that
the older .dbg format symbols are not worth the interference with
  generating complete .pdb symbolic debugging databases.

  This patch further eliminates pdbtype:sept flags that interfere with
  deciphering local symbols and type information.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98970 13f79535-47bb-0310-9956-ffa450edef68
2003-03-11 00:58:59 +00:00
William A. Rowe Jr
eb7fb37232 Confirmed by Milan Kosina that this code was still broken - I realized
we weren't updating stat correctly, and shouldn't have been trying to
  pass the status, but the headers instead, from WriteClient().  This way
  we can actually count the bytes consumed and begin treating the rest
  as body contents.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98793 13f79535-47bb-0310-9956-ffa450edef68
2003-02-25 16:52:55 +00:00
William A. Rowe Jr
3cd3fc9f32 Someone (I need to refer back) asked that we do the same skip for the
utf-8 win32 prefix when testing for shebang lines.  Here's just such
  a test with some bad sizeof(buffer) v.s. bytes read assumptions fixed,
  and the code made generally a little more legible.  Please review and
  comment to consider this patch for backporting to 2.0.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98775 13f79535-47bb-0310-9956-ffa450edef68
2003-02-23 22:37:35 +00:00
William A. Rowe Jr
25ac108fe2 After consultations on the APR list, it was decided that /map files are
fairly redundant when you retain rich .pdb debugging symbol files.  We
  have rarely used them, and generally .dbg and .pdb files prove much more
  useful for the cases we have.

  While eliminating /map files, we are also shrinking the size of the .dbg
  files by stripping 'private' symbol information.  Really this means less
  rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg
  symbols in creating a DrWatson log file.  But it's more than compensated
  for on newer OS'es where Dr. Watson will query the .pdb symbols, on all
  Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that
  the distribution of binary symbols will use less bandwidth when less
  information is duplicated from the .pdb format into the .dbg files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98743 13f79535-47bb-0310-9956-ffa450edef68
2003-02-20 15:56:04 +00:00
William A. Rowe Jr
e8c0a9532f foo.dbgmark turned out to be the same 8.3 name as foo.dbg itself, which
was badness.  Twist this puppy to .dbr, the only name I could invent that
  doesn't look like any database file extension I recall.

  It stands for .dbg rebased.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98712 13f79535-47bb-0310-9956-ffa450edef68
2003-02-18 22:07:21 +00:00
William A. Rowe Jr
a45632ba37 *) Introduce debugging symbols for Win32 release builds, both .pdb
and .dbg files (older debuggers and Dr. Watson-type utilities
     on WinNT or Win9x don't support the newer .pdb flavor.)
     [Allen Edwards, William Rowe]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98596 13f79535-47bb-0310-9956-ffa450edef68
2003-02-07 21:30:53 +00:00
André Malo
742af25096 finished that boring job:
update license to 2003.

Happy New Year! ;-))


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 17:53:28 +00:00
William A. Rowe Jr
16a2d1c332 Allow headers (if not already passed by other means) to be sent via
WriteFile() since the foxisapi and other thunks seem to indicate that
  headers within the WriteFile() operation are expected to succeed.

  Also assure that all ->completion callbacks get the original size of
  the document.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98533 13f79535-47bb-0310-9956-ffa450edef68
2003-01-29 16:02:17 +00:00
William A. Rowe Jr
b67d127829 Catch up with the changes to apr/build/win32ver.awk and name all loadable
httpd modules as .so, internally.  Credit to Mladen Turk for identifing
  the issue.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98380 13f79535-47bb-0310-9956-ffa450edef68
2003-01-20 19:52:30 +00:00
William A. Rowe Jr
c7abede89f Fix several cut 'n paste errors identified by Juergen Heckel.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97481 13f79535-47bb-0310-9956-ffa450edef68
2002-11-11 05:58:39 +00:00
William A. Rowe Jr
8aa559b3d4 Stop unsetting the 'empty' query string result with
a NULL argument in ecb->lpszQueryString, eliminating segfaults
  for some ISAPI modules.

PR: 14399
Submitted by:	Detlev Vendt <detlev.vendt@brillit.de>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97468 13f79535-47bb-0310-9956-ffa450edef68
2002-11-09 19:20:33 +00:00
William A. Rowe Jr
44b7872ad9 mod_isapi: Fix an issue where HSE_REQ_DONE_WITH_SESSION notification
is received before the HttpExtensionProc() returns HSE_STATUS_PENDING.
  [John DeSetto <jdesetto@radiantsystems.com>, William Rowe]

PR: 11918


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97467 13f79535-47bb-0310-9956-ffa450edef68
2002-11-09 19:10:15 +00:00
William A. Rowe Jr
91f7c5efc7 Fix for PR 10216 ... we should not return the status unless we want the
core to ap_die for us.  If we've handled the response (as determined
  by a new response_sent flag) then the server does not need to do so.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97389 13f79535-47bb-0310-9956-ffa450edef68
2002-11-04 13:44:30 +00:00
William A. Rowe Jr
fb63c7872f The documentation says: ISAPIReadAheadBuffer defaults to 49152 bytes,
which is exactly 48 kb. But the module actually uses a default of 48192
  bytes. This seems to be a typo. Instead of changing the documentation I
  attached a patch for mod_isapi.c to set the default value of
  ISAPIReadAheadBuffer to 49152.

Submitted by: Astrid Ke�ler <kess@kess-net.de>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96534 13f79535-47bb-0310-9956-ffa450edef68
2002-08-26 20:16:33 +00:00
William A. Rowe Jr
0ecf0cce28 A half hour to waste waiting for builds... this is what you get.
mod_isapi will build and run on OSX... presume others as well unless
  I choose some awful errno values for portability.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96136 13f79535-47bb-0310-9956-ffa450edef68
2002-07-21 09:19:19 +00:00
Bill Stoddard
7a939b3e69 Fix some Win32 compile breaks caused by Brian Pane's making apr_table_t
a full incomplete type.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95965 13f79535-47bb-0310-9956-ffa450edef68
2002-07-06 02:49:59 +00:00
Justin Erenkrantz
001b387bcd Change conn_rec->keepalive to an enumerated value of
AP_CONN_UNKNOWN
AP_CONN_CLOSE
AP_CONN_KEEPALIVE

This also fixes a problem where ap_discard_request_body would not discard
the body when keepalive was 0.  This actually meant the keepalive status
was unknown *not* closed, but no one ever remembered that.

This problem was seen with mod_dav sending error responses (as reported by
Karl Fogel).

Suggested by:	Greg "this isn't the '80s" Stein
Reviewed by:	Greg Ames


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95891 13f79535-47bb-0310-9956-ffa450edef68
2002-06-26 19:45:07 +00:00
William A. Rowe Jr
2d094adecf Replace gunk with ap_regkey calls.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95876 13f79535-47bb-0310-9956-ffa450edef68
2002-06-24 04:55:24 +00:00
William A. Rowe Jr
5f0df8fdcf The fix wasn't healthy for Win9x. Work around pre-Unicode flavors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95868 13f79535-47bb-0310-9956-ffa450edef68
2002-06-23 09:52:55 +00:00
William A. Rowe Jr
4de557782a Fixes Win32 cgi 500 errors when QUERY_ARGS or other strings include
extended characters (non US-ASCII) in non-utf8 format.  This brings
  Win32 back into CGI/1.1 compliance, and leaves charset decoding up
  to the cgi application itself.

  Accomplished this by utf-8 encoding of plain octets for user and header
  data, so that the apr_proc_create() translates back to single unicode
  characters.  This won't necessarily translate into the correct octet
  depending on the codepage used by the cgi app.  That's the next task.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95865 13f79535-47bb-0310-9956-ffa450edef68
2002-06-23 07:56:41 +00:00
William A. Rowe Jr
57184bfb04 Fix serious brokenness... we abused prog_type rather than cmd_type on
Win32 when handling APR_PROGRAM_PATH and APR_SHELLCMD style invocations.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95679 13f79535-47bb-0310-9956-ffa450edef68
2002-06-15 00:36:05 +00:00
William A. Rowe Jr
5cf5552b11 Use lowercased macros
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95620 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 22:27:37 +00:00
William A. Rowe Jr
271ee8497b Use the new APR_TIME_FROM_SEC() wrapper
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95616 13f79535-47bb-0310-9956-ffa450edef68
2002-06-12 16:56:27 +00:00
William A. Rowe Jr
f52be25ab6 Catch up with Brad's changes, this knocks off the CGI popup windows bug
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95538 13f79535-47bb-0310-9956-ffa450edef68
2002-06-06 00:22:45 +00:00
William A. Rowe Jr
93dc524eb3 cvs up/diff gets pretty hard to track with vc7 builds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95524 13f79535-47bb-0310-9956-ffa450edef68
2002-06-05 14:56:46 +00:00
William A. Rowe Jr
7c3e505cd5 Feedback appreciated - I'm guessing that we can trust the isapi app
opened file handles correctly for the TransmitFile case.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95498 13f79535-47bb-0310-9956-ffa450edef68
2002-06-04 02:21:36 +00:00
William A. Rowe Jr
9b8c53f816 Solve a bug identified by Sebastian that we would always reaquire the
lock immediately instead of stalling for the isapi module's thread
  to complete its work.  This requires the new changes to thread_mutex
  that introduce a guarenteed APR_THREAD_MUTEX_UNNESTED flag.

Reported by: Sebastian Hantsch <Sebastian.Hantsch@t-online.de>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95366 13f79535-47bb-0310-9956-ffa450edef68
2002-05-29 21:23:03 +00:00
William A. Rowe Jr
fde539cb29 Bug one of two, INIT_FLAG better pair with set_flag_slot.
Submitted by:	Sebastian Hantsch <Sebastian.Hantsch@t-online.de>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95280 13f79535-47bb-0310-9956-ffa450edef68
2002-05-25 15:31:27 +00:00
William A. Rowe Jr
05fba48654 Clean up isapi_load, removing the request_rec arg [which we never need],
and using the given server and request rather than deref'ing r->server
  [which segfaulted ISAPILoadModule in the 1.73 rev.]

Reported by: Sebastian Hantsch


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95187 13f79535-47bb-0310-9956-ffa450edef68
2002-05-20 16:51:31 +00:00
Cliff Woolley
81c03e82c4 Renames:
APR_XtOffset   -> APR_OFFSET
  APR_XtOffsetOf -> APR_OFFSETOF


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95164 13f79535-47bb-0310-9956-ffa450edef68
2002-05-18 04:13:13 +00:00
Jeff Trawick
bc0cf18899 stop using APLOG_NOERRNO in calls to ap_log_[pr]error()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95151 13f79535-47bb-0310-9956-ffa450edef68
2002-05-17 11:33:10 +00:00