summaryrefslogtreecommitdiffstats
path: root/libavformat/tls_securetransport.c
Commit message (Collapse)AuthorAgeFilesLines
* This fixes a deadlock while reading a chunked https response, ifAman Gupta2017-11-131-2/+6
| | | | | | | | | | | | | | multiple_requests=1 is also set. Without an EOF to signal the end of the last chunk, tls_read gets stuck forever trying to read more data than is available. This occurs with the http protocol reproducibly, because http.c always reads 4kb at a time, and the last chunk of an http response is often much smaller. After this commit, tls_read always returns any buffered plaintext first before attempting to read more encrypted data off the underlying tcp socket. Signed-off-by: Rodger Combs <rodger.combs@gmail.com>
* lavf/tls_securetransport: handle incomplete reads gracefullyRodger Combs2017-11-131-8/+16
| | | | Signed-off-by: Aman Gupta <aman at tmm1.net>
* lavf/tls_securetransport: build on iOSAman Gupta2017-11-121-0/+4
| | | | | | | This works as expected on iOS, except for the ca_file feature which is disabled because SecItemImport is not available. Signed-off-by: Aman Gupta <aman@tmm1.net>
* Merge commit '61cec5adaacb358783c18aa07362f15824c1b274'James Almer2017-11-011-1/+1
| | | | | | | | | | * commit '61cec5adaacb358783c18aa07362f15824c1b274': tls: Hide backend implementation details from users Also includes ed434be106a4615e0419b3ac7664220741afda2d Changes were made to support schannel and securetransport. Merged-by: James Almer <jamrial@gmail.com>
* avformat/tls: add tls url_get_file_handleJay Ridgeway2016-12-171-0/+7
| | | | | | Support url_get_file_handle on TLS streams. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: Add a protocol blacklisting APIDerek Buitenhuis2016-03-041-1/+1
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'Derek Buitenhuis2016-02-291-1/+1
| | | | | | | | | | | This commit also disables the async fate test, because it used internal APIs in a non-kosher way, which no longer exists. * commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d': lavf: reorganize URLProtocols Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat/tls_securetransport: Add missing includeMichael Niedermayer2016-02-021-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Update demuxers and protocols for protocol whitelist supportMichael Niedermayer2016-02-021-2/+3
| | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/tls_securetransport: fix argument evalulation order UBRodger Combs2015-10-041-4/+6
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/tls_securetransport: fix SNI support when not verifyingRodger Combs2015-06-091-3/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/tls_securetransport: add missing copyright noticeRodger Combs2015-05-301-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/tls: Support Secure TransportRodger Combs2015-05-291-0/+393
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud