Stefan Eissing
0be1302714
mod_http2: improved resume/response/window update handling on master connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1744712 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 11:18:37 +00:00
Christophe Jaillet
b3b5e013f7
Improve alignment
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1742445 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 16:13:43 +00:00
Stefan Eissing
9a514360b0
mod_http2: fix for partial file buckets in master connection output, flushing of output revisited, uplift of some 2.4.x compat changes on slave filters
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1742260 13f79535-47bb-0310-9956-ffa450edef68
2016-05-04 12:32:05 +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
afd1183937
mod_http2: elimination of h2_io intermediate stream instances
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740155 13f79535-47bb-0310-9956-ffa450edef68
2016-04-20 15:17:38 +00:00
Stefan Eissing
36bd5637eb
compilation fixes for VC
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740084 13f79535-47bb-0310-9956-ffa450edef68
2016-04-20 09:59:15 +00:00
Stefan Eissing
52cdae53be
mod_http2: new bucket beams for tranporting buckets across threads without buffer copy. Code cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1739303 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 13:50:46 +00:00
Stefan Eissing
aca4e6d365
mod_http2: fix for wrong handling of prefetched response bodies
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737021 13f79535-47bb-0310-9956-ffa450edef68
2016-03-29 16:54:25 +00:00
Stefan Eissing
3f9e818269
mod_http2: more effient passing of response bodies
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737006 13f79535-47bb-0310-9956-ffa450edef68
2016-03-29 13:28:18 +00:00
Stefan Eissing
07d45e357e
mod_http2: slave connections are reused
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735416 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 12:55:11 +00:00
Stefan Eissing
ba1fbba024
mod_http2: fix for bucket lifetime on master conn, mod_proxy_http2: flow control from front- to backend h2 connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1735230 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 14:01:53 +00:00
Stefan Eissing
93b8969292
sharing bucket_alloc for all streams inside mplx, explicit lifetime handling of EOR bucket and tasks
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734957 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 16:43:52 +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
069d8c1ee6
mod_proxy_http2: rescheduling of requests not processed by backend on GOAWAY
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734253 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 14:51:33 +00:00
Stefan Eissing
dce4ce7f57
mod_proxy_http2: start of some sort of flow control, mod_http2: keeping spare allocator_t for slave connections around
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732477 13f79535-47bb-0310-9956-ffa450edef68
2016-02-26 13:26:25 +00:00
Stefan Eissing
b47f895958
mod_proxy_http2: stability improvements, timeout blocking read when waiting, new entry list
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732328 13f79535-47bb-0310-9956-ffa450edef68
2016-02-25 16:19:18 +00:00
Stefan Eissing
4dbe24518a
goodbye h2_stream_set, hello h2_ihash in h2_util
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732295 13f79535-47bb-0310-9956-ffa450edef68
2016-02-25 13:14:30 +00:00
Stefan Eissing
43267df5fe
using proxy http2 connection concurrently, if main connection also uses http/2, needs more hardening
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731096 13f79535-47bb-0310-9956-ffa450edef68
2016-02-18 17:02:02 +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
Yann Ylavic
1b1d6d5da6
mod_http2: Fix warnings:
...
modules/http2/h2_util.c|174| warning: suggest parentheses around ‘+’ in operand of ‘&’
modules/http2/h2_util.c|176| warning: suggest parentheses around ‘+’ in operand of ‘&’
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726798 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 14:29:24 +00:00
Stefan Eissing
ff2c0232f8
bytes read/written on slave connections are reported to mod_logio, fixes PR 58871
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725496 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 12:42:34 +00:00
Rainer Jung
af14d158a3
Added many log numbers to log statements that
...
had none.
Those were not detected by the coccinelle script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725485 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 12:02:41 +00:00
Stefan Eissing
32ebc57fd1
log2n compilation error fix, cache digest calculation fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725262 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 13:10:27 +00:00
Stefan Eissing
17282190d0
mod_http2: push diary to avoid duplicate pushes, cache-digest handling, http2-status handler for stats about current http2 connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1724820 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 14:27:59 +00:00
Stefan Eissing
f67bcf352e
removing session flags, using state enums only, added event enums for state transitions
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1723739 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:27:39 +00:00
Stefan Eissing
b93c96a6ba
dynamic allocation of transfer file handles used to pass buckets to master connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1723069 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 13:25:48 +00:00
Stefan Eissing
7d209de21f
rewrote http2 connection state handling, fixed keepalive timeout handling for async and sync MPMs, cleaned logging, improved scoreboard updates of http2 master connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721417 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 15:52:10 +00:00
Stefan Eissing
f650f5c942
subprocess_env vars HTTP2 and H2PUSH supported, export of mod_http2.h with OPTIONALs for others to directly look these up, similar to mod_ssl
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721150 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 13:32:20 +00:00
Stefan Eissing
3244c2cd5c
removed no longer used h2_strlwr() dinosaur
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1720819 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 16:07:04 +00:00
Christophe Jaillet
ebd98a4aec
Fix some small style issues (extra blank lines, '{' at the end of function declaration)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1720647 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 20:41:29 +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
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
98c605b157
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
2015-11-07 11:22:09 +00:00
Stefan Eissing
45e7d13ba7
AP_DECLARRE removals
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1712741 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 11:01:27 +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
907d6ed5d0
improved h2c write performance
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1711503 13f79535-47bb-0310-9956-ffa450edef68
2015-10-30 16:15:40 +00:00
Stefan Eissing
8a38398cdf
ifdef'fing MMAP bucket checks for platform that do not have them
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708002 13f79535-47bb-0310-9956-ffa450edef68
2015-10-11 17:04:10 +00:00
Stefan Eissing
25b96f15f8
avoid double eos buckets on stream output brigades, add stream rst infrstructure, bump to 1.0.1-DEV
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707735 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 14:24:46 +00:00
Stefan Eissing
ee7412f8c3
improved fix for EOS checking on zero length read, bump to 1.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707497 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 11:24:11 +00:00
Stefan Eissing
7002ea1e99
reverted r1707468 as not good enough
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707479 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 11:01:12 +00:00
Stefan Eissing
058f050062
fix for empty responses with nghttp2 v1.3.x, bump version to 1.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1707468 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 10:03:30 +00:00
Stefan Eissing
ab08a1563a
eliminating some stricter compiler warnings in mod_h2
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700777 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 12:01:05 +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
Edward Lu
546bf924b3
c89-ify http2
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1692432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 19:20:09 +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