-
Notifications
You must be signed in to change notification settings - Fork 91
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
Disabling HTTP2 Upgrade #246
Comments
It is for sure a Qt6 thing, nothing else changed in KDSoap, and this is handled by QNetworkAccessManager. |
Thank you for the quick reply. |
I wonder if KDSoap shouldn't just set it to false unconditionally... I just did some googling around about SOAP and HTTP/2, and it doesn't seem to be a common combination at all. In fact the HTTP/2 FAQ says they are mostly targeting the browser use case, not APIs over HTTP. Although I guess the binary protocol would be good for performance. But whether any SOAP servers support HTTP/2 is another story... Let's just disable it for now and see if anyone requests it ;) |
That's kind of what I did temporarily. Seems to work like a charm! Thank you |
Great, that's also what I just did ;) |
I upgraded a project that was using the previous version with Qt5, as I am trying to convert my project to Qt6.
So now with KDSOAP 2, I have a problem with the target server, as I see in the header the introduction of the HTTP2 upgrade tag.
Is there a way to disable sending the upgrade offer tag? I think the server is supposed to ignore it, but it doesn't and logs it as an invalid tag (forbidden protocol upgrade to h2c).
I cannot really change the server, so is it something we can control in the library ?
Is it maybe a Qt6 thing ?
thank you
The text was updated successfully, but these errors were encountered: