]> granicus.if.org Git - apache/log
apache
8 years agomake bill happy (if possible!)
Jim Jagielski [Fri, 20 Nov 2015 18:57:36 +0000 (18:57 +0000)]
make bill happy (if possible!)
Note that these are ascii specific.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715404 13f79535-47bb-0310-9956-ffa450edef68

8 years agoProvide our own impl of str[n]casecmp()
Jim Jagielski [Fri, 20 Nov 2015 18:49:38 +0000 (18:49 +0000)]
Provide our own impl of str[n]casecmp()

This simply provides it. Next step is to change all uses of
str[n]casecmp to ap_str[n]casecmp and *then* remove those silly
logic paths where we check the 1st char of a string before
we do the strcasecmp (since this is no longer expensive).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715401 13f79535-47bb-0310-9956-ffa450edef68

8 years agoremoving CHANGES that have made it to 2.4.x
Stefan Eissing [Fri, 20 Nov 2015 15:41:16 +0000 (15:41 +0000)]
removing CHANGES that have made it to 2.4.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715379 13f79535-47bb-0310-9956-ffa450edef68

8 years agoupdated CHANGES
Stefan Eissing [Fri, 20 Nov 2015 15:24:21 +0000 (15:24 +0000)]
updated CHANGES

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715375 13f79535-47bb-0310-9956-ffa450edef68

8 years agoincoming trailers passed into chunked request bodies, outgoing trailers not supported yet
Stefan Eissing [Fri, 20 Nov 2015 13:58:32 +0000 (13:58 +0000)]
incoming trailers passed into chunked request bodies, outgoing trailers not supported yet

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715363 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRevert r1715289 (Connection header field should use "upgrade" instead of "Upgrade")
Christophe Jaillet [Thu, 19 Nov 2015 21:54:48 +0000 (21:54 +0000)]
Revert r1715289 (Connection header field should use "upgrade" instead of "Upgrade")

This is case-insensitive, so no need for such a change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715294 13f79535-47bb-0310-9956-ffa450edef68

8 years agoConnection header field should use "upgrade" instead of "Upgrade"
Christophe Jaillet [Thu, 19 Nov 2015 21:42:23 +0000 (21:42 +0000)]
Connection header field should use "upgrade" instead of "Upgrade"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715289 13f79535-47bb-0310-9956-ffa450edef68

8 years agoSave a few bytes in conf pool.
Christophe Jaillet [Thu, 19 Nov 2015 20:58:55 +0000 (20:58 +0000)]
Save a few bytes in conf pool.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715273 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRegenerate
William A. Rowe Jr [Thu, 19 Nov 2015 20:18:26 +0000 (20:18 +0000)]
Regenerate

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715265 13f79535-47bb-0310-9956-ffa450edef68

8 years agoXML Parsing error, I believe this is the fix
William A. Rowe Jr [Thu, 19 Nov 2015 20:18:08 +0000 (20:18 +0000)]
XML Parsing error, I believe this is the fix

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715264 13f79535-47bb-0310-9956-ffa450edef68

8 years agoinclude fixes for older apr, added flushing for 2.4.x compatibility
Stefan Eissing [Thu, 19 Nov 2015 17:45:27 +0000 (17:45 +0000)]
include fixes for older apr, added flushing for 2.4.x compatibility

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715223 13f79535-47bb-0310-9956-ffa450edef68

8 years agoupdated documenation, fixed includes to work with older apr versions
Stefan Eissing [Thu, 19 Nov 2015 16:24:31 +0000 (16:24 +0000)]
updated documenation, fixed includes to work with older apr versions

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715209 13f79535-47bb-0310-9956-ffa450edef68

8 years agofix in connection shutdown to no longer log after free, fixes in handling HTTP/2...
Stefan Eissing [Thu, 19 Nov 2015 14:04:30 +0000 (14:04 +0000)]
fix in connection shutdown to no longer log after free, fixes in handling HTTP/2 HEADER after DATA (trailers)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715184 13f79535-47bb-0310-9956-ffa450edef68

