[Mono-bugs] [Bug 608261] New: HttpWebRequest with https uri and post field never completes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 24 08:49:38 EDT 2010


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

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


           Summary: HttpWebRequest with https uri and post field never
                    completes
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kasper_mand at yahoo.dk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=364113)
 --> (http://bugzilla.novell.com/attachment.cgi?id=364113)
Small test program

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.55 Safari/533.4

Hello Mono! I have not submitted any bugs before, and I am unsure if I am doing
it the right place, please bear over with me.

As the summery says, I have a problem when I use HttpWebrequest with a https
uri and have some post values in the entity body of the http request.

The request never completes - but mono seems to run a lot behind the scenes.

I am unable to test this on never versions of mono.

Reproducible: Always

Steps to Reproduce:
1. Create a HttpWebRequest to a Https URI
2. Add post parameters to the request body
3. Ask for response (call never completes)
Actual Results:  
Response is never fetched

Expected Results:  
The response should come in very fast

I have attached some test code. I have written it on Windows, compiled on
Windows,  moved to Debian, and ran it there. Here are the results:


foens@:~/test$ mono simpler.exe
Testing non-https
1. Uri: http://www.box.net/
2. request
3. method
4. encoding
5. contentlength
6. get entity body stream
7. write stream
8. get response
9. done
========================================================
========================================================
========================================================
Testing https
1. Uri: https://www.box.net/
2. request
3. method
4. encoding
5. contentlength
6. get entity body stream
7. write stream
8. get response
(nothing happens here)



foens@:~/test$ mono --version
Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2~bpo50+1)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

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


More information about the mono-bugs mailing list