Patches item #500430, was opened at 2002-01-07 15:48 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=303152&aid=500430&group_id=3152
Category: other Group: None Status: Open Resolution: Accepted Priority: 5 Submitted By: patrick o'leary (pjaol) Assigned to: Kriston Rehberg (kriston) Summary: bug fix for ns_hostbyaddr Initial Comment: ns_hostbyaddr can cause a libthread crash on Sun OS 7+, under high load, with ip address's which cannot be resolved. This comes from NsTclGetByCmd (in tclsock.c) returning TCL_ERROR, which get pushed into ns_log. This solution returns TCL_OK for all events, replaces ns_hostbyaddr with ns_get_hostbyaddr. The result is pushed into the TCL result string. ---------------------------------------------------------------------- >Comment By: patrick o'leary (pjaol) Date: 2002-03-20 16:55 Message: Logged In: YES user_id=177256 This can easily be applied as a replacement for ns_hostbyaddr, simply by removing the TCL_ERROR in NsTclGetByCmd. ---------------------------------------------------------------------- Comment By: Kriston Rehberg (kriston) Date: 2002-03-20 16:26 Message: Logged In: YES user_id=16427 Can this be applied as a replacement for ns_hostbyaddr as well? ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=303152&aid=500430&group_id=3152
