Hi all!

We have seen a problem with server errors when getting malformed 
cookies. The problem has been seen before, we found from googling [1], 
but it is not clear how we should address this. We are not quite 
positive about the source of the malformed cookies, (it may have been 
only test code, it may have been old sins) but it seems like FF is 
sending them back as they were, while Opera makes an effort to make 
them valid. :-)

The problem then occurs if there is a malformed cookie in the jar, if 
any cookie is attempted to be read, libapreq2 dies.

First of all, is it the intended behavior that libapreq2 should die 
under these circumstances? If yes, are we supposed to deal with this by 
putting each read of a cookie in an eval block? 

I have seen that recent commits have added some error handling behavior. 
Is this going to be released soon? How would we use the error handling 
that is introduced?

Any other advice as to how we should deal with malformed cookies with 
libapreq2?

[1] 
http://mail-archives.apache.org/mod_mbox/perl-modperl/200601.mbox/[EMAIL 
PROTECTED]

Cheers,

Kjetil
-- 
Kjetil Kjernsmo
Information Systems Developer
Opera Software ASA

Reply via email to