101 · Question #218
Which event is always triggered when the client sends data to a virtual server using TCP.
The correct answer is B. CLIENT_DATA. CLIENT_DATA is the F5 iRule event that fires each time a TCP client sends a data segment to a virtual server.
Question
Which event is always triggered when the client sends data to a virtual server using TCP.
Options
- AHTTP_DATA
- BCLIENT_DATA
- CHTTP_REQUEST
- DVS_CONNECTED
How the community answered
(55 responses)- A4% (2)
- B93% (51)
- C2% (1)
- D2% (1)
Why each option
CLIENT_DATA is the F5 iRule event that fires each time a TCP client sends a data segment to a virtual server.
HTTP_DATA is not a valid F5 iRule event name and does not exist in the iRules event model.
The CLIENT_DATA event is triggered at the TCP layer every time a client transmits data to the virtual server, making it the correct event for inspecting raw incoming client payload in iRules. It operates independently of any application-layer protocol, so it fires for any TCP-based traffic regardless of whether HTTP or another protocol is in use.
HTTP_REQUEST fires only after the HTTP profile has fully parsed an HTTP request, not generically whenever any TCP data segment arrives from a client.
VS_CONNECTED is not a valid F5 iRule event; the correct event for a newly accepted client TCP connection is CLIENT_ACCEPTED, not VS_CONNECTED.
Concept tested: F5 iRule TCP CLIENT_DATA event trigger
Source: https://clouddocs.f5.com/api/irules/CLIENT_DATA.html
Topics
Community Discussion
No community discussion yet for this question.