summaryrefslogtreecommitdiff
path: root/core/libfetch/fetch-handle-temp-redirect.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
committerroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
commit18d6577d511b9a1ac36eaae50060133a401e42a3 (patch)
treef681f9444a7a0a95916de40af82d3b805d5fb8d3 /core/libfetch/fetch-handle-temp-redirect.patch
parent69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff)
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'core/libfetch/fetch-handle-temp-redirect.patch')
-rw-r--r--core/libfetch/fetch-handle-temp-redirect.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/libfetch/fetch-handle-temp-redirect.patch b/core/libfetch/fetch-handle-temp-redirect.patch
new file mode 100644
index 000000000..351cbcfd8
--- /dev/null
+++ b/core/libfetch/fetch-handle-temp-redirect.patch
@@ -0,0 +1,15 @@
+Index: http.c
+===================================================================
+RCS file: /cvsroot/pkgsrc/net/libfetch/files/http.c,v
+retrieving revision 1.29
+diff -u -r1.29 http.c
+--- http.c 24 Jan 2010 19:10:35 -0000 1.29
++++ http.c 19 Apr 2011 13:29:04 -0000
+@@ -974,6 +974,7 @@
+ case HTTP_MOVED_PERM:
+ case HTTP_MOVED_TEMP:
+ case HTTP_SEE_OTHER:
++ case HTTP_TEMP_REDIRECT:
+ /*
+ * Not so fine, but we still have to read the
+ * headers to get the new location.