summaryrefslogtreecommitdiffstats
path: root/web/attachments/299119-check_http.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/299119-check_http.diff')
-rw-r--r--web/attachments/299119-check_http.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/attachments/299119-check_http.diff b/web/attachments/299119-check_http.diff
new file mode 100644
index 0000000..e745e36
--- /dev/null
+++ b/web/attachments/299119-check_http.diff
@@ -0,0 +1,16 @@
1*** check_http.c_old 2008-10-27 08:52:54.000000000 +0000
2--- check_http.c 2008-10-27 08:54:15.000000000 +0000
3***************
4*** 968,974 ****
5--- 968,978 ----
6 else if (http_status >= 300) {
7
8 if (onredirect == STATE_DEPENDENT)
9+ {
10+ microsec = socket_timeout - deltime(tv)/1.0e6;
11+ alarm( microsec>1?microsec:1 );
12 redir (header, status_line);
13+ }
14 else if (onredirect == STATE_UNKNOWN)
15 printf (_("HTTP UNKNOWN"));
16 else if (onredirect == STATE_OK)