[FFmpeg-devel] [PATCH 1/1] Patch for adding Documentation of ff_http_match_no_proxy
Sourabh Sharma
sharmasourabh121.ss at gmail.com
Sat Feb 29 13:37:30 EET 2020
Patch for adding Documentation of ff_http_match_no_proxy
Function ff_http_match_no_proxy check for host of proxy address
matches with hostname or not.
---
libavformat/network.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/libavformat/network.h b/libavformat/network.h
index 71347e815b..cd533a7cbc 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -302,7 +302,13 @@ int ff_accept(int fd, int timeout, URLContext *h);
int ff_listen_connect(int fd, const struct sockaddr *addr,
socklen_t addrlen, int timeout,
URLContext *h, int will_try_next);
-
+/**
+ * It Check for host of proxy address matches with hostname or not.
+ *
+ * @param no_proxy URL of proxy address
+ * @param hostname URL of hostname
+ * @return 0 if don't match, 1 for exactly match
+*/
int ff_http_match_no_proxy(const char *no_proxy, const char *hostname);
int ff_socket(int domain, int type, int protocol);
--
2.11.0
More information about the ffmpeg-devel
mailing list