Closed jeromegamez closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.10%. Comparing base (
c2bfad3
) to head (3dcd1c4
).
@Daniel-Cong @david-windsock I started with doing the 'CURL_HTTP_VERSION_2*
constant check - even though we already know that this doesn't seem to be the problem, according to several comments in #888. Please test the PR anyway, so we can work towards finding the real culprit.
@rickclephas @tonysilva16 @woodongwong Since you participated in #874, I'd greatly appreciate if you could follow this PR and test it, to make sure nothing breaks for you (break = the performance gain is gone). Thank you!
Thanks @jeromegamez, will try to test it on monday.
Upon further research, I stumbled upon https://github.com/microsoftgraph/msgraph-sdk-php/issues/854 and https://github.com/microsoftgraph/msgraph-sdk-php/pull/1120
I will implement this, let's hope that this is the way to check for HTTP/2 support 🤞🏻
But based on the changes I am not expecting this to break our implementation/performance 👍🏻.
To confirm this I have tested the environmentSupportsHTTP2
function in our project,
and it correctly returns true
in our Google App Engine environment.
Upon further research, I stumbled upon microsoftgraph/msgraph-sdk-php#854 and microsoftgraph/msgraph-sdk-php#1120
I will implement this, let's hope that this is the way to check for HTTP/2 support 🤞🏻
We tested it on our CentOS server and worked without problem. We faked the composer dependency to use this branch as the 7.9.1 version that is working for us and the notifications are sent OK, without any change on our code.
Thanks for your quick response!
That's great to hear, thank you for the feedback! 🙏🏻
I will merge this later and create a new release.
It's still curious - some have tried just commenting out the $request = $request->withProtocolVersion('2.0');
line and it didn't seem to have worked for them. Let's hope for the best 😅
Thanks @jeromegamez!
Fixes #888