[ZBXNEXT-8270] Replace family of zbx_socket_*() functions with thread compatible versions Created: 2023 Feb 13  Updated: 2024 Apr 10  Resolved: 2023 May 15

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Proxy (P), Server (S)
Affects Version/s: 7.0.0alpha1
Fix Version/s: 7.0.0alpha1, 7.0 (plan)

Type: Change Request Priority: High
Reporter: Michael Veksler Assignee: Andris Zeila
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBXNEXT-2732 Network Discovery: Load balancing of ... Closed
Sub-task
Team: Team A
Sprint: Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023)
Story Points: 5

 Description   

We need redesign timeout mechanism for all our zbx_socket_*() functions

Expectation:

  1. do not use alarm() - as not thread compatible mechanism of 'timeout'
  2. try to make single implementation for the whole platform (via select() or SO_RCVTIMEO/SO_SNDTIMEO)
  3. platforms:
    1. Linux
    2. windows 2003
    3. Solaris 10 (EOL 2024)
    4. AIX
    5. xBSD


 Comments   
Comment by Andris Zeila [ 2023 May 03 ]

Released ZBXNEXT-8270 in:

  • pre-7.0.0alpha1 2c98d8be3dc
Generated at Sun Apr 20 21:22:12 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.