I’ve got an iRule that uses the HTTP::respond function that is not working. I’ve been able to do some packet monitoring and I can see that the traffic is being sent HTTP 1.0 (which is confirmed per the documentation), but it appears that it drops the connection. If I use TCP::Respond and force it to HTTP 1.1 it works fine. I was wondering if anyone else has had similar experience?
If the server sends an HTTP version 1.0 response, the client should close the TCP connection, as HTTP 1.0 only supported one request/response loop per TCP connection. When you use TCP::respond you’re able to specify HTTP/1.1, so the client won’t automatically close the connection.
I think there was an CR noting the request to customize the headers included in HTTP::redirect and HTTP::respond, but I’m not having any luck finding references to it. Anyone know if you can specify HTTP/1.1 with the change in the CR?
In 9.4.5, I ran a quick tcpdump and saw the client (Firefox) FIN the connection after receiving an HTTP/1.0 response. Maybe there is a difference in the response being sent between the LTM versions? I wouldn’t expect the VIP to send a RST. Maybe F5 Support could help investigate this? They could probably also give you info on the HTTP::respond header change request (CR).
I also wish to return an HTTP 1.1 response with the HTTP::respond or HTTP::redirect command. Please, F5, implement this essential fix ASAP! It’s a relatively glaring omission to your otherwise stellar product!
If you want more visibility to an open CR (change request), open a support case and ask to be added to the CR (support should be able to look up the number).