Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8501

Specify the entity request size when known in HttpSolrClient.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      We currently always pass -1 and used chunked encoding. This seems wasteful? Chunked encoding has overhead and we generally know the sizes. Seems like it would be preferable to set the entity size and trigger the Content-Size: header.

        Attachments

        1. SOLR-8501.patch
          1 kB
          Mark Miller
        2. SOLR-8501.patch
          2 kB
          Mark Miller

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                markrmiller@gmail.com Mark Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: