[Mono-bugs] [Bug 626131] New: FastCGI sometimes errors while trying to retrieve request headers

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 27 17:54:14 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=626131

http://bugzilla.novell.com/show_bug.cgi?id=626131#c0


           Summary: FastCGI sometimes errors while trying to retrieve
                    request headers
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: novell at pasichnyk.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; MS-OC 4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; MS-RTC LM 8; Zune 4.0; .NET4.0C; .NET4.0E)

Likely from invalid headers being sent from client, but regardless there should
not be an exeception thrown when trying to read the Request headers.

Reproducible: Sometimes

Steps to Reproduce:
1. Request comes into webservice (with corrupted headers?)
2. Try to enumerate/read the header values
3.
Actual Results:  
Exception is thrown

Expected Results:  
header collection populates and can be used

Parameter name: length
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in
<filename unknown>:0
  at Mono.WebServer.FastCgi.WorkerRequest.ReformatHttpHeader (System.String
header) [0x00000] in <filename unknown>:0
  at Mono.WebServer.FastCgi.WorkerRequest.GetUnknownRequestHeaders () [0x00000]
in <filename unknown>:0
  at Mono.WebServer.FastCgi.WorkerRequest.GetKnownRequestHeader (Int32 index)
[0x00000] in <filename unknown>:0
  at System.Web.HttpRequest.get_UrlReferrer () [0x00000] in <filename
unknown>:0

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list