Skip to content

fix(aap): stop crashing on .NET runtimes by not rerouting on wrapper#803

Merged
duncanista merged 1 commit into
romain.marcadier/serverless-aap-portfrom
jordan.gonzalez/aap/disable-for-dotnet
Aug 26, 2025
Merged

fix(aap): stop crashing on .NET runtimes by not rerouting on wrapper#803
duncanista merged 1 commit into
romain.marcadier/serverless-aap-portfrom
jordan.gonzalez/aap/disable-for-dotnet

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

What?

Disable AAP for .NET runtimes, AAP and LWA won't work correctly for .NET runtimes, proxying still gets enabled, it's just not used because we don't reroute.

Motivation

Rust proxy lowercases headers based on the standard for HTTP, most runtimes don't care about this, besides .NET.

This has been fixed in aws/aws-lambda-dotnet#2094

But it's yet to be released, so the issue: aws/aws-lambda-dotnet#2093 remains open

@duncanista duncanista requested a review from a team as a code owner August 26, 2025 16:21
@duncanista duncanista merged commit f7aa81b into romain.marcadier/serverless-aap-port Aug 26, 2025
42 checks passed
@duncanista duncanista deleted the jordan.gonzalez/aap/disable-for-dotnet branch August 26, 2025 18:28
duncanista added a commit that referenced this pull request Aug 27, 2025
# What?

Fallbacks on .NET runtimes by checking the `dotnet` binary presence in
`/var/lang/bin`

# Motivation

Provide a fallback + appsec for .NET until runtime is fixed

# Notes

Reverts #803
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.

1 participant