Rob Crittenden wrote:
> Wan-Teh Chang wrote:
>> Rob Crittenden wrote:
>>> 2. If I call PR_Shutdown() on an SSL socket, is there a way later to 
>>> see the flags I called it with? For example, if I call it just with 
>>> PR_SHUTDOWN_SEND is there a way I can find that out later?
>> I don't think so.
> 
> Bummer. Would pushing on a layer to store this kind of stuff in 
> fd->secret be overkill? I have some per-connection information I need to 
> store.

That'll work.  The overhead is a PRFileDesc structure, which consists
of 5 pointers and one int.   You can also store the per-connection
information in a PLHashTable.

Wan-Teh
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to