bug-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-serveez] Preserving object props on sockets


From: Mike Gran
Subject: [bug-serveez] Preserving object props on sockets
Date: Sun, 24 Mar 2013 07:51:05 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Hi-

I'm having a bit of a problem trying to use object properties on sockets.  They
don't seem to be preserved between calls to `handle-request'.

Old-school serveez had a svz:sock:data function for this purpose, which is
deprecated now.

Attached is a script that adds an object prop to a socket.  It intends to count
the number of times that the socket has been used.  But, the property vanishes
with each call of `handle-request'

Any suggestions?

Attachment: bug.scm
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]