[Varnish] #1538: vcc_ParseImport still requires exact VMOD_ABI_Version match

Varnish varnish-bugs at varnish-cache.org
Wed Jun 25 20:15:35 CEST 2014


#1538: vcc_ParseImport still requires exact VMOD_ABI_Version match
----------------------+--------------------
 Reporter:  askalski  |       Type:  defect
   Status:  new       |   Priority:  normal
Milestone:            |  Component:  build
  Version:  4.0.1     |   Severity:  normal
 Keywords:            |
----------------------+--------------------
 In 4.0.1, "VMOD ABI version requirements are relaxed" doesn't seem to be
 working as intended.  The vcc_ParseImport() function in
 lib/libvcc/vcc_vmod.c is still checking for an exact string match between
 vmd->abi and VMOD_ABI_Version.

 {{{
         if (strcmp(vmd->abi, VMOD_ABI_Version) != 0) {
                 VSB_printf(tl->sb, "Incompatible VMOD %.*s\n", PF(mod));
                 VSB_printf(tl->sb, "\tFile name: %s\n", fn);
                 VSB_printf(tl->sb, "\tABI mismatch, expected <%s>, got
 <%s>\n",
                            VMOD_ABI_Version, vmd->abi);
                 vcc_ErrWhere(tl, mod);
                 return;
         }
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1538>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list