Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2822

Content-Length calculation issue.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4
    • None
    • Basic Architecture

    Description

      While 99.99999% the axis is working perfectly, when trying to send a request of 1.500.000 bytes approximately, the server fails to acknowledge it. While trying to send the same request a few times in a row, it is always sent with different content-length.

      The element's indexes in the xml file we sent may differ each time, but the actual data are always the same. For example:

      1st time we transmit:

      <a>
      <name>blabla</name>
      </a>
      <a>
      <name>gluglu</name>
      </a>

      The 2nd time we transmit may be found like this:

      <a>
      <name>gluglu</name>
      </a>
      <a>
      <name>blabla</name>
      </a>

      By using a packet sniffer on the server side we can see that our request is successfully transmitted. The soap request is reassembled through the packets recieved and the request body is checked against an xml parser which reveals that everything is ok with the xml data pasted in it.

      This xml body is different each time, but the length of the body should be the same (I'm not 100% sure on this and I may be missing something essential here).

      Another fact is that, the content-length parameter could say for example that the content-length is 1.456.321 bytes, but the number of packets size summed together for the specific communication is 1.255.456 or it could be slightly above the content-length which is not correct since there are definetely more data in communication which should increase the bytes sent in the communication much above the content-length.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vbledar Vasili Bledar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: