varnish / libvmod-curl

cURL Varnish bindings by Varnish Software
Other
48 stars 39 forks source link

Workaround to allow using the VMOD in vcl_backend_.* subroutines #25

Closed carlosabalde closed 9 years ago

carlosabalde commented 9 years ago

A temporary workaround to allow using the VMOD in vcl_backend_.* subroutines has been added (see https://github.com/varnish/libvmod-curl/issues/23). The VMOD behaves as usual, but you should always complete execution of each cURL request during a single VCL phase (i.e. vcl_recv, vcl_backed_response, vcl_deliver, etc.). Otherwise, some unexpected behavior may arise. Anyway, this is the usual approach when using the VMOD.

daghf commented 9 years ago

Thanks Carlos, merged now.