Forum Discussion

ooby's avatar
ooby
Icon for Nimbostratus rankNimbostratus
Sep 17, 2018

HTTP profile and UTF

Hi, We've come across a problem that we can't solve, hoping someone can help us. Basically, when we apply a HTTP profile to a virtual server then the response we get back from the application server is truncated (it's a file download and the file isn't complete). It seems to be if there are UTF characters in the response. We need to have a HTTP profile as we put some information in a header and also do some re-directs at places. We've tried all the options in the HTTP profile but can't seem to work out what is causing this behaviour - has anyone had this problem before?

 

2 Replies

  • I don't think the problem is related with UTF, as that is just a character encoding.

     

    When you add an HTTP profile, the F5 behaviour changes, see this link:

     

    https://support.f5.com/csp/article/K8082

     

    The trick is finding what behaviour in the HTTP profile is causing the problem.

     

    I would start looking at the chunking options.

     

    Do you have any iRule doing data collection?

     

    The easiest way to look this is using the browser developer tools.

     

    Compare the content with and without HTTP profile, to find out what changes.

     

    If you don't find that way, you will need tcpdump and decrypt SSL stuff (if uses SSL).

     

  • Try this:

    tmsh modify sys db tmm.http.passthru.invalid_content_length value enable