cURL

Access HTTP and other resources from within VCL using libcurl. To use the vmod do something along the lines of:

import curl; 
sub vcl_recv {     
curl.fetch("http://example.com/test");     
if (curl.header("X-Foo") == "bar") {
         …     }     
curl.free(); 
}  

See src/vmod_curl.vcc for the rest of the callable functions.

Status: 
Used in production
Dependencies: 
curl
Licence: 
Varnish version supported: 
Commercial support: 
Varnish Software