h2_bucket_beam.c

Checkout Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge r1835118 from trunk:

On the trunk:

* silencing gcc uninitialized warning

* refrainning from apr_table_addn() use since pool debug assumptions are in conflict

* adding more assertions

* copy-porting changes to base64 encoding code from mod_md

Submitted by: icing

Reviewed by: icing, minfrin, jim

  1. … 8 more files in changeset.
Merge r1830562 from trunk:

On the trunk:

mod_http2: restoring the v1.10.16 keepalive timeout behavioud of mod_http2 (to be verified).

ALSO: mod_http2: adding regular memory cleanup when transferring large response bodies. This

reduces memory footprint and avoids memory exhaustion when transferring large files

on 32-bit architectures. Fixes PR 62325.

Submitted by: icing

Reviewed by: icing, ylavic, jim

  1. … 4 more files in changeset.
Merge r1828879 from trunk:

On the trunk:

mod_http2: always wake up any conditional waits when streams are aborted. Fixes race conditions where timeouts would trigger instead.

Submitted by: icing

Reviewed by: icing, jim, ylavic

  1. … 2 more files in changeset.
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1821371,1822502-1822503,1822624

  1. … 54 more files in changeset.
docco fix... correct license/copyright info

  1. … 24 more files in changeset.
On the 2.4.x branch:

Merge of r1813767 from trunk.

mod_http2: avoid unnecessary data retrieval for a trace log. Allow certain

information retrievals on null bucket beams where it makes sense.

  1. … 4 more files in changeset.
Merge r1804096, r1807238, r1809981, r1810088, r1810089 from trunk:

bumping version, removing some unused code, fixes in base64url from mod_md

On the trunk:

*) mod_http2: DoS flow control protection is less agressive as long as active tasks stay

below worker capacity. Intended to fix problems with media streaming.

On the trunk:

mod_http2: v0.10.12, removed optimization for mutex handling in bucket beams that could lead to assertion failure in edge cases.

reverting r1807238 bc not addressing the issue https://github.com/icing/mod_h2/issues/120

mod_http2: non-dev 1.10.12 for backport

Submitted by: icing

Reviewed by: icing, steffenal, ylavic

  1. … 11 more files in changeset.
Merge r1803420, r1803454, r1804090 from trunk:

mod_http2: version bump, partial fix for stream response getting stuck, see https://github.com/icing/mod_h2/issues/143

mod_http2: signalling produce IO before waiting on beam buffer to drain.

mod_http2: non-dev version for backport

Submitted by: icing

Reviewed/backported by: icing, steffenal, ylavic

  1. … 7 more files in changeset.
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1791790,1792195

  1. … 8 more files in changeset.
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1789740,1790102,1790113,1790284,1790754,1790826-1790827,1790842

  1. … 20 more files in changeset.
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1786715,1787051,1787141,1787604,1788672,1788981,1789221,1789224,1789276,1789279,1789395,1789520,1789535,1789692

  1. … 31 more files in changeset.
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1784571,1785672,1785683,1786512,1786575-1786576

mod_http2/mod_proxy_http2 backport

  1. … 17 more files in changeset.
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1784002,1784366,1784372

  1. … 8 more files in changeset.
On the 2.4.x branch:

merge of r1780598,1781304,1782875,1782944,1782958,1782975 from trunk

  1. … 22 more files in changeset.
On the 2.4.x branch:

Merge of r1779979,1780159,1780576,1780596 from trunk:

M modules/http2/h2_bucket_beam.c

fix for possible duplicate free of send/recv pools

M modules/http2/h2_from_h1.c

suppress generating responses on aborted slave connections

M modules/http2/h2_session.c

regression: stream ongoing streams on graceful shutdown to the end

M modules/http2/h2_version.h

  1. … 6 more files in changeset.
On the 2.4.x branch:

Merge r1779743,1779896,1779972 from trunk.

mod_http2: fixes PR60599, sending proper response for conditional requests

