mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Implement internal abstraction for iostreams
fopencookie/funclose is a non-standard API and should not be used in portable software. Additionally, the way FILE's fd is used in non-blocking mode is undefined behaviour and cannot be relied on. This introduces internal abstraction for io streams, that allows implementing the desired virtualization of read/write operations with necessary timeout handling. ASTERISK-24515 #close ASTERISK-24517 #close Change-Id: Id916aef418b665ced6a7489aef74908b6e376e85
This commit is contained in:
@@ -815,10 +815,6 @@ AC_ARG_ENABLE([asteriskssl],
|
||||
esac], [AST_ASTERISKSSL=yes])
|
||||
AC_SUBST(AST_ASTERISKSSL)
|
||||
|
||||
# https support (in main/http.c) uses funopen on BSD systems,
|
||||
# fopencookie on linux
|
||||
AC_CHECK_FUNCS([funopen fopencookie])
|
||||
|
||||
AC_CHECK_FUNCS([inet_aton])
|
||||
|
||||
# check if we have IP_PKTINFO constant defined
|
||||
|
Reference in New Issue
Block a user