8 years agomod_ssl: follow up to r1709602.
Yann Ylavic [Wed, 18 Nov 2015 17:15:24 +0000 (17:15 +0000)]
mod_ssl: follow up to r1709602.
Fix "HTTP spoken on HTTPS port" broken by the SSL handshake trigger moved to
process_connection hook (r1709602) along with H2Direct speculative read.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715023 13f79535-47bb-0310-9956-ffa450edef68

8 years agoearly release of h2_mplx on session end
Stefan Eissing [Tue, 17 Nov 2015 14:51:31 +0000 (14:51 +0000)]
early release of h2_mplx on session end

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714802 13f79535-47bb-0310-9956-ffa450edef68

8 years agoflushing and shutdown tuning
Stefan Eissing [Tue, 17 Nov 2015 14:13:19 +0000 (14:13 +0000)]
flushing and shutdown tuning

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714788 13f79535-47bb-0310-9956-ffa450edef68

8 years agoreverting change re flush
Stefan Eissing [Tue, 17 Nov 2015 11:30:31 +0000 (11:30 +0000)]
reverting change re flush

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714756 13f79535-47bb-0310-9956-ffa450edef68

8 years agoflushing connection after h2_session is done
Stefan Eissing [Tue, 17 Nov 2015 10:56:20 +0000 (10:56 +0000)]
flushing connection after h2_session is done

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714753 13f79535-47bb-0310-9956-ffa450edef68

8 years agohandling body of chunked requests without content-length and content-type correctly
Stefan Eissing [Tue, 17 Nov 2015 10:26:38 +0000 (10:26 +0000)]
handling body of chunked requests without content-length and content-type correctly

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714751 13f79535-47bb-0310-9956-ffa450edef68

8 years agotask creation moved into h2_worker domain (pool+thread)
Stefan Eissing [Mon, 16 Nov 2015 17:29:30 +0000 (17:29 +0000)]
task creation moved into h2_worker domain (pool+thread)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714635 13f79535-47bb-0310-9956-ffa450edef68

8 years agoimprovements in handling orphaned stream resources, where client prematurely closed...
Stefan Eissing [Mon, 16 Nov 2015 15:12:35 +0000 (15:12 +0000)]
improvements in handling orphaned stream resources, where client prematurely closed it, guarantueed session shutdown, slave connections created 2.5-DEV style

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714602 13f79535-47bb-0310-9956-ffa450edef68

8 years agochaning WINDOW_SIZE default to protocol default, avoid sending the default value...
Stefan Eissing [Mon, 16 Nov 2015 11:42:14 +0000 (11:42 +0000)]
chaning WINDOW_SIZE default to protocol default, avoid sending the default value as SETTINGS

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714560 13f79535-47bb-0310-9956-ffa450edef68

8 years agofixing h2c scheme/authority initialization
Stefan Eissing [Mon, 16 Nov 2015 11:23:38 +0000 (11:23 +0000)]
fixing h2c scheme/authority initialization

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714557 13f79535-47bb-0310-9956-ffa450edef68

8 years agonew directive H2Push on/off to en-/disable HTTP/2 server pushes. Server pushes are...
Stefan Eissing [Fri, 13 Nov 2015 14:54:15 +0000 (14:54 +0000)]
new directive H2Push on/off to en-/disable HTTP/2 server pushes. Server pushes are recognized by Link: headers in responses that carry the rel=preload parameter

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714219 13f79535-47bb-0310-9956-ffa450edef68

8 years agogoodbye h2_to_h1, hello h2_push.c
Gregg Lewis Smith [Wed, 11 Nov 2015 21:38:54 +0000 (21:38 +0000)]
goodbye h2_to_h1, hello h2_push.c
followup to r1713887

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713937 13f79535-47bb-0310-9956-ffa450edef68

