Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 16, 2025

Improvement thanks to

Makes sure that calling attrs(RequestAttrKey.Id) always returns an id, even if the request was rejected by the server backend (before Play parses any headers to set the cookies, etc.)

final def id: Long = attrs(RequestAttrKey.Id)

Also in the light of

it makes a lot of sense to generate and set the request id as early as possible as #13204 will include a timestamp in the id.


This is an automatic backport of pull request #13409 done by [Mergify](https://mergify.com).

(cherry picked from commit 1d3ec77)
@mergify

This comment was marked as resolved.

(cherry picked from commit f4b9316)

# Conflicts:
#	transport/server/play-netty-server/src/main/scala/play/core/server/netty/NettyModelConversion.scala
@mkurz mkurz force-pushed the mergify/bp/2.9.x/pr-13409 branch from b9a9db5 to 94093e9 Compare July 16, 2025 10:37
@mergify mergify bot merged commit 85db056 into 2.9.x Jul 16, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.9.x/pr-13409 branch July 16, 2025 10:58
@mkurz mkurz added this to the 2.9.9 milestone Sep 11, 2025
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