Forum Discussion

Johnmec_45780's avatar
Johnmec_45780
Icon for Nimbostratus rankNimbostratus
Dec 07, 2004

Disabling connection pooling in iRule

Hi !

 

 

Our product plans to use BIGIP "connection pooling" feature in load balancing WAP 2 Gateways ( they are special HTTP Proxies).

 

The problem is that we also want to support TLS tunneling.

 

 

I would like to know if it is possible to use an iRule to disable "connection pooling" feature for specific http requests (so that they will have their own connection thereafter).

 

 

The two cases when we would like to disable connection pooling are:

 

 

- When there is an HTTP Header requesting a Tunnel with CONNECT.

 

- When an existing HTTP connection (that might be already "pooled") requests an Upgrade to TLS, in which case a new (separate connection or socket) would be open for this client and TLS handshake done over it.

 

 

The idea it is to check the HTTP header in iRule and depending on the result disable the oneconnect for that particular connection. Is it possible ?

 

 

Br,

 

David
  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    This is exactly what the command
    ONECONNECT::detach disable
    was intended for. Unfortunately, I have discovered a bug preventing it from working properly. I entered a change request into the system, so it will be fixed in a future release. What is your time-frame for requiring this functionality?
  • Hi !

     

    Thanks for the reply. My time-frame is flexible, but I think it should be ready not later than beginnig of March or so.

     

     

    Did support tell you about what was the release number that will include the fix ?

     

     

    Br,

     

    David