Forum Discussion

flomkrl_29950's avatar
flomkrl_29950
Icon for Nimbostratus rankNimbostratus
Feb 29, 2008

Monitor http - CR LF add by F5

Hello,

 

 

I'm writing a POST HTTP to test a SOAP services. It is the same as a POST request send by the soap client (i compare it with tcpdum trace). The only difference is that the F5 add "CR LF" on the end (0d 0a). I think, it cause the IIS server to consider my request as a bad http request!

 

 

How to indiquate to the F5 to do not add this "CR LF" ?

 

 

Thanks for your expertise;

 

 

regards,

 

 

Flo;

 

 

2 Replies

  • I don't think there is anyway to avoid the extra \r\n that the monitoring daemon adds to the send string. It might have been viewed as a feature at some point, but obviously it creates problems with POST requests that have a body as RFC's state there shouldn't be any content past the content-length count.

     

     

    I'd suggest opening a case with F5 and find out whether there is already a CR requesting to have this tweak removed.

     

     

    To work around this issue, you could create an external monitor which references a perl or shell script. The shell script can open a connection using curl to send a POST request to the pool members. There are some good examples in the monitoring codeshare section.

     

     

    Aaron