[Asterisk-code-review] Implement internal abstraction for iostreams (asterisk[master])

Timo Teräs asteriskteam at digium.com
Fri Sep 9 06:31:23 CDT 2016


Hello Kevin Harwell, Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/2932

to look at the new patch set (#5).

Change subject: Implement internal abstraction for iostreams
......................................................................

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
---
M apps/app_externalivr.c
M channels/chan_sip.c
M configure.ac
A include/asterisk/iostream.h
M include/asterisk/tcptls.h
M main/http.c
A main/iostream.c
M main/manager.c
M main/tcptls.c
M main/utils.c
M res/res_http_post.c
M res/res_http_websocket.c
M res/res_phoneprov.c
13 files changed, 970 insertions(+), 1,103 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/32/2932/5
-- 
To view, visit https://gerrit.asterisk.org/2932
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id916aef418b665ced6a7489aef74908b6e376e85
Gerrit-PatchSet: 5
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Timo Teräs <timo.teras at iki.fi>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Timo Teräs <timo.teras at iki.fi>



More information about the asterisk-code-review mailing list