Skip to content

feat: add the option to enable HTTP/2 option for function apps#1592

Merged
rfk-nc merged 2 commits intomainfrom
feat/DTOSS-8143-enable-http2-for-fnapps
Sep 4, 2025
Merged

feat: add the option to enable HTTP/2 option for function apps#1592
rfk-nc merged 2 commits intomainfrom
feat/DTOSS-8143-enable-http2-for-fnapps

Conversation

@MacMur85
Copy link
Copy Markdown
Contributor

@MacMur85 MacMur85 commented Sep 3, 2025

Description

Adding the http2_enabled configuration option for Function Apps to enable the HTTP/2.
Currently set to true for development and sandbox, false for all other environments.

Major benefits of implementing HTTP/2 are:

  • improved performance,
  • enhanced security,
  • reduced latency

Context

More information on the HTTP/2 itself available here.
A quick TL;DR:

HTTP/2 is a rework of how HTTP semantics flow over TCP connections, and HTTP/2 support is present in Windows 10 and Windows Server 2016. 
HTTP/2 is a major upgrade after nearly two decades of HTTP/1.1 use and reduces the impact of latency and connection load on web servers.

The major advance of HTTP/1.1 was the use of persistent connections to service multiple requests in a row. In HTTP/2, a persistent connection can be used to service multiple simultaneous requests.
In the process, HTTP/2 introduces several additional features that improve the efficiency of HTTP over the network.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 3, 2025

Unit Test Results

✔️ Tests 777 / 777 - passed in 63.5s
📝 Coverage 56.94%
📏 4285 / 7411 lines covered 🌿 1055 / 1968 branches covered
🔍 click here for more details

✏️ updated for commit 2612617

@MacMur85 MacMur85 force-pushed the feat/DTOSS-8143-enable-http2-for-fnapps branch from f3cb6f7 to d557919 Compare September 3, 2025 18:51
@MacMur85 MacMur85 changed the title feat: add the option to enable http2 option for function apps feat: add the option to enable HTTP/2 option for function apps Sep 3, 2025
@MacMur85 MacMur85 force-pushed the feat/DTOSS-8143-enable-http2-for-fnapps branch from d557919 to a27234c Compare September 4, 2025 08:12
@MacMur85 MacMur85 force-pushed the feat/DTOSS-8143-enable-http2-for-fnapps branch from 7eff7b0 to 8f69f2b Compare September 4, 2025 09:19
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Sep 4, 2025

@rfk-nc rfk-nc added this pull request to the merge queue Sep 4, 2025
Merged via the queue into main with commit 736a158 Sep 4, 2025
65 checks passed
@rfk-nc rfk-nc deleted the feat/DTOSS-8143-enable-http2-for-fnapps branch September 4, 2025 13:34
stephhou pushed a commit that referenced this pull request Sep 5, 2025
* feat: add the option to enable http2 for function apps, false by default, true in dev and sbx

* chore: updating the templates commit hash reference to include http2-ready fnapp module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants