Colm MacCarthaigh
a836035c10
Add markers for non-threadsafe calls which need porting.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/execd-dev@369017 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 12:53:04 +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
Bradley Nicholes
a5663a3c79
Don't need the second reference to extfiltr.nlm anymore now that there are multiple submakefiles in the filters directory.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@290837 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 21:39:05 +00:00
Nick Kew
d2fa38ef90
Move mod_filter and mod_charset_lite from /experimental/ to /filters/
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@290669 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 09:46:12 +00:00
Jim Jagielski
f3ee29a3fc
gcc -Wall cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@280010 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 14:43:58 +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
Joe Orton
aad70a1145
* modules/filters/mod_include.c (handle_include): Fix possible
...
variable corruption with nested includes.
PR: 12655
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@179763 13f79535-47bb-0310-9956-ffa450edef68
2005-06-03 10:12:50 +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
Paul Querna
b4cf62b67d
- mod_deflate currently only does C-E, and not T-E. Fix the comment at the top saying it does T-E.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161738 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 06:08:56 +00:00
Paul Querna
b25736dfb0
mod_deflate should be merging the Vary header, not Setting it, and ignoring what other modules put there.
...
Spotted By: Rici Lake
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161691 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 20:25:57 +00:00
Joe Orton
a0570c8746
Move the POSIX reg* implementations into the ap_* namespace;
...
internalise the ap_reg*<->PCRE wrapper:
* configure.in: Add srclib/pcre to the include path.
* include/ap_regex.h: Renamed from include/pcreposix.h. Prefix all
constants with AP_; prefix all functions and types with ap_. Define
AP_DECLARE to nothing if necessary. Remove regcomp error codes.
* include/httpd.h: Include ap_regex.h not pcreposix.h.
(ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/.
(ap_regexec, ap_regerror): Prototypes moved to ap_regex.h.
* server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree):
Adjust for ap_ prefixed types. (ap_regexec, ap_regerror): Removed.
* server/Makefile.in: Build util_pcre.c.
* server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use
of PCRE-internals to do error mapping; rename types to add AP_/ap_
prefixes as above. Use APR includes. (ap_regerror): Use apr_snprintf.
* srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la.
* modules/*: Update to use new type and constant names.
PR: 27750 (part one)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153384 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 12:00:41 +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
Joe Orton
1bb2c214cd
* modules/filters/mod_deflate.c (deflate_out_filter): Check explicitly
...
for a 304 or 204 response rather than a brigade which begins with EOS,
to correctly handle such responses when generated by a CGI script.
Don't alter the headers for this case either.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109500 13f79535-47bb-0310-9956-ffa450edef68
2004-12-02 13:45:32 +00:00
Bradley Nicholes
804ff9ab22
Allow APR to exist and build outside of the httpd/srclib file structure
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106975 13f79535-47bb-0310-9956-ffa450edef68
2004-11-30 00:12:39 +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
Joe Orton
0398530061
* modules/filters/config.m4: Drop check for zutil.h. Add -lz to
...
MOD_DEFLATE_LDADD to correctly support shared mod_deflate against
static zlib (where possible).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105445 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 19:59:17 +00:00
Joe Orton
549714b3d3
* modules/filters/mod_deflate.c: Remove use of zutil.h (not installed
...
by zlib 1.2.1) and OS_CODE. (deflate_out_filter): Simplify to use an
immortal brigade for the gzip header.
PR: 28673
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105410 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 11:40:00 +00:00
Paul Querna
cb9af18e1e
Use the ap_is_initial_req() function to test for a subrequest instead of using r->main.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105403 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 10:46:17 +00:00
William A. Rowe Jr
e5d80b8cbc
Require zlib to be pre-compiled, and rely upon the srclib/zlib/
...
tree to contain zlib.lib and our .h files.
This presumes that zlib is compiled to be compatible with Apache
(msvcrt build, either statics or as zlib1.dll). It's true of
all 1.2.1 zlibs and later.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104690 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 16:39:04 +00:00
Justin Erenkrantz
022f0af97c
Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against
...
APR_SUCCESS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104439 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 01:12:30 +00:00
Nick Kew
d4d051865c
Tidy up handling of empty brigades (Joe Orton);
...
Ensure we still set headers on HEAD and 204/304;
and fix inflate_out_filter handling of HEAD/etc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104352 13f79535-47bb-0310-9956-ffa450edef68
2004-07-23 12:40:49 +00:00
Nick Kew
fc727e293a
Tidy up: get rid of dubious cast (nd) and initialise encoding.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104318 13f79535-47bb-0310-9956-ffa450edef68
2004-07-18 01:18:58 +00:00
Nick Kew
814ef2db0f
Fix previous patch to deal correctly with multiple empty brigades before
...
we know if there's any content, and not re-process the headers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104315 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 15:22:35 +00:00
Nick Kew
ef9d0abd34
Fix headers in deflate_out_filter for the case of an empty first brigade
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104314 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 14:14:11 +00:00
André Malo
43f5ee6f6e
style
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104166 13f79535-47bb-0310-9956-ffa450edef68
2004-07-04 21:34:37 +00:00
André Malo
373b83ce9d
that's not really an error condition, so make the message APLOG_DEBUG.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104155 13f79535-47bb-0310-9956-ffa450edef68
2004-07-03 17:41:09 +00:00
Bradley Nicholes
a198c1ee36
Allow mod_deflate on NetWare to be compiled against zlib 1.2.1
...
Submitted by: Guenter Knauf <fuankg@apache.org >
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104096 13f79535-47bb-0310-9956-ffa450edef68
2004-06-30 16:27:55 +00:00
Nick Kew
c154b01916
Update inflate_out_filter to support gzip compression flags.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104034 13f79535-47bb-0310-9956-ffa450edef68
2004-06-25 03:44:29 +00:00
Joe Orton
969a0733bf
* modules/filters/mod_include.c (send_parsed_content): Only destroy
...
the temporary brigade if it wasn't passed on to the next filter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103966 13f79535-47bb-0310-9956-ffa450edef68
2004-06-15 20:49:46 +00:00
Allan K. Edwards
fef2e79308
Don't deflate responses with zero length e.g. proxied 304's
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103910 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 19:44:23 +00:00
Joe Orton
5154894e09
* modules/filters/mod_deflate.c (deflate_out_filter): Destroy buckets
...
immediately after are used so that memory consumption is not
proportional to the size of the response.
PR: 29318
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103810 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 13:06:10 +00:00
Justin Erenkrantz
5d0a42a80c
Fix bug in mod_deflate that unconditionally sent deflate'd output even when
...
Accept-Encoding is not present.
Reported by Roy Fielding for http://cvs.apache.org/viewcvs/ with Safari.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103803 13f79535-47bb-0310-9956-ffa450edef68
2004-05-29 03:34:17 +00:00
André Malo
62e1b7bdbe
content-encoding needs to be unset.
...
Submitted by: Nick Kew <nick webthing.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103476 13f79535-47bb-0310-9956-ffa450edef68
2004-04-21 22:08:34 +00:00
André Malo
3d3584309b
remove unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103420 13f79535-47bb-0310-9956-ffa450edef68
2004-04-17 00:26:52 +00:00
Ian Holsman
51e8b9afa4
mod_deflate:
...
- New option for DEFLATE output file (force-gzip), which skips checking the accept-encoding header.
- New output filter 'INFLATE' for uncompressing responses.
Submitted by: Nick Kew <Nick at WebThing dot com>
Reviewed by: Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103405 13f79535-47bb-0310-9956-ffa450edef68
2004-04-16 05:12:22 +00:00
Bradley Nicholes
c7174f4244
Allow make files to create a cc.opt compiler options file per NLM rather than a single file per directory
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102876 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 03:04:51 +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
49a74c174a
fix copyright dates according to the first checkin
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102562 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 12:00:07 +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
André Malo
1779ef9bb4
revert the zlib.lib linkage patch. Bill Rowe said, it's worse than before.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102385 13f79535-47bb-0310-9956-ffa450edef68
2004-01-21 20:55:22 +00:00
André Malo
5daffde295
Don't include zlib files directly. That's very nasty!
...
zlib is now ivoked in a more common way (we link against it :-).
The build process inclusion is probably not the final one, but it works
for me for zlib 1.1.4 and 1.2.1 in command line builds.
PR: 25578
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102370 13f79535-47bb-0310-9956-ffa450edef68
2004-01-18 17:01:46 +00:00
André Malo
a77c445672
bust the "recursive include" test. It's no longer necessary and prevents
...
users from careful use of the feature.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102328 13f79535-47bb-0310-9956-ffa450edef68
2004-01-13 22:12:02 +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
Ian Holsman
579f9fa077
remove email address in the hopes ppl stop emailing me directly ;(
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102207 13f79535-47bb-0310-9956-ffa450edef68
2004-01-06 21:50:58 +00:00
Joe Orton
45ef3067fb
* modules/filters/config.m4: Fix typo which wiped INCLUDES if zlib
...
detection failed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102176 13f79535-47bb-0310-9956-ffa450edef68
2004-01-04 03:05:24 +00:00
André Malo
657f5d5ba3
fix a rewrite mistake: restore the ability to expand variables within
...
<!--include file...-->.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102147 13f79535-47bb-0310-9956-ffa450edef68
2004-01-02 23:45:06 +00:00
André Malo
842e5d0d5d
remove superfluous assignment
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102144 13f79535-47bb-0310-9956-ffa450edef68
2004-01-02 23:35:05 +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
Stas Bekman
14de285567
update the misconfigured INCLUDES skipping code to remove itself, so it'd complain
...
only once
PR:
Obtained from:
Submitted by:
Reviewed by: Jeff Trawick, Bill Rowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102005 13f79535-47bb-0310-9956-ffa450edef68
2003-12-10 02:30:21 +00:00