Rechunk profile and string replacement -> pages truncated

Hi,

I’ve created an Irule which deals with many string replacement within HTTP_RESPONSE on a re-chunk profile virtual server. We are using BIG-IP 9.3.1 Build 37.1.

It seems working for us but for some of our customers, they got pages truncated. I do not know the reason why but I think the issue may come from the transfer-encoding set to chunked but I’m not sure.

Here is my irule

when HTTP_REQUEST {

set host [HTTP::host]

}

when HTTP_RESPONSE {

if {[HTTP::status] == 200 and [HTTP::header “Content-Type”] contains “text”} {

if {$host ends_with “.foo.com”}

{

STREAM::expression {@‘/xxx/@’/yyy/@ @‘/zzz@’/uuu@}

STREAM::enable

}

}

}

If you have any idea where is the issue or if I have misconfigured some parameters, thank in advance for your help.

Regards,

Nicolas

Hi Nicolas,

If you’ve already enabled rechunking and you still see the problem, I’d suggest opening a case with F5 Support (). It would help to provide a tcpdump on each VLAN of a successful request/response and one which shows the failure.

Aaron