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

Specify the entity request size when known in HttpSolrClient.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.5, 6.0
    • None
    • 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
          2 kB
          Mark Miller
        2. SOLR-8501.patch
          1 kB
          Mark Miller

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: