1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

89 Commits

Author SHA1 Message Date
Stefan Eissing
29d1681025 mod_http2: proper parsing and forwarding of multiple or unnaounce 1xx responses
mod_proxy_http2: improved robustness when main connection gets aborted


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1767553 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 19:40:37 +00:00
Stefan Eissing
fc770710e1 mod_http2/mod_proxy_http2: proper 100-continue handling up to backend, more robustness on connection reuse with PING frames
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1765318 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 15:52:01 +00:00
Stefan Eissing
2d12cf2d7a various fixes, mod_cgid interop, response/trailer forwarding rewritten, stability
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1763158 13f79535-47bb-0310-9956-ffa450edef68
2016-10-03 11:47:45 +00:00
Stefan Eissing
08df710604 mod_http2: more const goodiness and checks on h2 request creation, less NULL checking while processing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1759547 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 06:44:16 +00:00
Jim Jagielski
c4aff791d3 Without AP_DEBUG_ASSERT, these could still be NULL during runtime
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758446 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 19:23:56 +00:00
Stefan Eissing
8b0d436788 mod_http2: support for intermediate responses
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755323 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 13:48:16 +00:00
Stefan Eissing
55f94ec98c mod_http2: rewrote TLS buffering on master connection
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1742005 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 16:39:42 +00:00
Stefan Eissing
824121f7f9 mod_http2/mod_proxy_http2: no longer reusing h2_request.o for proxy module
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741596 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 09:35:18 +00:00
Stefan Eissing
83099f1329 changing r->protocol to HTTP/2.0 for HTTP/2 requests, fixes PR 59313
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740108 13f79535-47bb-0310-9956-ffa450edef68
2016-04-20 11:02:54 +00:00
Stefan Eissing
2d48b40a1d reduced h2_request initialization/copy after review by CJ
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1738563 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 10:17:28 +00:00
Stefan Eissing
42cc4efc74 mod_http2: new vars, keepalive increase, no slave reuse when con->keepalive not set properly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737125 13f79535-47bb-0310-9956-ffa450edef68
2016-03-30 15:35:58 +00:00
Stefan Eissing
aca09955d1 APLOGNO tagging
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735930 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 09:17:13 +00:00
Stefan Eissing
b76ba37de1 mod_http2: allowing requests without :authority header
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734910 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 10:48:54 +00:00
Stefan Eissing
28777fa091 mod_proxy_http2: stability improvements
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734097 13f79535-47bb-0310-9956-ffa450edef68
2016-03-08 14:22:34 +00:00
Graham Leggett
56a1aecacc core: Split ap_create_request() from ap_read_request()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734009 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 23:55:08 +00:00
Stefan Eissing
ebd03293e6 mod_http2: support for several different request engines per connection, fixes CVE-2016-1546
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1733727 13f79535-47bb-0310-9956-ffa450edef68
2016-03-05 15:45:12 +00:00
Stefan Eissing
c828bbc586 mod_http2: some DoS protection, fix for read after free
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1733113 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 17:19:25 +00:00
Stefan Eissing
3a6f891bdd task pools have their h2_io pools as ancestors, some code cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731259 13f79535-47bb-0310-9956-ffa450edef68
2016-02-19 15:52:27 +00:00
Stefan Eissing
3567f9f7c6 new experimental http2 proxy module for h2: and h2c: proxy urls
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729209 13f79535-47bb-0310-9956-ffa450edef68
2016-02-08 16:53:45 +00:00
Christophe Jaillet
7c55823868 Remove now useless cast.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728744 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 22:21:40 +00:00
Rainer Jung
44ce30494e Added many log numbers to log statements that
had none.

Handled all files in modules/.

I used the coccinelle script provided by Stefan.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725392 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 00:03:18 +00:00
Stefan Eissing
93c609224e fixed segfault in connection shutdown, added accept-push-policy support
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721547 13f79535-47bb-0310-9956-ffa450edef68
2015-12-23 14:50:54 +00:00
Stefan Eissing
483c9dd060 byte savings by using bit fields, new env vars HTTP2 and H2PUSH, set to on when enabled on request
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721121 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 10:54:38 +00:00
Stefan Eissing
f871d0aeed fixing default port handling in authority composition for upgraded requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1718314 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 11:45:43 +00:00
Stefan Eissing
ef14549031 new directive H2PushPriority to define content-type based priorities on server pushed resources
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1716388 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 13:26:31 +00:00
Stefan Eissing
98a612bb81 start of PUSH priority handling, fixing core when task produces no response at all
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1716146 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 14:21:26 +00:00
Stefan Eissing
a41cbc4dcd 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
2015-11-20 13:58:32 +00:00
Stefan Eissing
d044bee78e 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
2015-11-19 14:04:30 +00:00
Stefan Eissing
83f29ab6d1 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
2015-11-17 10:26:38 +00:00
Stefan Eissing
b11e0a5285 fixing h2c scheme/authority initialization
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1714557 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 11:23:38 +00:00
Stefan Eissing
364b3f79c4 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
2015-11-13 14:54:15 +00:00
Stefan Eissing
62e2350bcb some rework for server push
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1713887 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 16:40:18 +00:00
Stefan Eissing
0b107b1c46 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
2015-11-03 14:33:11 +00:00
Stefan Eissing
2c5662ff2b replacing strchr on const char * by proper ap_ variants
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1696607 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 14:55:26 +00:00
Stefan Eissing
c5b0b54de9 mod_h2 compiles warning free in maintainer-mode
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1696592 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 14:13:49 +00:00
Stefan Eissing
e005a156f4 creating ap_array_index in util, forwarding scheme into request processing, enabling SSL vars only when scheme is not http:, delayed connection creation until task worker assignment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1696428 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 14:33:55 +00:00
Stefan Eissing
b9ba839d50 new Protocols directive and core API changes to enable protocol switching on HTTP Upgrade or ALPN, implemented in mod_ssl and mod_h2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1692486 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 12:09:44 +00:00
Jean-Frederic Clere
867e69cc24 Arrange the C++ declarations to make my compiler happy.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1691592 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 15:46:19 +00:00
Stefan Eissing
8c27a4cd1b reworked mod_h2 donation checkin into build system, added documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1690248 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 11:45:46 +00:00