<div dir="ltr">you won't be able to change parameters from within the VCL/Embeded C code. You have to change those on daemon startup or through varnishadm <div><br></div><div>-Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 11:50 AM, James Stanton <span dir="ltr"><<a href="mailto:james.stanton@acquia.com" target="_blank">james.stanton@acquia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How could I set a varnishd param (esi_syntax) from within my VCL? I tried some embedded C from my vcl_init function to call <span style="color:rgb(121,93,163);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre-wrap">mcf_findpar </span>but it wouldn't link . Is this even the right approach? What can I call from embedded C in my VCL?<div><br></div><div>Thanks,</div><div>Jim<br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div style="font-size:12.8px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"><p dir="ltr" style="color:rgb(0,0,0);font-weight:bold;margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">James Stanton</span></p><p dir="ltr" style="color:rgb(0,0,0);margin-top:0pt;margin-bottom:0pt"><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Technical Account Manager</span><span style="font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> | </span><span style="font-weight:bold;color:rgb(6,124,187);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><a href="http://www.acquia.com/" style="color:rgb(17,85,204)" target="_blank">Acquia</a></span></p><span style="color:rgb(6,124,187);font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span><br><p style="margin-top:0pt;margin-bottom:0pt"><b style="color:rgb(0,0,0)"><span style="white-space:pre-wrap">O: </span></b><font color="#000000"><span style="white-space:pre-wrap"><a href="tel:617-588-7711" value="+16175887711" style="color:rgb(17,85,204)" target="_blank">617-588-7711</a></span></font></p><p dir="ltr" style="color:rgb(0,0,0);margin-top:0pt;margin-bottom:0pt"><span style="font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">E:</span><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> <a href="mailto:james.stanton@acquia.com" style="color:rgb(17,85,204)" target="_blank">james.stanton@acquia.com</a></span></p><p dir="ltr" style="color:rgb(0,0,0);margin-top:0pt;margin-bottom:0pt"><span style="font-weight:bold;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">A:</span><span style="vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><b> </b>53 State St., Boston, MA </span><span style="font-size:small;line-height:16.12px;font-family:arial,sans-serif;color:rgb(34,34,34)">02109</span></p><p dir="ltr" style="color:rgb(0,0,0);margin-top:0pt;margin-bottom:0pt"><span style="font-size:small;line-height:16.12px;font-family:arial,sans-serif;color:rgb(34,34,34)"><br></span></p></font><font face="arial, helvetica, sans-serif"><p dir="ltr" style="color:rgb(0,0,0);margin-top:0pt;margin-bottom:0pt"><a href="https://www.acquia.com/gartner-magic-quadrant" style="color:rgb(17,85,204);font-family:arial,sans-serif" target="_blank">Acquia Named a <b>Leader</b> in new Gartner WCM Magic Quadrant</a><br></p></font><p dir="ltr" style="margin-top:0pt;margin-bottom:0pt"><a href="http://acquia.com/free" style="color:rgb(17,85,204);line-height:13px;text-decoration:none" target="_blank"><span style="font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Start Building Drupal Sites on Acquia Cloud for </span><span style="font-family:Arial;font-weight:bold;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Free!</span></a></p></div></div></div></div></div></div></div></div></div>
</div></div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>