Forum Discussion

Joe_Hsy_45207's avatar
Joe_Hsy_45207
Icon for Nimbostratus rankNimbostratus
Feb 13, 2007

missing HTTP_RESPONSE_DATA when Web Accelerator is enabled

 

Hi,

 

 

We've written a custom iRule based on the anti-phishing iRule posted on DevCentral (very helpful, BTW) to inject some custom HTML content and it is working well. However, we ran into an issue when running this iRule against a Virtual Server that has web accelerator. The issue we saw (from debug log entries) is that the HTTP_RESPONSE_DATA section seems not to fire.

 

 

In talking to an SE, it was suggested that this could be due to the fact that Web Accelerator crates a "hidden" virtual server. Has anyone run into this? Has anyone gotten the anti-phishing iRule to work with Web Accelerator turned on?

 

 

Much thanks!

 

 

//Joe
  •  

    Hi Colin,

     

     

    Here is a update in case you were' tracking this:

     

     

    So the mystery has been solved, but the issue turns out to be completely different than expected. After much experimentation and luck, I was able to get the CreditCardScrubber iRule working against the test chunking site by change the HTTP::collect parameter from the default 4294967295 (4+ gigs) to an apparently more manageable 1000000000 (1 gig).

     

     

    I don't know for sure why, but I suspect that some memory allocation is failing with the larger collect parameter. I went to 3 gig and was able to see intermittent failures to get HTTP_RESPONSE_DATA. I found 2 gig to be very consisten in being successful, but set it at 1 gig to be safe. Unlikely any HTML page will be 1 gig in size in any case.

     

     

    I will also post a separate message that better describes the core issue.

     

     

    Thanks again for your help!

     

     

    //Joe