]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: add support for "httponly" and "secure" cookie attributes
authorWilly Tarreau <w@1wt.eu>
Thu, 31 May 2012 19:02:17 +0000 (21:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 May 2012 19:02:17 +0000 (21:02 +0200)
commit4992dd2d307aefd288379d2fefcf5a87b7631b75
treef8fa5f0ac2ff72c70d80d9df554e3bf40d59c4e7
parentb5ba17e3a92618df020a4a2f9ddad62702d235ab
MINOR: http: add support for "httponly" and "secure" cookie attributes

   httponly  This option tells haproxy to add an "HttpOnly" cookie attribute
             when a cookie is inserted. This attribute is used so that a
             user agent doesn't share the cookie with non-HTTP components.
             Please check RFC6265 for more information on this attribute.

   secure    This option tells haproxy to add a "Secure" cookie attribute when
             a cookie is inserted. This attribute is used so that a user agent
             never emits this cookie over non-secure channels, which means
             that a cookie learned with this flag will be presented only over
             SSL/TLS connections. Please check RFC6265 for more information on
             this attribute.
doc/configuration.txt
include/types/proxy.h
src/cfgparse.c
src/proto_http.c