Forum Discussion

Per_Boe's avatar
Per_Boe
Icon for Nimbostratus rankNimbostratus
Aug 23, 2007

HTTP::payload rechunk -

I'm trying to write an iRule that are doing selective rechunk.

 

 

when HTTP_RESPONSE {

 

STREAM::enable

 

STREAM::expression {@http://@https://@}

 

HTTP::payload rechunk

 

}

 

 

But the followin error message are displayed when I try to save:

 

line 4: [undefined procedure: rechunk] [HTTP::payload rechunk]

 

 

From Wiki:

 

http://devcentral.f5.com/Wiki/default.aspx/iRules.HTTP__payload

 

HTTP::payload rechunk

 

Will cause the payload to be chunked on output.

 

This subcommand was added in v9.4.0, and is only valid if selective response chunking is being used.

 

 

I am using version 9.4.1

 

 

Anyone else have an idea how to do selective rechunk?

 

 

Per

 

 

5 Replies

  • I would expect the command to exist regardless of this, but have you configured Chunking on your HTTP profile to Selective?

     

     

    Aaron
  • I have created a profile with selective chunking and modified the Virtual server to use this http Profile. The Virtual Server is also using an iRule with only a log statement.

     

     

    when HTTP_RESPONSE {

     

    log local0. "HTTP Response"

     

    HTTP::payload rechunk

     

    }

     

     

    Error message "[undefined procedure: rechunk] [HTTP::payload rechunk]" is still displayed when I add "HTTP::payload rechunk" to the iRule.

     

     

    Per

     

     

  • I saw the same error on 9.4.1 for 'HTTP::payload rechunk' and 'unchunk'. I would guess the wiki docs are a bit ahead of the code? Perhaps someone with access to the code could check this out? Else, support could probably help get more info.

     

     

    Aaron
  • spark_86682's avatar
    spark_86682
    Historic F5 Account
    Heh. Well, I've been updating selected portions of the wiki docs based on the code.

     

     

    I've verified that this doesn't work, even though it should; all of the necessary pieces are there, but I guess they're not linked together in exactly the right way. I've created CR85181 to track the issue.
  • Thanks for the update and for verifing the "HTTP::payload rechunk" command.

     

     

    Per