answered by mod_cache. [Jeff Wheelhouse, Stefan Eissing]

  1. … 6 more files in changeset.
On the 2.4.x branch: merge r1778630,1779459,1779525,1779528,1779738 from trunk

*) mod_http2: rework of stream resource cleanup to avoid a crash in a close

of a lingering connection. Prohibit special file bucket beaming for

shared buckets. Files sent in stream output now use the stream pool

as read buffer, reducing memory footprint of connections.

[Yann Ylavic, Stefan Eissing]

  1. … 19 more files in changeset.
On the 2.4.x branch: merge of r1701609-1705681 from trunk.

*) mod_http2: streaming of request output now reacts timely to data

from other streams becoming available. Same for new incoming requests.

  1. … 12 more files in changeset.
On the 2.4.x branch:

mod_http2: removing debug logs leftover in previous commit

* modules/http2/h2_bucket_beam.c

removed log warnings from debug session

Modified:

httpd/httpd/trunk/modules/http2/h2_bucket_beam.c

  1. … 2 more files in changeset.
On the 2.4.x branch: merge of r1775833 from trunk:

Cleanup mod_http2 beamer registry on server reload. Fixes PR60510.

* modules/http2/h2_bucket_beam.c

register cleanup function on installation that NULLs the beamer

registry on pool cleanup.

Patch by: Pavel Mateja <pavel@verotel.cz

me

  1. … 2 more files in changeset.
On the 2.4.x branch:

Merge r1775813 from trunk:

Fix mod_h2/github issue #126: correct lifetime of data sent on temp pools

* modules/http2/h2_bucket_beam.c

- ignore send pools that are sub-pools of the existing one

- added h2_beam_send_from() to allow explicit registering of the

correct pool for the sending

* modules/http2/h2_bucket_beam.h

- add prototype for h2_beam_send_from()

* modules/http2/h2_mplx.c

- adding logging of output beam state

* modules/http2/h2_stream.c

- register stream pool for sending data on input beam

* modules/http2/h2_task.c

- register task pool on output beam on creation

- adding trace logging

* modules/http2/h2_proxy_session.c

- fixing a type in a comment while we're at it

  1. … 7 more files in changeset.
Merge of r1767803 from trunk.

mod_http2: fix for beam double cleanup crashes introduced in 1.7.7

  1. … 5 more files in changeset.
Merge of r1765328,1766424,1766691,1766851 from trunk:

mod_http2: v1.7.7, connection shutdown revisited, AP_DEBUG_ASSERT transformed to real asserts

  1. … 21 more files in changeset.
Merge of r1766308 from trunk:

mod_http2: fixed potential crash in beam memory handling introduced in 1.7.x changes

  1. … 11 more files in changeset.
Merge of r1764005 from trunk:

mod_http2: reverting int->apr_uint32_t changes from 1.7.x

  1. … 24 more files in changeset.
Merge of r1763246 from trunk:

mod_http2: fixing Windows build issues by replacing hook with own implemenation

  1. … 6 more files in changeset.
Merge of 1761479,1761548,1762703,1763158 from trunk

mod_http2: rewrite of how responses and trailers are transferred between

master and slave connection. Reduction of internal states for tasks

and streams, stability. Heuristic id generation for slave connections

to better keep promise of connection ids unique at given point int time.

Fix for mod_cgid interop in high load situtations.

Fix for handling of incoming trailers when no request body is sent.

  1. … 39 more files in changeset.
Merge of 1761434,1761477 from trunk:

mod_http2: fix for output blocking race condition

  1. … 10 more files in changeset.
Merge of r1757985,r1758003 from trunk

mod_http2: fixed bug in stream shutdown, support for nghttp2 invalid header callback from 1.14.0 and onwards.

  1. … 13 more files in changeset.
Merge of 1752087,1752096,1752145,1753498,1753541 from trunk:

mod_http2: removed timeouts on master connection while reuqest are being processsed

mod_http2: new H2CopyFiles directive

  1. … 16 more files in changeset.