Xymon Mailing List Archive search

lib/url.c patch for '/http' malformed url?

list Henrik Størner
Sat, 9 Oct 2010 06:17:34 +0000 (UTC)
Message-Id: <i8p1du$uh$user-e356fad9864f@xymon.invalid>

In <user-d435ba1b1304@xymon.invalid> Viorel Tabara <user-fb6c2bb604a3@xymon.invalid> writes:
Obviously it's not the ":" and I wish I would've searched the mailing list
earlier ;)
   # /usr/libexec/hobbit/server/bin/bbtest-net
   2010-10-08 14:31:38 Malformed URL - no 'scheme:' in 'http-proxy-tcp'
   2010-10-08 14:31:38 Invalid URL for http test - ignored:
   cont=postgresql;http://my.athabascau.ca/http-proxy-tcp;0
  
Changed that to:
   cont=postgresql;http://my.athabascau.ca/tohack;0
and it works well.
Sorry, I need a bit more context with this. The test-spec you've
posted:
    cont=postgresql;http://my.athabascau.ca/http-proxy-tcp;0
works fine, and would not hit the problem discussed in the mail
you referenced. I just ran it on my test box:

$ bbcmd bbhostgrep "cont=pos*"
172.16.10.193 testhost # cont=postgresql;http://my.athabascau.ca/http-proxy-tcp
$ bbcmd bbtest-net --noping winxptest --no-update
combo
status+30 winxptest.http clear Sat Oct  9 08:10:42 2010: OK

&clear http://my.athabascau.ca/http-proxy-tcp - failed

HTTP/1.1 404 /http-proxy-tcp
Date: Sat, 09 Oct 2010 06:10:42 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 983
Connection: close

Seconds:     0.39

Do you have any plans to release an update?
Not until I know what the problem is you're having.


Regards,
Henrik