Forum Discussion
Ian_Upton_39258
Nimbostratus
Aug 27, 2008Modifying HTTP Version
We have just implemented a F5 based solution and have encountered a problem where SSL based transactions via a proxy just hung. Tracked down to IE 6 (HTTPM settings) HTTP version 1.0, something odd in...
hoolio
Cirrostratus
Aug 27, 2008Hi Ian, 
Can you try using HTTP::version "1.0" (Click here) to modify the version? Something like this...?
 
 when HTTP_REQUEST { 
     Reset the variable tracking whether to update the HTTP version to 1.0 
    set update_version 0 
  
     If client request is 1.0, update the LTM to server version to 1.1  
       and track that we need reset the clientside response to 1.0 
    if { [HTTP::version] eq "1.0" }{ 
       set update_version 1 
       HTTP::version 1.1 
    } 
 } 
 when HTTP_RESPONSE { 
  
     Check if the request was 1.0 and reset the response to 1.0 
    if { $update_version }{ 
       HTTP::version 1.0 
    } 
 } 
  
You might also need to account for the Connection header in responses as it's not valid for HTTP 1.0. I imagine you could just remove the Connection header (HTTP::header remove Connection), but this is something you should ideally test.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects