Forum Discussion
yuce_sungur_100
Nimbostratus
Mar 03, 2010iRule transforms from raw socket to HTTP POST,
I have been working on a project that transofrms raw socket to HTTP POST requests.It has been working nice until a huge packet arrives.My irule is succesfully merges all the tcp packets and send them ...
hoolio
Cirrostratus
Mar 04, 2010Hi Ysungur,
I don't have any way to view your contact info and I'm a bit swamped these days. If you'd like me and others to provide more detailed suggestions, you could try adding some debug logging to the iRule, reproduce the issue, post the iRule you're testing and the debug log output.
Else, you could try opening a case with F5 Support if you think the iRule functionality isn't working correctly.
In concept though, I'd think you need to set the Content-Length header in the request to the actual HTTP payload length. I don't think this would be the same as the TCP payload length, as the TCP payload would contain both HTTP headers and HTTP payload.
If the HTTP payload you're forming is in multiple TCP packets, I'd think you'd need to continue collecting the TCP payload until you have the full data you want to insert as the HTTP payload.
Aaron
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