Skip to content

Chore / Fix http parser import#1

Merged
iusztin merged 1 commit intoversion-0.6from
fix/http-parser-import
Mar 29, 2023
Merged

Chore / Fix http parser import#1
iusztin merged 1 commit intoversion-0.6from
fix/http-parser-import

Conversation

@masonlouchart
Copy link
Collaborator

@masonlouchart masonlouchart commented Mar 29, 2023

In order to improve performance and reduce costs we decided to upgrade from Ruby v2 to Ruby v3 on the CBK project. CBK project is using the invoker gem, which is a bit old and depends on http-parser-lite. Unfortunately, http-parser-lite is pretty old too, and is not compatible with Ruby v3 as is. There is an issue with executable import.

See the investigation on Slack: https://newrope.slack.com/archives/C02S08WDQ/p1679976577729379?thread_ts=1679297062.851219&cid=C02S08WDQ.

@masonlouchart masonlouchart requested a review from iusztin March 29, 2023 07:07
@masonlouchart
Copy link
Collaborator Author

This PR is ready to be reviewed. Please take a look.

Copy link
Member

@iusztin iusztin left a comment

Choose a reason for hiding this comment

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

Thank you :) I could run Invoker on CBK after using the change from this PR like:

diff --git a/Gemfile.local b/Gemfile.local
index 4d54b24ed..561c99f1b 100644
--- a/Gemfile.local
+++ b/Gemfile.local
@@ -4,3 +4,4 @@ source 'https://rubygems.org'

 # server launcher
 gem 'invoker'
+gem 'http-parser-lite', git: 'https://github.com/NEWROPE/http-parser-lite', ref: '516844c74a1e69979f45d5a95a4494256081e921'

LGTM! 🎉

@iusztin iusztin merged commit 609a6a1 into version-0.6 Mar 29, 2023
@masonlouchart masonlouchart deleted the fix/http-parser-import branch March 30, 2023 04:27
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