- **status**: accepted --> fixed
- **Comment**:

develop(5.17.10):

commit bb2134e532d22d72ffea151cf9ea4bd67cecfc63
Author: Zoran Milinkovic <[email protected]>
Date:   Tue Jul 4 15:01:15 2017 +0200

    imm: send imm finalize message to immnd when dispatch returns 
ERR_BAD_HANDLE [#2504]
    
    Send IMM_FINALIZE message to immnd when dispatch functions returns 
ERR_BAD_HANDLE.
    IMM_FINALIZE will release all allocated resources of a handle on IMM 
service side.
    
-----

release(5.17.8):

commit 3e2eeb4ae793beb9f46f49925437537bb9606603
Author: Zoran Milinkovic <[email protected]>
Date:   Tue Jul 4 15:01:15 2017 +0200

    imm: send imm finalize message to immnd when dispatch returns 
ERR_BAD_HANDLE [#2504]
    
    Send IMM_FINALIZE message to immnd when dispatch functions returns 
ERR_BAD_HANDLE.
    IMM_FINALIZE will release all allocated resources of a handle on IMM 
service side.



---

** [tickets:#2504] imm: dispatch functions don't send imm finalize message when 
return ERR_BAD_HANDLE**

**Status:** fixed
**Milestone:** 5.17.08
**Created:** Tue Jun 20, 2017 08:48 AM UTC by Zoran Milinkovic
**Last Updated:** Sat Jul 01, 2017 04:17 PM UTC
**Owner:** Zoran Milinkovic


When dispatch functions return ERR_BAD_HANDLE error, IMM finalize message is 
not sent to IMM service.
This works when there is only one IMM handle (IMMA closes connection with IMM 
service). If more handles are used, it may happen that resources in IMM service 
will never be released.
If oiFinalize is called after receiving ERR_BAD_HANDLE, resources on client 
side will be released, but not on IMM service side.

For example: if implementer is attached to OI handle, and oiDispatch returns 
ERR_BAD_HANDLE, the implementer will be attached, but not accessible even if 
oiFinalize on the oi handle is called. And a new implementer with the same 
implementer name will not be possible to set again.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to