From: Vlad S. <vl...@cr...> - 2008-11-07 16:35:03
|
i have a suggestion to move NsTclRunAtClose(connPtr->itPtr); in connio.c Ns_connClose before NsSockClose(connPtr->sockPtr, keep); to give atclose handlers a chance to write something into still opened socket. In most cases it will not be used and it will work as before because atclose blocks and socket is not yet returned to driver but at the same time if i need to use socket garanteed at connection end, this is the only place i can do it. Filters are not garanteed to be called, they depend on return status. Is everybody OK with this? |