Solr
  1. Solr
  2. SOLR-8501

Specify the entity request size when known in HttpSolrClient.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Hide
          Mark Miller added a comment -

          New patch, fixes the string content type size calc.

          Show
          Mark Miller added a comment - New patch, fixes the string content type size calc.
          Hide
          ASF subversion and git services added a comment -

          Commit 1724612 from Mark Miller in branch 'dev/trunk'
          [ https://svn.apache.org/r1724612 ]

          SOLR-8501: Specify the entity request size when known in HttpSolrClient.

          Show
          ASF subversion and git services added a comment - Commit 1724612 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1724612 ] SOLR-8501 : Specify the entity request size when known in HttpSolrClient.
          Hide
          ASF subversion and git services added a comment -

          Commit 1724623 from Mark Miller in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1724623 ]

          SOLR-8501: Specify the entity request size when known in HttpSolrClient.

          Show
          ASF subversion and git services added a comment - Commit 1724623 from Mark Miller in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1724623 ] SOLR-8501 : Specify the entity request size when known in HttpSolrClient.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development