<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    have you tried with empty string in between quotes?<br>
    <br>
    httpproxy=""<br>
    <br>
    Alternative is to use boolean in this case.<br>
    <br>
    httpproxy=no<br>
    <br>
    Of course, there is always to patch the code and add support for
    empty value (or eventual 'null' value).<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 28/03/16 19:31, Olle E. Johansson
      wrote:<br>
    </div>
    <blockquote
      cite="mid:ED792DCA-9607-4E82-939F-AE688B1B00B3@edvina.net"
      type="cite">
      <pre wrap="">Hi!

Http_client is using the cfg_parser.c core parser to parse the config file. In some cases I would like to set an empty string. Let’s say that I’ve set a default http proxy in modparams and wants to reset it to no proxy in the config file - in this case I would like to write


httpproxy=

on a line in the config file.

In this case I get 

 0(45371) ERROR: <core> [cfg_parser.c:891]: cfg_parse_str(): http_client.cfg:35:0: Invalid string value '
', a string expected.

Is there a way to allow an empty string?

/O</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>