Title:
this.timeout in Application.cfc is not properly setting the request timeout
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Bryce Holycross / Bryce Holycross (Bryce Holycross)
Created: 04/01/2015
Components: Language, CF Component
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final / 11,0,11,301867 , 2016.0.0.298074
Priority/Frequency: Normal / Unknown
Locale/System: English / Windows 7 64-bit
Vote Count: 2
Problem Description:
this.timeout in Application.cfc is not properly setting the request timeout
Steps to Reproduce:
1. CFAdmin setting: Timeout Requests after 30 seconds
2. <cfset this.timeout = 50 /> in Application.cfc
3. Run Index.cfm with the following code:
<cfset startTickCount = getTickCount() />
<cfset sleep(35000) />
<cfset endTickCount = getTickCount() />
<cfset seconds = (endTickCount - startTickCount)/1000 />
<cfoutput>#seconds#</cfoutput>
Actual Result:
A timeout occurs
Expected Result:
I should see "35" on the screen
With <cfsetting requesttimeout="50" /> in onRequestStart() in the Application.cfc I see "35" as expected when running Index.cfm
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3963559
External Customer Info:
External Company:
External Customer Name: Bryce
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
- June 21, 2016 00:00:00: 2_timout_test.zip
Comments: