Forum Discussion

Pascal_Tene_910's avatar
Pascal_Tene_910
Historic F5 Account
Feb 03, 2013

The connect command used with vs name crashes tmm

 

Below iRule causes tmm to core and restart.

 

it works if I replace the vip-name with the pool member IP:PORT.

 

 

The connect command syntax suggests that the VS name can be used.

 

https://devcentral.f5.com/wiki/irules.connect.ashx

 

This issue is observer in 11.0.0 and 11.3.0

 

 

Any suggestion on making this work with the vip name ?

 

 

 

when HTTP_REQUEST {

 

set conn [connect -timeout 3000 -idle 30 -status conn_status vip-name]

 

log local0. "Connect returns: <$conn> and conn status: <$conn_status> "

 

 

set conn_info [connect info -idle -status $conn]

 

log local0. "Connect info: <$conn_info>"

 

 

set data "GET /mytestpage/index.html HTTP/1.0\r\n\r\n"

 

set send_info [send -timeout 3000 -status send_status $conn $data]

 

log local0. "Sent <$send_info> bytes and send status: <$send_status>"

 

 

set recv_data [recv -timeout 3000 -status recv_status 393 $conn]

 

log local0. "Recv data: <$recv_data> and recv status: <$recv_status>"

 

 

close $conn

 

log local0. "Closed; conn info: <[connect info -status $conn]>"

 

}