summaryrefslogtreecommitdiff
path: root/libavformat/tls_securetransport.c
Commit message (Collapse)AuthorAge
* All: update names in copyright headersrcombs2021-01-20
|
* tls: Hook up the url_get_short_seek function in the TLS backendsMartin Storsjö2020-11-05
| | | | | | | This makes sure that small seeks forward on https don't end up doing new requests. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Replace ffurl_close() by ffurl_closep() where appropriateAndreas Rheinhardt2020-05-25
| | | | | | | | | | It avoids leaving dangling pointers behind in memory. Also remove redundant checks for whether the URLContext to be closed is already NULL. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* This fixes a deadlock while reading a chunked https response, ifAman Gupta2017-11-13
| | | | | | | | | | | | | | 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-13
| | | | Signed-off-by: Aman Gupta <aman at tmm1.net>
* lavf/tls_securetransport: build on iOSAman Gupta2017-11-12
| | | | | | | 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-01
| | | | | | | | | | * 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-17
| | | | | | Support url_get_file_handle on TLS streams. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: Add a protocol blacklisting APIDerek Buitenhuis2016-03-04
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'Derek Buitenhuis2016-02-29
| | | | | | | | | | | 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-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Update demuxers and protocols for protocol whitelist supportMichael Niedermayer2016-02-02
| | | | | 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-04
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/tls_securetransport: fix SNI support when not verifyingRodger Combs2015-06-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/tls_securetransport: add missing copyright noticeRodger Combs2015-05-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/tls: Support Secure TransportRodger Combs2015-05-29
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>