Forum Discussion
stucky101_88485
Nimbostratus
Aug 08, 2012cannot add \r\n to string
iApp gurus
I'm working on customizing the basic http iapp to send a user agent in the http header. It looks like the
f5.app_utils:create_monitor proc doesn't let me pass such an option so I'm t...
Brent_Blood_768
Aug 08, 2012Historic F5 Account
There appears to be a bug in the create_monitor proc within f5.app_utils where when using HTTP/1.0, one of the CRLFs is stripped incorrectly. It seems that when you removed the inputs for the http version and call that procedure with a blank value for the version (but still had HTTP/1.1 in the send string) that you're hitting this bug even though you're not explicitly specifying HTTP/1.0.
Workarounds for this:
1. call that proc but specify "Version 1.1" for the http_version parameter
2. don't use that proc at all and just call tmsh::create directly to instantiate the monitor
3. make a copy of the f5.app_utils cli script (from tmsh: cp cli script f5.app_utils stucky101.app_utils) and change the behavior of the create_monitor procedure to do the right thing (from tmsh: edit cli script stuck101.app_utils), and then call that instead of the one in f5.app_utils
4. as you already said, create the monitor by hand outside of the iApp and then reference it within
Thanks for bringing this to our attention.
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