[asterisk-bugs] [JIRA] (ASTERISK-29746) tcptls.c: TCP client connect fails due to interrupt

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Jan 5 09:43:07 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257607#comment-257607 ] 

Friendly Automation commented on ASTERISK-29746:
------------------------------------------------

Change 17720 merged by Joshua Colp:
tcptls.c: refactor client connection to be more robust

[https://gerrit.asterisk.org/c/asterisk/+/17720|https://gerrit.asterisk.org/c/asterisk/+/17720]

> tcptls.c: TCP client connect fails due to interrupt
> ---------------------------------------------------
>
>                 Key: ASTERISK-29746
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29746
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: GIT
>            Reporter: Kevin Harwell
>            Assignee: Kevin Harwell
>
> The TCP client connect does not handle the interrupt case (EINTR), thus can easily fail to connect when there is no real connection error.
> Also the underlying iostream is set to not wait/poll on reads, thus similarly reading can inadvertently fail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list