Bradley Nicholes
6e46c67f1e
Fix a problem with the HTTPS CGI variable not getting set for secure requests. Needed to readd the port and address on every restart whether or not the listen port is being created or resused.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@348014 13f79535-47bb-0310-9956-ffa450edef68
2005-11-21 23:25:44 +00:00
Jim Jagielski
08c97ba290
No functional change: remove "internal" tab spacing/formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345053 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 16:31:25 +00:00
Jim Jagielski
b72e610410
No functional change: more indenting/formatting changes due to
...
tabbing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332316 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 16:03:23 +00:00
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
Bradley Nicholes
6905d3d9d5
Allow httpd on NetWare to build using either the standard socket libraries or the Winsock libraries.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 23:42:21 +00:00
Bradley Nicholes
bb35e2f831
Make sure that the secure listen sockets that are created and injected into the ap_listeners lists by mod_nw_ssl are handled correctly so that they remain open and reused across restarts.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156556 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 18:09:43 +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
William A. Rowe Jr
d962fcfc8b
FINALLY Correct ap_http_method()! It is NOT a method, it's a SCHEME!
...
Bumped mmn, and ap module cookie, for this function rename.
It's not a deprecation, as ap_http_method would be a lovely function
name sometime in the future: to determine what the function name implies.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123882 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 05:33:44 +00:00
Bradley Nicholes
559d71ed95
* modules/arch/netware/mod_nw_ssl.c (ssl_io_filter_Upgrade): Simplify the
...
Upgrade header check; allow upgrades on any method; don't drop the
ap_pass_brigade return value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111327 13f79535-47bb-0310-9956-ffa450edef68
2004-12-08 23:22:09 +00:00
Bradley Nicholes
8baaa0a27f
Fixing various compiler error when compiling against the latest version of LibC SDK
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106766 13f79535-47bb-0310-9956-ffa450edef68
2004-11-27 22:50:18 +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
Bradley Nicholes
d68780ff93
Add the check for an upgraded https connection when responding to the state of a connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-27 15:14:51 +00:00
Bradley Nicholes
8a0ce65f9a
Track the status of an upgradeable socket so that the http_method and default_port hooks will report the correct information.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105458 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 17:10:30 +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
Bradley Nicholes
000813a1f3
Allow multiple IP addresses to be configured for the same secure port
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104802 13f79535-47bb-0310-9956-ffa450edef68
2004-08-25 19:13:28 +00:00
Bradley Nicholes
ccbcd569a7
Add the new directive NWSSLUpgradeable to mod_nw_ssl to allow a non-secure connection to be upgraded to secure connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104278 13f79535-47bb-0310-9956-ffa450edef68
2004-07-13 19:30:58 +00:00
Jean-Jacques Clar
227df09ee4
rev back to previous version, removing chnges to overload detach field , putting back addrspace field
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104251 13f79535-47bb-0310-9956-ffa450edef68
2004-07-12 16:53:24 +00:00
Jean-Jacques Clar
f2e3f86232
Overloading detached field in cgi_exec_info_t stuct in order to use same field to set detached and addrspace values for proc to be started.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104209 13f79535-47bb-0310-9956-ffa450edef68
2004-07-09 20:28:48 +00:00
Jean-Jacques Clar
136ee08033
Added new field in apr_procattr_t and cgi_exec_info_t structures to support loading in current or new address space (NetWare ONLY).
...
Replaced changes that added APR_PROGRAM_ADDRSPACE committed 6/11/04.
Reviewed by Brad Nicholes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103946 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 17:28:25 +00:00
Jean-Jacques Clar
a2c057d7fb
Replaced APR_PROGRAM_ENV with new enum APR_PROGRAM_ADDRSPACE
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103914 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 20:21:04 +00:00
Bradley Nicholes
61f52655fd
The code was truncating the parameters for all NLM level commands. Needed to make sure that all of the parameters are being passed to the argv parser.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103052 13f79535-47bb-0310-9956-ffa450edef68
2004-03-20 04:17:26 +00:00
Bradley Nicholes
2e0569de3d
Report the NetWare socket error since we are using native socket calls
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102986 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 02:49:15 +00:00
Bradley Nicholes
fb318cf248
Add the ssl_is_https() and ssl_var_lookup() optional functions to the mod_nw_ssl module for Netware
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102877 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 03:08:21 +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
a64646fc96
fix copyright dates according to the first check in
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102553 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 11:20:20 +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
Bradley Nicholes
eaf4e9255a
Allow for binary CGI's to have file extensions other than .NLM
...
Submitted by: G�nter Knauf <gk@gknw.de >
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101989 13f79535-47bb-0310-9956-ffa450edef68
2003-12-04 21:30:09 +00:00
Bradley Nicholes
8e1147717a
Hook the default_port so that mod_nw_ssl will return the correct port rather
...
than defaulting to 80
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101872 13f79535-47bb-0310-9956-ffa450edef68
2003-11-24 20:36:55 +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
Bradley Nicholes
242ebeb98a
Allow for an unclean shutdown of SSL ports to avoid timeout conditions
...
between the client and the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100138 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 15:24:30 +00:00
Bradley Nicholes
0b5947ebe8
Allow blind accept when converting the proxy client socket to SSL if no client
...
certificates have been provided.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99738 13f79535-47bb-0310-9956-ffa450edef68
2003-05-08 16:08:43 +00:00
Bradley Nicholes
f233271ef0
Added the optional ssl_enable functions to allow mod_proxy to hook into
...
mod_nw_ssl on NetWare. This allows a unsecure connection to be upgraded
to a secure connection when required by mod_proxy. Also added the
directive NWSSLTrustedCerts to allow an administrator to provide a list of
certificates used to upgrade the secure connections.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99006 13f79535-47bb-0310-9956-ffa450edef68
2003-03-13 23:20:03 +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
Bradley Nicholes
cade8abb91
Make sure that the file extension is at least an empty string rather than NULL
...
so that the table searches will function properly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98635 13f79535-47bb-0310-9956-ffa450edef68
2003-02-12 22:52:32 +00:00