[ 
https://issues.apache.org/jira/browse/DEFT-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071901#comment-13071901
 ] 

Johnathan Meehan commented on DEFT-52:
--------------------------------------

> Regarding the "max-age", I know that for now, some browsers ignore it.
> But effectively we can provide a settter with seconds, and still use the 
> property "expires", or something like that:) 

Good point, and that's a nice idea. Let's roll with that.

> I also tried to follow the new rfc6265, which makes obsolete the property 
> "discard"

Really? I was under the impression that it was actually defined by that 
specification, as part of Set-Cookie2 
(http://datatracker.ietf.org/doc/rfc2965/, s. 3.2.2) and alongside other 
goodies and the need to receive values. I'll say now that I am terrible at 
parsing RFCs in case I'm misguided. :)
I'd (begun to) cater for that in my code but right now let's run with your 
work, Michele - it's fast and ready-to-go. Could you put a final version 
together for review, with tests, documentation, the fake max-age method and 
anything else you like? Ping me outside of JIRA if you are short on time and 
I'll be glad to help out.

> What do you use for your benchmarks?! 
ab -k -c10 -n250000 http://127.0.0.1:8080/

> Cookies
> -------
>
>                 Key: DEFT-52
>                 URL: https://issues.apache.org/jira/browse/DEFT-52
>             Project: Deft
>          Issue Type: New Feature
>            Assignee: Johnathan Meehan
>         Attachments: deft-52.patch, deft-52_alt.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to