Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 613770 Details for
Bug 857917
Piranha TCP/UDP timeout new fields doesn't work
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Only set timeout values when specified in HTTP GET method.
0001-Only-set-timeout-values-when-specified-in-HTTP-GET.patch (text/plain), 1.09 KB, created by
Ryan O'Hara
on 2012-09-17 20:18:14 UTC
(
hide
)
Description:
Only set timeout values when specified in HTTP GET method.
Filename:
MIME Type:
Creator:
Ryan O'Hara
Created:
2012-09-17 20:18:14 UTC
Size:
1.09 KB
patch
obsolete
>From 00ffcc90f28051f80efd12ffdc935fd18c67ee82 Mon Sep 17 00:00:00 2001 >From: Ryan O'Hara <rohara@redhat.com> >Date: Mon, 17 Sep 2012 12:30:16 -0500 >Subject: [PATCH] Only set timeout values when specified in HTTP GET method. > >Signed-off-by: Ryan O'Hara <rohara@redhat.com> >--- > web/web/secure/global_settings.php | 12 +++++++++--- > 1 files changed, 9 insertions(+), 3 deletions(-) > >diff --git a/web/web/secure/global_settings.php b/web/web/secure/global_settings.php >index e699849..6b71bbb 100644 >--- a/web/web/secure/global_settings.php >+++ b/web/web/secure/global_settings.php >@@ -86,9 +86,15 @@ > $PriLVSIP = $_SERVER['SERVER_ADDR']; > } > >- $prim['tcp_timeout'] = $_GET['tcp_timeout']; >- $prim['tcpfin_timeout'] = $_GET['tcpfin_timeout']; >- $prim['udp_timeout'] = $_GET['udp_timeout']; >+ if (isset($_GET['tcp_timeout'])) { >+ $prim['tcp_timeout'] = $_GET['tcp_timeout']; >+ } >+ if (isset($_GET['tcpfin_timeout'])) { >+ $prim['tcpfin_timeout'] = $_GET['tcpfin_timeout']; >+ } >+ if (isset($_GET['udp_timeout'])) { >+ $prim['udp_timeout'] = $_GET['udp_timeout']; >+ } > > // echo "Query = $QUERY_STRING"; > ?> >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 857917
:
613764
| 613770