Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v3.x) perf: only check for isEssence once in RegExp for content-type-parser (#4481) #4497

Merged
merged 1 commit into from Jan 6, 2023

Conversation

climba03003
Copy link
Member

Backport #4481

Checklist

@climba03003
Copy link
Member Author

The error is about the generating certificate for https and http2 test.
No idea why it will fail suddenly.

@Uzlopak
Copy link
Contributor

Uzlopak commented Jan 5, 2023

Well the tests fail because of node not passing the legacy flag to openssl or so.

@climba03003
Copy link
Member Author

Well the tests fail because of node not passing the legacy flag to openssl or so.

Then, I curios why the same script pass on main?

@Uzlopak
Copy link
Contributor

Uzlopak commented Jan 5, 2023

v4 uses the package self-cert. v3 uses pem.

The maintainer of pem already merged a fix long time ago into the repo, but never published on npm. In order to get it to work, we probably need to also replace pem with self-cert.

@climba03003
Copy link
Member Author

main did use self-sign.
Hmm, maybe I mess up when checking different branches.

@jsumners
Copy link
Member

jsumners commented Jan 5, 2023

main did use self-sign. Hmm, maybe I mess up when checking different branches.

The 3.x branch is still using pem --

"pem": "^1.14.4",

#3711 should be backported to 3.x

@climba03003 climba03003 added the v3.x Issue or pr related to Fastify v3 label Jan 5, 2023
@Eomm
Copy link
Member

Eomm commented Jan 6, 2023

Is @fastify/core willing to bump a new v3 release?

@climba03003
Copy link
Member Author

Is https://github.com/orgs/fastify/teams/core willing to bump a new v3 release?

We still maintaining 3.x branch as LTS.
Although, bugfix or security patch are the one focusing on but shouldn't block releasing new version if we have good changes.

@mcollina
Copy link
Member

mcollina commented Jan 6, 2023

yes, I'll ship one with these fixes.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

github-actions bot commented Jan 7, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
v3.x Issue or pr related to Fastify v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants