• Martin Storsjö's avatar
    tls_openssl: Readd support for nonblocking operation · 0671eb23
    Martin Storsjö authored
    The rtmp protocol uses nonblocking reads, to poll for incoming
    messages from the server while publishing a stream.
    
    Prior to 94599a6d and
    d13b124e, the tls protocol
    handled the nonblocking flag, mostly as a side effect from not
    using custom IO callbacks for reading from the socket. When custom
    IO callbacks were taken into use in
    d15eec4d, the handling of a nonblocking
    socket wasn't necessary for the default blocking mode any longer.
    
    The code was simplified, since it was overlooked that other code
    within libavformat actually used the tls protocol in nonblocking mode.
    
    This fixes publishing over rtmps, with the openssl backend.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    0671eb23
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...