Forum Discussion
Craig_Jackson_2
Nimbostratus
Jun 06, 2007Spurious CRLF before HTTP verb
We're running into a problem with a spurious \r\n being sent to the server immediately preceding a HTTP verb. This is in a OneConnect environment.
The problem occurs because IE (6 and 7 at ...
John_Gouk_10641
Nimbostratus
Jun 07, 2007OK, had a quick grock of iRules. Here's a sketch, with totally incorrect syntax (!):
If it's a POST
do HTTP::collect [HTTP::content-length] (there's examples of this - collects the declared length)
when HTTP-REQUEST-DATA is called,
do HTTP::release to send good request on its way
Start TCP::collect (2) to pick up any stray CRLF bytes
on TCP-
check if CRLF, if it is, throw it away (how do you do this? TCP::payload with some special nulling value?), else do Release and we're done...
Any comments?
Cheers
J
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects