Guido van Rossum
guido at python.org
Sat Jan 19 22:20:02 EST 2002
> Our proposed fix is to not close fd's when we get errors, but rather
> just mark them inactive and keep returning errors to the application
> if they call SP calls on that mbox until they call SP_disconnect()
> on it. The sp_disconnect will be the only place that actually closes
> the fd.
> The only iffy part about this, is old code which was lazy and didn't
> call sp_disconnect itself when an error was encountered, and instead
> just called sp_connect again will now leak fds. I'm probably ok with
> this, but it needs to be documented and a warning given.
If we can check for a version we'll be alright.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Spread-users