8 years agosome rework for server push
Stefan Eissing [Wed, 11 Nov 2015 16:40:18 +0000 (16:40 +0000)]
some rework for server push

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713887 13f79535-47bb-0310-9956-ffa450edef68

8 years agotask bucket_alloc now created per task pool, spare pools properly destroyed
Stefan Eissing [Mon, 9 Nov 2015 16:18:52 +0000 (16:18 +0000)]
task bucket_alloc now created per task pool, spare pools properly destroyed

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713472 13f79535-47bb-0310-9956-ffa450edef68

8 years agosome connection state tweaks to appease event mpm
Stefan Eissing [Mon, 9 Nov 2015 14:34:13 +0000 (14:34 +0000)]
some connection state tweaks to appease event mpm

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713442 13f79535-47bb-0310-9956-ffa450edef68

8 years agorefactored connection io handling to go for blocking reads more often and use h2_mplx...
Stefan Eissing [Mon, 9 Nov 2015 13:05:53 +0000 (13:05 +0000)]
refactored connection io handling to go for blocking reads more often and use h2_mplx access less frequently

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713427 13f79535-47bb-0310-9956-ffa450edef68

8 years agoinsert missing LOGNO in ssl_util_stapling.c
Kaspar Brand [Sun, 8 Nov 2015 08:11:10 +0000 (08:11 +0000)]
insert missing LOGNO in ssl_util_stapling.c

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713209 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRebuild.
Lucien Gentis [Sat, 7 Nov 2015 14:54:31 +0000 (14:54 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713140 13f79535-47bb-0310-9956-ffa450edef68

8 years agoXML update.
Lucien Gentis [Sat, 7 Nov 2015 14:52:54 +0000 (14:52 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713139 13f79535-47bb-0310-9956-ffa450edef68

8 years agoeliminating some compiler warnings on win32/win64, removing frame data size callback...
Stefan Eissing [Sat, 7 Nov 2015 11:22:09 +0000 (11:22 +0000)]
eliminating some compiler warnings on win32/win64, removing frame data size callback as it seems to have confused output streaming

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713106 13f79535-47bb-0310-9956-ffa450edef68

8 years agoSave a few bytes in conf pool when processing 'Define'.
Christophe Jaillet [Fri, 6 Nov 2015 21:59:53 +0000 (21:59 +0000)]
Save a few bytes in conf pool when processing 'Define'.

+ some minor style issues
+ split long lines

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713043 13f79535-47bb-0310-9956-ffa450edef68

8 years agoSave a few bytes in conf pool when processing 'AllowOverrideList'.
Christophe Jaillet [Fri, 6 Nov 2015 21:10:57 +0000 (21:10 +0000)]
Save a few bytes in conf pool when processing 'AllowOverrideList'.

The 'override_list' table is allocated from the cmd->pool, just as all strings from argv[].
So there is no need to duplicate them.

+ some minor style issues

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713040 13f79535-47bb-0310-9956-ffa450edef68

8 years agoreplacing own stream_set with apr_hash internally
Stefan Eissing [Thu, 5 Nov 2015 14:21:13 +0000 (14:21 +0000)]
replacing own stream_set with apr_hash internally

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712782 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAP_DECLARRE removals
Stefan Eissing [Thu, 5 Nov 2015 11:01:27 +0000 (11:01 +0000)]
AP_DECLARRE removals

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712741 13f79535-47bb-0310-9956-ffa450edef68

8 years agoremoving copy+paste, unwanted AP_DECLAREs and renamed bucket type to have h2_ prefix
Stefan Eissing [Wed, 4 Nov 2015 09:01:45 +0000 (09:01 +0000)]
removing copy+paste, unwanted AP_DECLAREs and renamed bucket type to have h2_ prefix

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712514 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRemove backported items
Christophe Jaillet [Wed, 4 Nov 2015 06:15:21 +0000 (06:15 +0000)]
Remove backported items

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712474 13f79535-47bb-0310-9956-ffa450edef68

8 years agoadd new h2_bucket_* files to cmake build
Gregg Lewis Smith [Tue, 3 Nov 2015 19:24:18 +0000 (19:24 +0000)]
add new h2_bucket_* files to cmake build

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712382 13f79535-47bb-0310-9956-ffa450edef68

8 years agoadd new h2_bucket_* files to legacy win build
Gregg Lewis Smith [Tue, 3 Nov 2015 19:08:52 +0000 (19:08 +0000)]
add new h2_bucket_* files to legacy win build

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712376 13f79535-47bb-0310-9956-ffa450edef68

8 years agorework of output handling on stream/session close, rework of cleartext (http:) output...
Stefan Eissing [Tue, 3 Nov 2015 14:33:11 +0000 (14:33 +0000)]
rework of output handling on stream/session close, rework of cleartext (http:) output to pass buckets to core filters, splitting of stream/io memory pools for stability and less sync

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712300 13f79535-47bb-0310-9956-ffa450edef68

8 years agofixing compile errors due to if assignment warnings
Stefan Eissing [Mon, 2 Nov 2015 09:14:50 +0000 (09:14 +0000)]
fixing compile errors due to if assignment warnings

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711919 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: follow up to r1710095, r1710105.
Yann Ylavic [Mon, 2 Nov 2015 08:08:25 +0000 (08:08 +0000)]
core: follow up to r1710095, r1710105.
We can do this in a single (no inner) loop, and simplify again the logic.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711902 13f79535-47bb-0310-9956-ffa450edef68

8 years agoupdate mod_ssl.html.en transformation
Kaspar Brand [Sun, 1 Nov 2015 09:46:10 +0000 (09:46 +0000)]
update mod_ssl.html.en transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711730 13f79535-47bb-0310-9956-ffa450edef68

8 years agoFor the "SSLStaplingReturnResponderErrors off" case, make sure to only
Kaspar Brand [Sun, 1 Nov 2015 09:38:31 +0000 (09:38 +0000)]
For the "SSLStaplingReturnResponderErrors off" case, make sure to only
staple responses with certificate status "good". Also avoids including
inaccurate responses when the OCSP responder is not completely up
to date in terms of the CA-issued certificates (and provides interim
"unknown" or "extended revoked" [RFC 6960] status replies).

Log a certificate status other than "good" in stapling_check_response().

Propagate the "ok" status from stapling_check_response() back via both
stapling_renew_response() and get_and_check_cached_response() to the
callback code in stapling_cb(), enabling the decision whether to include
or skip the response.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711728 13f79535-47bb-0310-9956-ffa450edef68

8 years agoFollow up to r1709008: CHANGES entry.
Yann Ylavic [Sat, 31 Oct 2015 16:17:04 +0000 (16:17 +0000)]
Follow up to r1709008: CHANGES entry.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711648 13f79535-47bb-0310-9956-ffa450edef68

8 years agoConstify + save a few bytes in conf pool
Christophe Jaillet [Fri, 30 Oct 2015 21:13:07 +0000 (21:13 +0000)]
Constify + save a few bytes in conf pool

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711553 13f79535-47bb-0310-9956-ffa450edef68

8 years agoxform
Christophe Jaillet [Fri, 30 Oct 2015 20:52:29 +0000 (20:52 +0000)]
xform

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711548 13f79535-47bb-0310-9956-ffa450edef68

8 years agoFix a typo in doc as spotted by ceving in online doc
Christophe Jaillet [Fri, 30 Oct 2015 20:29:42 +0000 (20:29 +0000)]
Fix a typo in doc as spotted by ceving in online doc

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711547 13f79535-47bb-0310-9956-ffa450edef68

8 years agoimproved h2c write performance
Stefan Eissing [Fri, 30 Oct 2015 16:15:40 +0000 (16:15 +0000)]
improved h2c write performance

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711503 13f79535-47bb-0310-9956-ffa450edef68

8 years agoFix crash in ap_mpm_pod_check call caused by NULL dereference of its parameter
Jan Kaluža [Fri, 30 Oct 2015 14:07:28 +0000 (14:07 +0000)]
Fix crash in ap_mpm_pod_check call caused by NULL dereference of its parameter
when starting httpd as single process (httpd -X).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711479 13f79535-47bb-0310-9956-ffa450edef68

8 years agofixing unbuffered output handling for h2c
Stefan Eissing [Fri, 30 Oct 2015 11:29:50 +0000 (11:29 +0000)]
fixing unbuffered output handling for h2c

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711451 13f79535-47bb-0310-9956-ffa450edef68

8 years agosome tuning of buffer/write record sizes
Stefan Eissing [Thu, 29 Oct 2015 14:38:52 +0000 (14:38 +0000)]
some tuning of buffer/write record sizes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711283 13f79535-47bb-0310-9956-ffa450edef68

8 years agoinserting needed flush buckets on master connections again, rewrite task queue for...
Stefan Eissing [Thu, 29 Oct 2015 12:20:53 +0000 (12:20 +0000)]
inserting needed flush buckets on master connections again, rewrite task queue for better mem usage and less copying

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711235 13f79535-47bb-0310-9956-ffa450edef68

8 years agoGenerated doc changes
Mike Rumph [Wed, 28 Oct 2015 18:30:44 +0000 (18:30 +0000)]
Generated doc changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711096 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdd compatibility note to mod_http2 doc
Mike Rumph [Wed, 28 Oct 2015 18:25:30 +0000 (18:25 +0000)]
Add compatibility note to mod_http2 doc

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711094 13f79535-47bb-0310-9956-ffa450edef68

8 years agoGenerated doc changes
Mike Rumph [Wed, 28 Oct 2015 18:18:46 +0000 (18:18 +0000)]
Generated doc changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711090 13f79535-47bb-0310-9956-ffa450edef68

8 years agohttp2 priority based scheduling of stream execution in each session
Stefan Eissing [Wed, 28 Oct 2015 15:53:07 +0000 (15:53 +0000)]
http2 priority based scheduling of stream execution in each session

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711044 13f79535-47bb-0310-9956-ffa450edef68

8 years agohttp2 TLS record size handling configuration, improved output write frequency
Stefan Eissing [Tue, 27 Oct 2015 14:15:56 +0000 (14:15 +0000)]
http2 TLS record size handling configuration, improved output write frequency

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710825 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRFC2616 defines #rules as:
Christophe Jaillet [Tue, 27 Oct 2015 06:45:03 +0000 (06:45 +0000)]
RFC2616 defines #rules as:
   #rule
      A construct "#" is defined, similar to "*", for defining lists of
      elements. The full form is "<n>#<m>element" indicating at least
      <n> and at most <m> elements, each separated by one or more commas
      (",") and OPTIONAL linear white space (LWS). This makes the usual
      form of lists very easy; a rule such as
         ( *LWS element *( *LWS "," *LWS element ))
      can be shown as
         1#element

It also defines Linear White Space (LWS) as:
   LWS            = [CRLF] 1*( SP | HT )

The actual implementation only accepts SP (Space) and not HT (Horizontal Tab) when parsing cache related header fields (i.e. "Vary", "Cache-Control" and "Pragma")

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710723 13f79535-47bb-0310-9956-ffa450edef68

8 years agoimprovements in stream reset handling and early stream close
Stefan Eissing [Mon, 26 Oct 2015 15:10:22 +0000 (15:10 +0000)]
improvements in stream reset handling and early stream close

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710616 13f79535-47bb-0310-9956-ffa450edef68

8 years agofix for null connection states
Stefan Eissing [Mon, 26 Oct 2015 13:48:13 +0000 (13:48 +0000)]
fix for null connection states

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710597 13f79535-47bb-0310-9956-ffa450edef68

8 years agoimproved timeout handling on main connection, shorter lingering close, conn_state...
Stefan Eissing [Mon, 26 Oct 2015 13:19:40 +0000 (13:19 +0000)]
improved timeout handling on main connection, shorter lingering close, conn_state set before read

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710594 13f79535-47bb-0310-9956-ffa450edef68

8 years agolowering log level for common client connection issues
Stefan Eissing [Mon, 26 Oct 2015 12:19:52 +0000 (12:19 +0000)]
lowering log level for common client connection issues

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710584 13f79535-47bb-0310-9956-ffa450edef68

8 years agofirst request on master connection only reports more preferred protocols in Upgrade...
Stefan Eissing [Mon, 26 Oct 2015 12:15:43 +0000 (12:15 +0000)]
first request on master connection only reports more preferred protocols in Upgrade header

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710583 13f79535-47bb-0310-9956-ffa450edef68

8 years agodisabling protocol upgrades on slave connections
Stefan Eissing [Mon, 26 Oct 2015 11:27:08 +0000 (11:27 +0000)]
disabling protocol upgrades on slave connections

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710572 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRemove more backported items from trunk CHANGES.
Rainer Jung [Sun, 25 Oct 2015 12:20:53 +0000 (12:20 +0000)]
Remove more backported items from trunk CHANGES.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710437 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRemove backported items.
Rainer Jung [Sun, 25 Oct 2015 12:11:04 +0000 (12:11 +0000)]
Remove backported items.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710436 13f79535-47bb-0310-9956-ffa450edef68

8 years agofixing compilation issue for older platform
Stefan Eissing [Sun, 25 Oct 2015 09:30:51 +0000 (09:30 +0000)]
fixing compilation issue for older platform

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710419 13f79535-47bb-0310-9956-ffa450edef68

8 years agoblock bcrypt on EBCDIC -- lots of ascii-isms in apr-util's bcrypt.
Eric Covener [Sat, 24 Oct 2015 23:37:10 +0000 (23:37 +0000)]
block bcrypt on EBCDIC -- lots of ascii-isms in apr-util's bcrypt.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710403 13f79535-47bb-0310-9956-ffa450edef68

8 years agofollowup to r1710380 -- refactored name and didn't have 'make depend'
Eric Covener [Sat, 24 Oct 2015 21:34:52 +0000 (21:34 +0000)]
followup to r1710380 -- refactored name and didn't have 'make depend'

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710391 13f79535-47bb-0310-9956-ffa450edef68

8 years agoMake the fix for fully qualifying REDIRECT_URL from PR#57785 opt-in.
Eric Covener [Sat, 24 Oct 2015 19:13:16 +0000 (19:13 +0000)]
Make the fix for fully qualifying REDIRECT_URL from PR#57785 opt-in.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710380 13f79535-47bb-0310-9956-ffa450edef68

8 years agoannounce protocol choices on first request
Stefan Eissing [Fri, 23 Oct 2015 15:14:50 +0000 (15:14 +0000)]
announce protocol choices on first request

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710231 13f79535-47bb-0310-9956-ffa450edef68

8 years agoimprovements in http2 connection and worker shutdown, hopefully addressing high load...
Stefan Eissing [Fri, 23 Oct 2015 11:54:41 +0000 (11:54 +0000)]
improvements in http2 connection and worker shutdown, hopefully addressing high load segfaults

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710185 13f79535-47bb-0310-9956-ffa450edef68

8 years agochangelog update re r1709995
Stefan Eissing [Fri, 23 Oct 2015 08:38:24 +0000 (08:38 +0000)]
changelog update re r1709995

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710141 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: follow up to r1710095.
Yann Ylavic [Thu, 22 Oct 2015 21:19:52 +0000 (21:19 +0000)]
core: follow up to r1710095.
Simplify logic in check_pipeline(), and log unexpected errors.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710105 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: Limit to ten the number of tolerated empty lines between request,
Yann Ylavic [Thu, 22 Oct 2015 20:26:12 +0000 (20:26 +0000)]
core: Limit to ten the number of tolerated empty lines between request,
and consume them before the pipelining check to avoid possible response
delay when reading the next request without flushing.

Before this commit, the maximum number of empty lines was the same as
configured LimitRequestFields, defaulting to 100, which was way too much.
We now use a fixed/hard limit of 10 (DEFAULT_LIMIT_BLANK_LINES).

check_pipeline() is changed to check for (up to the limit) and comsume the
trailing [CR]LFs so that they won't be interpreted as pipelined requests,
otherwise we would block on the next read without flushing data, and hence
possibly delay pending response(s) until the next/real request comes in or
the keepalive timeout expires.

Finally, when the maximum number of empty line is reached in
read_request_line(), or that request line does not contains at least a method
and an (valid) URI, we can fail early and avoid some failure detected in
further processing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710095 13f79535-47bb-0310-9956-ffa450edef68

8 years agomod_http2: no longer messing with mod_ssl config in slave connections, special RST_ST...
Stefan Eissing [Thu, 22 Oct 2015 13:23:28 +0000 (13:23 +0000)]
mod_http2: no longer messing with mod_ssl config in slave connections, special RST_STREAM failures when 403 responses are due to prohibited TLS renegotiations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710014 13f79535-47bb-0310-9956-ffa450edef68

8 years agomod_ssl: check request-server for TLS settings compatible to handshake server, allow...
Stefan Eissing [Thu, 22 Oct 2015 11:36:22 +0000 (11:36 +0000)]
mod_ssl: check request-server for TLS settings compatible to handshake server, allow request if equal, renegotiation checks: remember last used cipher_suite for optimizations, deny any regnegotiation in presence of master connection

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709995 13f79535-47bb-0310-9956-ffa450edef68

8 years agomoved ssl handshake trigger from mod_http2 to new process_connection hook in mod_ssl
Stefan Eissing [Tue, 20 Oct 2015 14:13:06 +0000 (14:13 +0000)]
moved ssl handshake trigger from mod_http2 to new process_connection hook in mod_ssl

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709602 13f79535-47bb-0310-9956-ffa450edef68

8 years agoBump version for the expression parser SSL fix.
Graham Leggett [Tue, 20 Oct 2015 14:02:16 +0000 (14:02 +0000)]
Bump version for the expression parser SSL fix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709596 13f79535-47bb-0310-9956-ffa450edef68

8 years agonew ap_is_allowed_protocol() for testing configured protocols, added H2Upgrade on...
Stefan Eissing [Tue, 20 Oct 2015 13:42:23 +0000 (13:42 +0000)]
new ap_is_allowed_protocol() for testing configured protocols, added H2Upgrade on/off directive, changed H2Direct default back to on when h2c is in Protocols

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709587 13f79535-47bb-0310-9956-ffa450edef68

8 years agoRebuil.
Lucien Gentis [Sat, 17 Oct 2015 14:07:20 +0000 (14:07 +0000)]
Rebuil.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709173 13f79535-47bb-0310-9956-ffa450edef68

8 years agoXML update.
Lucien Gentis [Sat, 17 Oct 2015 14:06:27 +0000 (14:06 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709172 13f79535-47bb-0310-9956-ffa450edef68

8 years agomod_session: Introduce SessionExpiryUpdateInterval which allows to
Yann Ylavic [Fri, 16 Oct 2015 22:36:17 +0000 (22:36 +0000)]
mod_session: Introduce SessionExpiryUpdateInterval which allows to
configure the session/cookie expiry's update interval. PR 57300.

Submitted by: Paul Spangler <paul.spangler ni.com>
Reviewed/Committed by: ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709121 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: fix scoreboard alignment issues and crash (SIGBUS) on picky hardware.
Yann Ylavic [Fri, 16 Oct 2015 14:17:26 +0000 (14:17 +0000)]
core: fix scoreboard alignment issues and crash (SIGBUS) on picky hardware.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1709008 13f79535-47bb-0310-9956-ffa450edef68

8 years agochanged H2Compliance to H2ModernTLSOnly, added description in module docs
Stefan Eissing [Thu, 15 Oct 2015 13:14:37 +0000 (13:14 +0000)]
changed H2Compliance to H2ModernTLSOnly, added description in module docs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708815 13f79535-47bb-0310-9956-ffa450edef68

8 years agomod_http2: new directive H2Compliance on/off, checking TLS protocol and cipher agains...
Stefan Eissing [Wed, 14 Oct 2015 12:10:11 +0000 (12:10 +0000)]
mod_http2: new directive H2Compliance on/off, checking TLS protocol and cipher against RFC7540

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708593 13f79535-47bb-0310-9956-ffa450edef68

8 years agowe no longer provide .msi installers for Windows
Gregg Lewis Smith [Wed, 14 Oct 2015 02:24:17 +0000 (02:24 +0000)]
we no longer provide .msi installers for Windows

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708543 13f79535-47bb-0310-9956-ffa450edef68

8 years agobuild doc
Christophe Jaillet [Tue, 13 Oct 2015 21:24:28 +0000 (21:24 +0000)]
build doc

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708516 13f79535-47bb-0310-9956-ffa450edef68

8 years agoAdd version when http2 has been included
Christophe Jaillet [Tue, 13 Oct 2015 21:20:22 +0000 (21:20 +0000)]
Add version when http2 has been included

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708515 13f79535-47bb-0310-9956-ffa450edef68

8 years agoshowing HTTP/2 in access logs and server status
Stefan Eissing [Tue, 13 Oct 2015 10:25:17 +0000 (10:25 +0000)]
showing HTTP/2 in access logs and server status

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708319 13f79535-47bb-0310-9956-ffa450edef68

8 years agoupdate transformation
André Malo [Mon, 12 Oct 2015 18:33:55 +0000 (18:33 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708194 13f79535-47bb-0310-9956-ffa450edef68

8 years agowhen stream gets reset by client, forward info to mplx and fail writes
Stefan Eissing [Mon, 12 Oct 2015 14:14:36 +0000 (14:14 +0000)]
when stream gets reset by client, forward info to mplx and fail writes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708124 13f79535-47bb-0310-9956-ffa450edef68

8 years agomod_ssl: performing protocol switch directly after ALPN selection, mod_http2: connect...
Stefan Eissing [Mon, 12 Oct 2015 13:13:45 +0000 (13:13 +0000)]
mod_ssl: performing protocol switch directly after ALPN selection, mod_http2: connection hook inits network filters to force TLS handshake, reads input only if H2Direct explicitly enabled, changes H2Direct default to off even for cleartext connections

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708107 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: follow up to r1708084.
Yann Ylavic [Mon, 12 Oct 2015 11:57:42 +0000 (11:57 +0000)]
core: follow up to r1708084.
We don't want to process the subrequest either in ap_sub_req_method_uri()
if the quick-handler returned an error (or any final status).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708095 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: follow up to r1708084,1708088: remove tabs.
Yann Ylavic [Mon, 12 Oct 2015 11:05:18 +0000 (11:05 +0000)]
core: follow up to r1708084,1708088: remove tabs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708090 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: follow up to r1708084: we still need to take care of DONE in any case.
Yann Ylavic [Mon, 12 Oct 2015 11:04:02 +0000 (11:04 +0000)]
core: follow up to r1708084: we still need to take care of DONE in any case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708088 13f79535-47bb-0310-9956-ffa450edef68

8 years agocore: we don't want to run the subrequest's handler if the
Yann Ylavic [Mon, 12 Oct 2015 10:56:12 +0000 (10:56 +0000)]
core: we don't want to run the subrequest's handler if the
quick-handler returned an error (or any final status).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708084 13f79535-47bb-0310-9956-ffa450edef68