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

reuse curl handler #298

Merged
merged 3 commits into from
Apr 6, 2019
Merged

Conversation

jenschude
Copy link
Contributor

@jenschude jenschude commented Apr 5, 2019

What

Reuses the curl connection handle in the lambda runtime.

Why

curl_init creates always a new connection. As we are constantly talking to the same server this could be avoided. This will save some milliseconds on each recurring invocation.

@mnapoli mnapoli merged commit 6ee39dd into brefphp:master Apr 6, 2019
@mnapoli
Copy link
Member

mnapoli commented Apr 6, 2019

Thanks!

@jenschude jenschude deleted the runtime_reuse_handler branch April 11, 2019 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants