[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:50:06 CST 2022


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

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

Change 17472 merged by George Joseph:
tcptls.c: refactor client connection to be more robust

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

> 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