Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denen99/libmd5varnish
An MD5 module for your Varnish VCL
https://github.com/denen99/libmd5varnish
Last synced: 18 days ago
JSON representation
An MD5 module for your Varnish VCL
- Host: GitHub
- URL: https://github.com/denen99/libmd5varnish
- Owner: denen99
- License: other
- Created: 2011-01-23T05:06:45.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T16:50:49.000Z (about 10 years ago)
- Last Synced: 2024-07-31T22:57:21.432Z (3 months ago)
- Language: C
- Homepage:
- Size: 134 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This is a library that can be loaded into Varnish for exposing an md5 hash function. I had a need to call an md5 function on a string and stuff it into a Req header, so I wrote this library and figured out how to integrate it into Varnish.
To use this library you must take the following steps:
1 - Run "make all" to build the library
2 - Copy the example from the md5.vcl file in this repo and make sure the path to libmd5varnish.so is in the right place
3 - Use (char*)md5_hash() via inline C wherever you need to call an MD5 hashExample for Varnish 4 you can find inside md5_v4.vcl. In Varnish 4 you must enable -p vcc_allow_inline_c=true to enable inline C, which is disabled by default.