-
Notifications
You must be signed in to change notification settings - Fork 169
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
Add test to handle redirects in CURL test transport and add a redirect test run #8008
Comments
➤ PM Bot commented: Jira ticket: RCORE-2252 |
➤ michael-wb commented: I just discovered that CURL does not send the For most situations, the client app will not encounter this situation, since the location endpoint is requested prior to sending the first app services request after the app was started. This particular situation could happen if the deployment model was changed while the client app was running and the app requested an access token refresh. Fortunately, the user was automatically logged out when the deployment model was changed, so the user would need to log in again anyways. A potential fix for this would be to always query the location prior to performing a login, which will help ensure the client app has the appropriate base URL for the server, since the location response always includes the most up to date information for the server host and websocket host URLs for accessing the cloud app. |
➤ michael-wb commented: Example wireshark capture of request packets and their responses
Redirect response:
Request to redirected location URL:
Response from redirect location URL:
|
Update the CURL lib driver (
do_http_request()
) so it handles redirects and either add a new test run that forces redirects to happen or updates the existing "Ubuntu (Baas Redirector Enabled)" and "Ubuntu (Code Coverage)" test runs to also perform App Services redirects during the tests.The text was updated successfully, but these errors were encountered: