Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34867

engine S3 cause 500 error for huawei buckets

Details

    Description

      Creating S3 tables to huawei buckets cause 500 error

      Huawei vendor suggests:

      Changing the content type to "multipart/form-data."
       
       
       
      Removing the content type parameter ("application/x-www-form-urlencoded") entirely, meaning not specifying any content type in the request.
      

      It seems it is needed to set the mime type using libcurl's mime API.

      Attachments

        Issue Links

          Activity

            Two pull requests for this:

            https://github.com/mariadb-corporation/libmarias3/pull/118

            and

            https://github.com/MariaDB/server/pull/3499

            The server one will require the first one to be merged first, then updated to have a submodule update.

            In case I forget later, docs update information is in the second PR.

            TheLinuxJedi Andrew Hutchings (Inactive) added a comment - Two pull requests for this: https://github.com/mariadb-corporation/libmarias3/pull/118 and https://github.com/MariaDB/server/pull/3499 The server one will require the first one to be merged first, then updated to have a submodule update. In case I forget later, docs update information is in the second PR.

            Pull request reviewed and applied to libmarias3 and 10.6.
            libmarias3 changes pushed.
            Code in bb-10.6-monty for testing

            monty Michael Widenius added a comment - Pull request reviewed and applied to libmarias3 and 10.6. libmarias3 changes pushed. Code in bb-10.6-monty for testing

            Pushed to 10.6 tree

            monty Michael Widenius added a comment - Pushed to 10.6 tree

            People

              monty Michael Widenius
              Richard Richard Stracke
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.