When using a socket as a FILE *, the stdio functions will sometimes try to do
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 4 Feb 2009 18:48:06 +0000 (18:48 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 4 Feb 2009 18:48:06 +0000 (18:48 +0000)
commitf2fd6528a2ebc975d5fe297928e6f5926824c289
tree204b04cc2d506eb4aa34574c8cf0bf4080b26d14
parente04e940a7194cd067d82801324230b91b10982c5
When using a socket as a FILE *, the stdio functions will sometimes try to do
an fseek() on the stream, which is an invalid operation for a socket.  Turning
off buffering explicitly lets the stdio functions know they cannot do this,
thus avoiding a potential error.
(closes issue #14400)
 Reported by: fnordian
 Patches:
       tcptls.patch uploaded by fnordian (license 110)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@173458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/tcptls.c