summaryrefslogtreecommitdiff
path: root/net/echoping/files/patch-http.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2025-05-04 13:48:13 +0200
committerRene Ladan <rene@FreeBSD.org>2025-05-04 13:48:13 +0200
commitbd39fac8e57bfdd73f172e4bb4aba0708b6e1fcc (patch)
tree9d1fbd4a4ea23a39b8930f6cf4e09ce2471e52ec /net/echoping/files/patch-http.c
parentnet-p2p/shx: Remove expired port (diff)
net/echoping: Remove expired port
2025-04-30 net/echoping: Unmaintained upstream as of 2015 and depends on deprecated libidn
Diffstat (limited to '')
-rw-r--r--net/echoping/files/patch-http.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/net/echoping/files/patch-http.c b/net/echoping/files/patch-http.c
deleted file mode 100644
index d3cb1d14c52f..000000000000
--- a/net/echoping/files/patch-http.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- http.c.orig 2019-12-29 10:14:41 UTC
-+++ http.c
-@@ -6,7 +6,7 @@
- #include "HTParse.h"
-
-
--char big_recvline[MAXTOREAD];
-+static char big_recvline[MAXTOREAD];
-
- char *
- make_http_sendline(char *url, char *host, int port, int nocache)
-@@ -113,6 +113,8 @@ read_from_server(CHANNEL fs, short ssl, boolean accept
- /* 204 No Content is not an error, message body is empty by definition, see RFC 2616 */
- if (reply_code == 204)
- return 0; /* zero bytes is correct */
-+ if (accept_redirects && reply_code >= 300 && reply_code < 400)
-+ return 0;
-
- if (! (reply_code >= 200 && reply_code < 300) &&
- ! ((reply_code >= 300 && reply_code < 400) && accept_redirects))