Commit f5f73364 authored by Geoff Simmons's avatar Geoff Simmons

restore to_http0* as deprecated aliases for to_esi*

parent 41053960
......@@ -150,6 +150,34 @@ Possible return strings are:
formatted (e.g. contained no value), but were processed anyway.
* ``cookies skipped and tolerated``: Both of the above
.. _tohttp0:
to_http0
--------
Prototype
::
esicookies.to_http0(HEADER);
DEPRECATED. This function is an alias for ``to_esi()``, and is included
for backwards compatibility with version 1.0. It will be removed in
future versions.
.. _tohttp0e:
to_http0_e
----------
Prototype
::
set ... = esicookies.to_esi_e(HEADER);
DEPRECATED. This function is an alias for ``to_esi_e()``, and is included
for backwards compatibility with version 1.0. It will be removed in
future versions.
.. _limitations:
LIMITATIONS
......@@ -249,7 +277,7 @@ HISTORY / CHANGELOG
* The parser is now more tolarant
* rename `to_esi` to `to_esi` and `to_esi_e` to `to_esi_e`
* replace `to_http0` with `to_esi` and `to_http0_e` with `to_esi_e`
COPYRIGHT
=========
......
......@@ -723,3 +723,15 @@ vmod_to_esi(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where,
const char *hdr) {
return (void)(vesico_to_esi(sp, priv, where, hdr));
}
const char * __match_proto__()
vmod_to_http0_e(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where,
const char *hdr) {
return (vmod_to_esi_e(sp, priv, where, hdr));
}
void __match_proto__()
vmod_to_http0(struct sess *sp, struct vmod_priv *priv, enum gethdr_e where,
const char *hdr) {
vmod_to_esi(sp, priv, where, hdr);
}
......@@ -29,4 +29,6 @@ Module esicookies
Init init_function
Function STRING to_esi_e(PRIV_VCL, HEADER)
Function VOID to_esi(PRIV_VCL, HEADER)
Function STRING to_http0_e(PRIV_VCL, HEADER)
Function VOID to_http0(PRIV_VCL, HEADER)
Function STRING warnings(PRIV_VCL)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment