Jonathan_Scholi
Apr 28, 2011Cirrostratus
Preserving ToS over the duration of a download
We have the need to set ToS values for a video application. In order to set ToS values differently for the video and non-video that goes through the application, I created one pool with IP ToS values set to 40, and another with values left at the default. An iRule switches between the two pools:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "wmv" } {
pool tos-40-pool
if { ![LB::status up] } drop
}
}
The problem is, this doesn't work well, presumably because only the intial request contains "wmv". Is there something I can do to ensure the entire file is transferred using the appropriate ToS?