You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Tin Zaw <tz...@yahoo.com> on 2009/12/16 00:57:28 UTC
How to parse cookies via REQUEST_HDR_HOOK
Hello,
I am trying to parse cookies via INK_HTTP_READ_REQUEST_HDR_HOOK.
Upon callback, I can read field name (Cookie) via INKMimeHdrFieldNameGet but INKMimeHdrFieldValueStringGet for that field index returns NULL for char* and zero for size.
Are there other ways to parse cookies as plug-in? Am I doing something wrong or did I discover a bug?
Thanks.