Skip to content

Commit

Permalink
Update SocketPort.h (rdkcentral#1194)
Browse files Browse the repository at this point in the history
RDKTV-19382 : Change QualifiedName() to HostAddress()
Reason for change: Avoiding WebProcess to become unresponsive due to getnameinfo timeout
Test Procedure: See Jira Ticket
Risks: Low
Signed-off-by: Karthick S <[email protected]>

Co-authored-by: Pierre Wielders <[email protected]>
  • Loading branch information
2 people authored and Divya-563 committed Jan 17, 2023
1 parent 0b92948 commit ed3958c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/core/SocketPort.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ namespace WPEFramework {
}
inline string LocalId() const
{
return (m_LocalNode.QualifiedName());
return (m_LocalNode.HostAddress());
}
inline string RemoteId() const
{
return (m_RemoteNode.QualifiedName());
return (m_RemoteNode.HostAddress());
}
inline const NodeId& ReceivedNode() const
{
Expand Down Expand Up @@ -523,4 +523,4 @@ namespace WPEFramework {
}
} // namespace Core

#endif // __SOCKETPORT_H
#endif // __SOCKETPORT_H

0 comments on commit ed3958c

Please sign in to comment.